STOP - Read before ANY tool call
- Read
E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/rules/guardrails.md - Read
_shared/sdd-contracts/SESSION.md; load session-state for$Cwd - If the relevant gate is not approved: STOP - ask user (pt-BR) - do NOT Write/Shell
- SDD/develop skills: after ONE step/task, STOP session - handoff only
- This skill body is English; user-facing prompts may be (pt-BR)
Step -1 - Gate check (report in chat before continuing)
Gate check:
[ ] guardrails.mdc read
[ ] SESSION.md read; session-state loaded
[ ] User confirmed current action (sim)
-> If any unchecked: STOP
Trigger
Invoke when the user asks for: /angular-developer, angular fix, or small isolated Angular work that does not need a full PRD/PLAN cycle.
Outcome
Working Angular code and tests in the target workspace, validated with tests/build, on a valid feature branch, with optional /commit handoff. Does not replace SDD for multi-step or cross-repo features.
When to prefer SDD instead
Recommend /sdd-spec -> sdd-plan -> sdd-develop if two or more apply:
| Signal | Indicator |
|---|---|
| Layers | 3+ layers (features, shared libs, services, state) across many modules |
| API contracts | New or altered HTTP/API contracts shared across apps |
| Repos | Frontend and another repo or service |
| Integrations | New auth, messaging, or external SDKs |
| Size | 10+ files or estimated 4+ hours |
| PLAN exists | User already has an approved PLAN - use sdd-develop |
DESIGN-BRIEF acceptance
If docs/DESIGN-BRIEF.md or docs/design/DESIGN-BRIEF.md exists, treat it as the acceptance source. Map sections to Angular components/templates; do not reinterpret visual decisions. Implement one session scope from section 10 only.
If the task is net-new UI without a brief, recommend /impeccable shape in a new session before implementing.
Lazy-load (only when needed)
| When | Path (after scripts/sync-cursor.ps1) |
|---|---|
| Repo context | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/step-0-context.md |
| Before coding | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/step-0.5-review-guidelines.md |
| Branching | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/rules/branch-validation.mdc, E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/step-3-branching.md |
| Pre-commit | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/step-3.5-precommit-validation.md |
| Commit / PR | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/step-4-commits-pr.md, E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/rules/conventional-commits.mdc |
| Pre-PR gate | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/step-7-checklist.md |
| Design brief | docs/DESIGN-BRIEF.md or docs/design/DESIGN-BRIEF.md |
| Angular style / structure | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/style-and-structure.md |
| Angular standalone / templates | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/standalone-and-templates.md |
| Angular Signals / state | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/signals-and-state.md |
| Angular DI / routing / forms | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/di-routing-forms.md |
| Angular RxJS lifecycle | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/rxjs-lifecycle.md |
| Angular testing | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/testing.md |
| Angular delivery checklist | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/angular-guidelines/checklist.md |
| Frontend practices | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/frontend-guidelines/frontend-practices.md |
| FE structure (ARCH / CONTINUITY needs folder layout) | Prefer E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/frontend-guidelines/frontend-architecture.md — not a per-framework CA tree |
| Semantic HTML | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/semantic-html.md |
| a11y basics (HTML/CSS) | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/accessibility-basics.md |
| CSS foundations | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/css-foundations.md |
| Modern CSS | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/modern-css.md |
| SCSS | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/scss-guidelines.md |
| Inclusive components | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/inclusive-components.md |
| HTML/CSS checklist | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/html-css-guidelines/checklist.md |
| Principles | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/code-guidelines/principles/principles-cheatsheet.md (+ architecture-selection.md or one approved style — never glob architecture/**) |
| Subagent-first / SPAWN.md | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/developer-common/subagent-first.md, E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/agents/SPAWN.md |
| Caveman Mode (if active) | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/caveman/CAVEMAN.md - Full cap |
| Context pressure | E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/rules/context-management.mdc |
Do not preload unrelated guideline trees. Do not redesign angular-guidelines/ in this skill — load existing pack rows only.
Process
Step -1b - Caveman Mode (Full cap)
- Read
E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/sdd/preferences.json(create{ "caveman_mode": false, "caveman_level": "full" }if missing). - If
caveman_modeis false: continue without compression. - If true: load
E:/Source/Repos/agent-dev-toolkit/scripts/validation/fixtures/codex/plugin/skills/_shared/caveman/CAVEMAN.md; apply Full participation cap + prefscaveman_level(Lite skills never escalate); show once:[Caveman] Modo ativo (respostas compactas, level={effective}). Digite caveman off para desativar. - Honor
caveman on|off|status|lite|full|ultra(andstop caveman/normal mode) during the session. - Auto-Clarity + never-compress gates/drafts/paths per
CAVEMAN.md.
Subagent-first (before implement)
Classify complexity → consult capability subagents → if medium/complex and native: spawn ≤2 children (scoped paths + receipt); trivial stays in-parent; if subagents=none or Task unavailable → fallback in-parent (never hard-fail). Load SPAWN.md + subagent-first.md; do not paste guidelines into child prompts.
0. Workspace
Confirm Angular project (angular.json or @angular/core in package.json). Follow step-0-context.md. Summarize acceptance.
1. Guidelines (step 0.5)
Follow step-0.5-review-guidelines.md: load only required Angular/frontend guideline files for this task.
2. Branch (step 3)
Baseline from user or repo default. Create/checkout feature/<slug> or feat/<id> — never commit on main / master / develop.
3. Plan micro-steps
List 3-7 concrete tasks; checkpoint per context-management.mdc (>= 40% -> pause, offer /commit).
4. Implement
Components, services, RxJS patterns. Match existing module structure. Apply angular-guidelines/ while writing — do not paste full bodies into chat.
5. Tests
Jasmine/Karma (or project test runner) for changed behavior.
6. Build and test
ng test
ng build
(or project-equivalent scripts)
7. Pre-commit (step 3.5) and handoff
Run step-3.5-precommit-validation.md when appropriate. Offer /commit — do not commit automatically. Before push/PR, run step-7-checklist.md.
Must not
- Paste guideline packs into child prompts (pass scoped paths + require receipt only)
- Spawn children for trivial work (keep in-parent)
- Hard-fail when capability
subagentsisnoneor Task is unavailable (use fallback in-parent) - Redesign or rewrite the
angular-guidelines/pack in-session - Auto-commit or auto-PR
- Leave AI traces in code or identifiers
Handoff
| Situation | Next |
|---|---|
| Commit | /commit |
| Review | /code-review |
| Scope grew | /sdd-spec -> sdd-plan -> sdd-develop |
| Missing design brief | /impeccable shape (new session) |