Implement programmer agent system and consolidate agent infrastructure

Programmer Agent System:
- Add programmer-orchestrator (Opus) for workflow coordination
- Add code-planner (Sonnet) for design and planning
- Add code-implementer (Sonnet) for writing code
- Add code-reviewer (Sonnet) for quality review
- Add /programmer command and project registration skill
- Add state files for preferences and project context

Agent Infrastructure:
- Add master-orchestrator and linux-sysadmin agents
- Restructure skills to use SKILL.md subdirectory format
- Convert workflows from markdown to YAML format
- Add commands for k8s and sysadmin domains
- Add shared state files (model-policy, autonomy-levels, system-instructions)
- Add PA memory system (decisions, preferences, projects, facts)

Cleanup:
- Remove deprecated markdown skills and workflows
- Remove crontab example (moved to workflows)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
OpenCode Test
2025-12-29 13:23:42 -08:00
parent 119d2a464e
commit 431e10b449
62 changed files with 3572 additions and 539 deletions

View File

@@ -0,0 +1,62 @@
name: validate-agent-format
description: Validate YAML frontmatter in all agent definition files
trigger:
- manual
inputs: {}
steps:
- name: scan-agent-files
description: Find all agent definition files
command: ls -1 ~/.claude/agents/*.md
- name: validate-frontmatter
description: Check each agent file for required YAML frontmatter
for_each: "{{ steps.scan-agent-files.output }}"
validation:
- name: has-frontmatter
check: "File starts with '---' delimiter"
required: true
- name: has-name-field
check: "YAML contains 'name:' field"
required: true
- name: has-description-field
check: "YAML contains 'description:' field"
required: true
- name: has-model-field
check: "YAML contains 'model:' field"
required: true
- name: has-tools-field
check: "YAML contains 'tools:' field"
required: true
- name: valid-model-value
check: "model value is one of: haiku, sonnet, opus"
required: true
- name: report-results
description: Generate validation report
output:
format: table
columns:
- file
- has_frontmatter
- has_name
- has_description
- has_model
- has_tools
- valid_model
- status
success_criteria:
- all_files_have_frontmatter: true
- all_required_fields_present: true
- all_model_values_valid: true
on_failure:
- report: List files with missing or invalid frontmatter
- suggest: Provide exact frontmatter template for each failing file