Commit Graph

4 Commits

Author SHA1 Message Date
gnekt
4dfa03b9e2 Fix nested fenced code blocks in agent-template using tildes 2026-03-23 22:38:15 +01:00
gnekt
4d39e4f959 Fix reference paths in agent-template to use .claude/references/ prefix 2026-03-23 22:18:20 +01:00
gnekt
a126504582 Add first-run setup section to custom agent template and creation flow
Custom agents now have a "First Run Setup" section that defines what
the agent must do the very first time it is invoked: what questions
to ask the user, what config files or folders to create, and how to
detect that it has already been set up.

agent-template.md:
- New "First Run Setup" section between Core Responsibilities and
  Operational Rules, with subsections for detection, questions to
  ask, what to create, and post-setup behavior

architect.md:
- New Phase 4 "First Run Setup" in the conversational flow where
  the Architect asks the user what the agent should do on first run
- Previous Phase 4 (Advanced) becomes Phase 5
- Previous Phase 5 (Confirmation) becomes Phase 6
- Updated blocking rules to reference Phase 6
2026-03-23 22:09:20 +01:00
gnekt
590685d7df Add standardized template for custom agent creation
New file: references/agent-template.md

This is a reference document that the Architect reads when generating
custom agents. It defines the exact structure every agent must follow:
YAML frontmatter format, required sections (Language, User Profile,
Inter-Agent Coordination, Core Responsibilities, Operational Rules),
placeholder tokens, and inline conventions (naming rules, tool
permissions, multilingual triggers).

The template is not an agent itself. It is a structural guide that
ensures custom agents are generated with the same quality and
consistency as the core 8.
2026-03-23 22:07:58 +01:00