You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Reuse existing repository patterns before introducing new abstractions.
51
-
- Read existing source and tests before editing.
52
-
- Run `npm run lint:lib` and the relevant test suite before considering work complete.
59
+
- Read the original request, existing source, and existing tests before editing.
60
+
- Read the relevant skill file before modifying component code.
61
+
- If a skill points to reference files, read the relevant reference files before editing.
62
+
- If the task changes behavior or fixes a bug, write or update failing tests before production code.
63
+
- Reuse the existing spec structure whenever possible.
64
+
- Run the smallest relevant test suite and `npm run lint:lib` before considering work complete.
65
+
- Run additional checks when applicable, such as `npm run lint:styles`, `npm run test:styles`, `npm run test:schematics`, `npm run build:migrations`, or i18n-specific checks.
53
66
- Export new public symbols from `<component>/index.ts`.
- Add JSDoc with `@param`, `@returns`, and `@example` on every new public member.
70
+
- Treat SCSS, theme wiring, and style-test work as dedicated theming/styles follow-through, and validate it with the relevant style checks when needed.
57
71
- Add or update `ng update` migrations for true breaking changes such as removals, renames, moved entry points, selector changes, or incompatible default-behavior changes.
58
-
- Update the component `README.md` when the public API surface changes.
59
-
- Update relevant Agent skills if a change is significant and/or you need to tell other agents how to use the newly introduced feature.
72
+
- Update the component `README.md` when public API, documented usage, or documented behavior changes, including new features, renamed or deprecated API, and behavior changes.
60
73
- Consider demo/sample updates in `src/app/` only for explicitly requested user-visible changes.
61
-
- Update `CHANGELOG.md` for new features, deprecations, breaking changes, and notable user-visible fixes when they fit the existing changelog section structure.
74
+
- Update `CHANGELOG.md` for new features, deprecations, breaking changes, behavioral changes, and notable user-visible fixes when they fit the existing changelog section structure.
75
+
- Update relevant Agent skills if a change is significant and/or you need to tell other agents how to use the newly introduced feature.
62
76
63
77
### Never
64
78
65
-
- Skip steps in the implementation.
79
+
- Skip steps in the implementation.
66
80
- Commit secrets, tokens, or credentials.
67
81
- Introduce `eval()` or dynamic code execution.
68
82
- Modify `package.json`, `package-lock.json`, or any other dependency manifest or lock file. If a dependency change appears truly necessary, ask for approval first. Never commit `package-lock.json` unless you have been explicitly approved to make dependency changes — committing unintended lock file changes can break builds.
@@ -107,23 +121,28 @@ Domain-specific knowledge for AI assistants:
107
121
108
122
## Custom Agents
109
123
110
-
Feature implementation is handled by a set of specialized agents in `.github/agents/`:
124
+
The repository provides a set of agents in `.github/agents/`. Orchestrators analyze requests, define scope, and route work to the right specialists; they do not implement code directly. Specialists handle focused implementation and follow-through tasks.
111
125
112
-
| Agent | File | Purpose |
113
-
|---|---|---|
114
-
|`feature-orchestrator-agent`|`feature-orchestrator-agent.md`| Orchestrates end-to-end feature implementation via TDD |
115
-
|`bug-fixing-orchestrator-agent`|`bug-fixing-orchestrator-agent.md`| Orchestrates end-to-end bug fixing via TDD |
116
-
|`tdd-test-writer-agent`|`tdd-test-writer-agent.md`| Writes failing tests (RED phase) for features and bug fixes |
117
-
|`feature-implementer-agent`|`feature-implementer-agent.md`| Implements features and refactors (GREEN + REFACTOR phases) |
118
-
|`bug-fixing-implementer-agent`|`bug-fixing-implementer-agent.md`| Implements the minimum bug fix (GREEN phase) |
|`demo-sample-agent`|`demo-sample-agent.md`| Updates existing demo/sample areas in `src/app/` when a demo is explicitly requested for a user-visible feature or bug fix |
121
-
|`component-readme-agent`|`component-readme-agent.md`| Updates affected component `README.md` files for public API and documented behavior changes |
122
-
|`migration-agent`|`migration-agent.md`| Creates `ng update` migration schematics for breaking changes |
123
-
|`changelog-agent`|`changelog-agent.md`| Updates `CHANGELOG.md` following repo conventions |
124
-
125
-
Feature and bug orchestrators route work in this order:
|`feature-orchestrator-agent`| Orchestrator |`feature-orchestrator-agent.md`| Analyzing feature requests, defining scope, deciding which specialists are needed, and routing the work. Does not implement code directly. |
129
+
|`bug-fixing-orchestrator-agent`| Orchestrator |`bug-fixing-orchestrator-agent.md`| Analyzing bug reports, confirming likely scope and root-cause direction, deciding which specialists are needed, and routing the work. Does not implement code directly. |
130
+
|`tdd-test-writer-agent`| Specialist |`tdd-test-writer-agent.md`| Writing small failing tests before production code for features and bug fixes |
131
+
|`feature-implementer-agent`| Specialist |`feature-implementer-agent.md`| Implementing a feature or feature-side refactor after scope and tests are clear |
132
+
|`bug-fixing-implementer-agent`| Specialist |`bug-fixing-implementer-agent.md`| Implementing the minimum safe bug fix once reproduction and root cause are known |
|`demo-sample-agent`| Specialist |`demo-sample-agent.md`| Updating existing `src/app/` demo/sample areas for explicitly requested user-visible changes |
135
+
|`component-readme-agent`| Specialist |`component-readme-agent.md`| Updating affected component `README.md` files when public API or documented behavior changes |
|`changelog-agent`| Specialist |`changelog-agent.md`| Updating `CHANGELOG.md` for notable user-visible changes |
138
+
139
+
These agents are available as specialized helpers for repository work. Select and use the relevant subagent when it adds clarity, specialization, or better task separation, but do not treat subagent use as mandatory — an agent may decide to handle the work directly as long as it follows the same repository workflow, standards, and validation steps.
140
+
141
+
## Workflow
142
+
143
+
### Standard default flow
144
+
145
+
TDD (write or update failing tests first) → feature implementation or bug-fix implementation → theming/styles follow-through (only when the change affects SCSS, theme wiring, or style-test validation) → demo/sample update (only if explicitly requested) → component README update (when needed) → migration (for breaking changes) → changelog update (when needed).
0 commit comments