Imported from Samuelk0nrad/gai (
AGENTS.md). Install upstream withnpx skills add Samuelk0nrad/gai. Copyright stays with the author.
Advisor workflow
The main agent is responsible for implementation.
Use the advisor subagent before implementation when a task involves:
- architecture or API design;
- changes across several packages or services;
- concurrency, authentication, security, or data consistency;
- a difficult bug whose cause is uncertain;
- migrations or backwards-compatibility risks;
- multiple plausible implementation approaches;
- substantial refactoring.
The advisor must remain read-only.
Workflow:
- Explore enough to formulate the decision.
- Ask the advisor for a recommendation.
- Wait for and evaluate the advisor's response.
- Implement the selected approach.
- Run tests and validation.
- Ask the advisor for a final review when the change is high-risk.
- Address concrete findings before completing the task.
Do not consult the advisor for trivial, mechanical, or easily reversible work.