Skip to content

Latest commit

 

History

History
82 lines (55 loc) · 2.97 KB

File metadata and controls

82 lines (55 loc) · 2.97 KB

AI DevOps Framework - Developer Guide

Quick Reference

  • User Guide: .agents/AGENTS.md (deployed to ~/.aidevops/agents/)
  • Commands: ./setup.sh (deploy) | .agents/scripts/linters-local.sh (quality) | .agents/scripts/version-manager.sh release [major|minor|patch]
  • Config: Runtime-specific (see .agents/AGENTS.md "Runtime-Specific References")
  • Quality: .agents/prompts/build.txt

File Structure: TODO.md (tasks), todo/ (plans, PRDs), .agents/ (agents, tools, services, workflows, scripts).

Before extending: Read .agents/aidevops/architecture.md (design patterns, conventions, extension guide).

Two AGENTS.md Files

File Purpose Audience
~/Git/aidevops/AGENTS.md Development guide Contributors
~/Git/aidevops/.agents/AGENTS.md User guide Users of aidevops

The .agents/AGENTS.md is copied to ~/.aidevops/agents/AGENTS.md by setup.sh.

Development Lifecycle

See .agents/AGENTS.md "Development Lifecycle" for the full lifecycle. Completion self-check: see prompts/build.txt "Completion and quality discipline".

Contributing

See .agents/aidevops/ (architecture, setup) and .agents/tools/ (agent/MCP authoring) for framework development guidance:

File Purpose
.agents/tools/build-agent/build-agent.md Composing efficient agents
.agents/tools/build-agent/agent-review.md Reviewing and improving agents
.agents/tools/build-mcp/build-mcp.md MCP server development
.agents/tools/mcp-toolkit/mcporter.md MCP runtime toolkit (discover, call, generate CLIs)
.agents/aidevops/architecture.md Framework structure
.agents/aidevops/setup.md AI guide to setup.sh

Agent Design Principles

From tools/build-agent/build-agent.md:

  1. Instruction budget: ~50-100 max in root AGENTS.md
  2. Universal applicability: Every instruction relevant to >80% of tasks
  3. Progressive disclosure: Pointers to subagents, not inline content
  4. Code examples: Only when authoritative (use file:line refs otherwise)
  5. Self-assessment: Flag issues with evidence, complete task first

Security

Security rules: see prompts/build.txt. Additional contributor rule:

  • Use placeholders in examples, note secure storage location

Quality Workflow

# Before committing
.agents/scripts/linters-local.sh

# ShellCheck all scripts
find .agents/scripts/ -name "*.sh" -exec shellcheck {} \;

# Release new version
.agents/scripts/version-manager.sh release [major|minor|patch]

Self-Assessment Protocol

From tools/build-agent/build-agent.md:

  • Triggers: Observable failure, user correction, contradiction, staleness
  • Process: Complete task, cite evidence, check duplicates, propose fix
  • Duplicates: Always rg "pattern" .agents/ before adding instructions