Commit graph

13 commits

Author SHA1 Message Date
507922bf55
add cy request anti pattern 2026-05-02 22:40:09 +03:00
5d6c9f7ec9
add llm anti-patterns to context files
name the LLM-default constructs this project forbids in
explicit before/after tables. catching the trap by pattern
match is more reliable than expecting a general rule to be
applied at write time. backend table covers PHP traps
(arrow fns, inline FQCNs, default params, stored refs, em
dashes, short names); frontend table covers JS/template/
cypress traps.
2026-05-02 22:15:23 +03:00
b07b1e2666
add session start protocol and pre-commit checklist
AGENTS.md gains a non-negotiable session start protocol that
forces reading the context files and checking the current
branch before any edits. shared.md gains a pre-commit
checklist covering branch/scope, code rules, mechanical
checks, and commit metadata. both additions exist because
this branch's history shows what happens when the rules are
treated as background information rather than active
checklists.
2026-05-02 22:14:54 +03:00
8b5767e6f4
add no default parameters rule
Forcing every call site to be explicit eliminates a class of bugs where an unintended default silently slips through. Codifies the convention already established by prior commits (cd40483, b41652a, 8eb0f23).
2026-05-01 10:04:32 +03:00
7ec91e3869
reformat ai files 2026-05-01 09:56:25 +03:00
2fe41a5fe7
no need to test concrete implementations 2026-04-26 10:23:57 +03:00
099883a13d
change em dashes to hyphen and add rule outlawing emdashes 2026-04-26 10:15:03 +03:00
40726c3984
loosen commit granularity rule in prompts
Replace the strict "one commit per file" guidance with grouping by
related changes, while keeping the small-and-focused intent. Add
explicit guidance on when to include a commit body and how to format
it (blank line separator, ~72 col wrap).

Applied to both backend and frontend prompt templates.
2026-04-26 10:11:23 +03:00
d4473d1ec4
add frontend ai prompt template 2026-04-23 09:54:10 +03:00
6cd3aff350
declare prompt template to be for backend dev 2026-04-23 09:47:56 +03:00
a3e4505d6d
update prompt template with project specific examples 2026-04-20 09:28:22 +03:00
921c1e6401
update prompt template 2026-04-19 22:50:05 +03:00
cb8c24d078
add prompt template 2026-04-15 10:09:42 +03:00