OpenWriterControle/.opencode/context/system-builder-templates/README.md
darrenhinde e524ba6ded feat: add system builder and reorganize project structure
New Features:
- Add system-builder agent for generating custom AI systems
- Add 5 new subagents for system building:
  - domain-analyzer: Analyzes domains and recommends architectures
  - agent-generator: Generates XML-optimized agent files
  - context-organizer: Organizes modular context files
  - workflow-designer: Designs workflow definitions
  - command-creator: Creates custom slash commands
- Add build-context-system command for interactive system generation
- Add system builder templates and guide

Project Reorganization:
- Move GITHUB_SETTINGS.md to docs/github/
- Move AGENT-SYSTEM-BLUEPRINT.md to docs/features/
- Move CODE_OF_CONDUCT.md to docs/contributing/
- Move CONTRIBUTING.md to docs/contributing/
- Consolidate documentation in docs/ directory

Registry Updates:
- Add system-builder agent to registry
- Add 5 new subagents to registry
- Add build-context-system command to registry
- Update advanced profile to include system builder components

This enables users to generate complete custom AI systems tailored to their domain through an interactive interview process.
2025-11-18 14:00:35 +00:00

64 lines
2.1 KiB
Markdown

# System Builder Templates
This directory contains reusable templates for generating context-aware AI systems.
## Template Categories
### Agent Templates
- `orchestrator-template.md` - Main coordinator agent pattern
- `subagent-template.md` - Specialized subagent pattern
- `research-agent-template.md` - Research/information gathering pattern
- `validation-agent-template.md` - Quality assurance pattern
- `processing-agent-template.md` - Data transformation pattern
### Context Templates
- `domain-knowledge-template.md` - Domain concept documentation
- `process-workflow-template.md` - Process/workflow documentation
- `standards-template.md` - Quality and validation standards
- `template-pattern-template.md` - Reusable output templates
### Workflow Templates
- `simple-workflow-template.md` - Linear 3-5 stage workflow
- `moderate-workflow-template.md` - Multi-step with decisions
- `complex-workflow-template.md` - Multi-agent coordination
### Command Templates
- `simple-command-template.md` - Single parameter command
- `parameterized-command-template.md` - Multi-parameter with flags
### Documentation Templates
- `readme-template.md` - System overview README
- `architecture-template.md` - Architecture documentation
- `testing-template.md` - Testing checklist
- `quickstart-template.md` - Quick start guide
## Usage
These templates are used by the system-builder subagents to generate consistent,
high-quality files following research-backed patterns.
Each template includes:
- XML structure with optimal component ordering
- Placeholder markers for customization
- Example content
- Validation criteria
- Best practices
## Template Variables
Templates use these variable patterns:
- `{domain}` - Domain name
- `{agent_name}` - Agent name
- `{purpose}` - Purpose description
- `{workflow_name}` - Workflow name
- `{context_file}` - Context file reference
## Quality Standards
All templates follow:
- Stanford/Anthropic XML research patterns
- Optimal component ordering (context→role→task→instructions)
- Hierarchical context structure
- @ symbol routing for subagents
- 3-level context allocation
- Validation gates and checkpoints