Technical Stack, Architectural Decisions, and Development Conventions
Last Updated: November 15, 2025 | Version: 2.6.0
Languages:
- Markdown: Agent definitions, documentation, prompts
- YAML: Frontmatter, configuration, workflows
- JSON: Indexes, metadata, analytics
- Bash: Installation scripts, automation
- Python: Validation scripts, analysis tools
Platforms:
- Claude Code: Primary platform for agents and skills
- GitHub: Repository hosting, releases, community
- Node.js: (Planned) CLI tooling
- React: (Planned) Web dashboard
Decision: Use YAML frontmatter in Markdown files for agent configuration
Rationale:
- Human-readable and editable
- Combines metadata with content
- Standard in static site generators
- Easy to parse programmatically
Consequences:
- ✅ Easy to edit and maintain
- ✅ Single file per agent
⚠️ Installer must parse YAML (not native JSON)
Status: Accepted | Date: November 2025
Decision: Organize agents by professional team categories (not technical domains)
Rationale:
- Matches real organizational structure
- Easier for teams to find relevant agents
- Color-coding aids visual navigation
- Scalable to 200+ agents
Consequences:
- ✅ Intuitive navigation for business users
- ✅ Clear ownership and maintenance
⚠️ Some agents could fit multiple categories
Status: Accepted | Date: November 2025
Decision: Skills (auto) → Agents (manual) → Commands (orchestration)
Rationale:
- Skills: Lightweight, automatic detection
- Agents: Deep expertise, manual invocation
- Commands: Multi-agent workflows
- Clear separation of concerns
Consequences:
- ✅ Optimal user experience
- ✅ Clear integration patterns
- ✅ Scalable architecture
Status: Accepted | Date: September 2025
Decision: Assign specific colors to each team category
Rationale:
- Visual identification
- Branding consistency
- Accessibility (with emojis backup)
- Professional appearance
Colors Chosen:
- Engineering: Blue (#3B82F6) - Trust, technical
- Design: Magenta (#EC4899) - Creative, innovative
- Marketing: Green (#10B981) - Growth, action
- Product: Purple (#8B5CF6) - Strategic, premium
- Leadership: Gold (#F59E0B) - Executive, value
- Operations: Teal (#14B8A6) - Efficient, balanced
- Research: Orange (#F97316) - Discovery, energy
- AI/Automation: Indigo (#6366F1) - Intelligence, future
- Account/CS: Cyan (#06B6D4) - Communication, trust
- Core: Gold (#FFD700) - Premium, essential
Status: Accepted | Date: November 2025
Decision: Use claude-opus-4 for all subagents
Rationale:
- Consistent performance and capabilities
- Easier maintenance
- Predictable behavior
- Future-proof
Consequences:
- ✅ Uniform quality
- ✅ Easier updates
⚠️ Higher cost than mixed models (acceptable trade-off)
Status: Accepted | Date: November 2025
Agents: {agent-name}/agent.md (kebab-case)
Skills: {skill-name}/SKILL.md (kebab-case)
Commands: {category}/{command-name}.md (kebab-case)
Standards: {category}/{standard-name}.md (kebab-case)
Required Fields (9):
- name, description, category, team, color
- tools, model, enabled, capabilities
Standardization:
- Always use double quotes for strings
- Arrays in bracket notation
- 4-capability minimum
- max_iterations: 50 default
Pattern: {component}/{category}/{subcategory}/{name}/
Examples:
subagents/engineering/backend/backend-architect/skills/security/secret-scanner/commands/workflow/review/
- Minimum: 7.0/10 (for new agents)
- Target: 8.0/10 (preferred)
- Excellence: 9.0/10+ (core agents)
- Overall: 9.7/10 (v2.6.0)
- Core Agents: 8.5/10
- Engineering: 8.4/10
- Design: 8.0/10 (improved from 4.0)
- Others: 6.0-6.5/10
All Agents Must Pass:
- YAML frontmatter (100% valid)
- Content structure (required sections)
- Organization (correct category/subcategory)
- Cross-references (all links work)
New Agent:
- Choose category and subcategory
- Use template from TECHNICAL-REFERENCE.md
- Fill YAML frontmatter (11 fields)
- Write content (Focus Areas, Approach, Output, Examples)
- Validate (run validation script)
- Submit PR (minimum 7.0/10 quality)
New Skill:
- Define purpose and triggers
- Create SKILL.md with frontmatter
- Implement detection logic
- Add agent integration
- Test activation and suggestions
New Command:
- Define purpose and agents to orchestrate
- Create command.md with frontmatter
- Implement orchestration logic
- Add safety gates and validation
- Create examples and tests
New Standard:
- Research best practices
- Create standard markdown
- Define enforcement rules
- Map to validator agents
- Add to /enforce-standard
File saved → Skill detects issue → Suggests specific agent
Example: performance-monitor → @performance-tuner with issue context
Agent invoked → Calls relevant skills first → Builds on findings
Example: @security-auditor → Invokes security skills → Deep analysis
Command executed → Orchestrates agents → Agents use skills → Consolidated output
Example: /audit → @security-auditor (uses skills) → Security report
/enforce-standard → Loads standard → Invokes validator agent → Reports violations
Example: /enforce-standard --type typescript → @typescript-pro → Violations + fixes
- Skills layer introduction
- 8 autonomous background helpers
- 3-tier architecture (skills → agents → commands)
- Agent reorganization and extension
- 141 agents (8 core + 133 subagents)
- 10 color-coded categories
- Professional organization
- Quality: 7.1/10
- Quality improvements
- Design category transformation (4.0 → 8.0/10)
- 12 usage examples added
- 9 agents with standard sections
- 2 core agents with best practices
- Cross-team collaboration guide
- Quality: 9.7/10
- Complete ecosystem integration
- 20+ skills, 15+ commands
- 30+ enforced standards
- 40+ specialized prompts
- Community marketplace
- Target: Industry-standard utility
November 15, 2025:
- Consolidated 21 docs → 2 guides + archive
- Created ecosystem roadmap (16-week plan)
- Identified installer metadata fix as P0
November 15, 2025 (earlier):
- Renamed core agents for clarity
- Merged duplicate agents
- Migrated all 133 subagents
- Achieved 9.7/10 quality
Current Focus: Phase 1 - Foundation Enhancement
This Week:
- Create memory bank ✅ (in progress)
- Fix installer metadata
- Generate machine-readable indexes
- Create /discover-agent command
This Month:
- Complete Phase 1 (8 skills, 3 commands, 6 standards)
- Begin Phase 2 (ecosystem integration)
Maintained By: Alireza Rezvani AI Assistant: Claude (Anthropic) Repository: https://github.com/alirezarezvani/claude-code-tresor License: MIT