← ClaudeAtlas

markerslisted

Use this skill whenever you need the exact format, lifecycle, or strict rules for the agile-team-v2 code markers — `// AC: <criterion>` + `// TODO(impl-<feature-slug>, ac-<NNN>)` + `panic("not implemented")` (inlined by the architect during scaffolding above each scaffolded function body that maps to an acceptance criterion) and `// SCENARIO: <narrative>` + `// TODO(impl-<feature-slug>, scenario-<NNN>)` + `t.Skip("not implemented")` (inlined by the PM in passe 2 inside business test skeletons under `pm_test_territories`). Covers the strict marker format that `check.sh` enforces (kebab-case feature-slug, three-digit zero-padded NNN, exact `ac-` or `scenario-` prefix), the `pm_test_territories` glob block declared in `.architecture/CONVENTIONS.md` (where `// SCENARIO:` markers may live), the seven-step marker lifecycle (architect scaffolds → PM passe 2 ��� red → green → e2e-tester → reviewer pass 2 → TODO removed when feature done while `// AC:` stays as permanent record), and the marker-based task lookup procedu
JLugagne/claude-skills · ★ 0 · Code & Development · score 72
Install: claude install-skill JLugagne/claude-skills
# Code markers The intent of every feature in agile-team-v2 lives in two marker conventions, declared in `.architecture/CONVENTIONS.md`. They are the contract between agents — replacing the v1 prose intermediaries (TASK.md, TASK-red.md, TASK-green.md, SCAFFOLD.md). --- ## `// AC:` — Acceptance Criterion Inlined by the **architect** during scaffolding, immediately above each scaffolded function body that maps to an acceptance criterion derived from the user journey. ```go // AC: <one-line description of the criterion> // TODO(impl-<feature-slug>, ac-<NNN>) func (s *LoginService) Authenticate(ctx context.Context, c Credentials) (Session, error) { panic("not implemented: auth-login/Authenticate") } ``` - `<feature-slug>` matches the directory under `.features/<slug>/`. - `<NNN>` is local to the feature, zero-padded to three digits, starting at `001`. - Numbering is **stable** for the feature's lifetime — never re-number, even after deletes. For purely structural symbols (DTOs, error vars, enums) that do not represent a user-observable acceptance criterion, do not inline `// AC:` — minimal godoc only. --- ## `// SCENARIO:` — User-journey scenario Inlined by the **PM in passe 2** (skipped if `mechanical: true`), inside business test skeletons that the architect scaffolded under `pm_test_territories`. ```go func TestLogin_ValidCredentials(t *testing.T) { // SCENARIO: Marie logs in with valid credentials and lands on her dashboard // TODO(impl-auth-login, scen