Architecture agent creation

From diegosouzapw/awesome-omni-skill · View interactive version

Architecture agent creation is an AI agent skill from the GitHub repository diegosouzapw/awesome-omni-skill. Create specialized infrastructure agent definitions for platform/service management (Grafana, Prometheus, Traefik, ERPNext, etc.). Use when the user requests creation of an agent for a specific technology platform or infrastructure component. This skill produces complete agent prompts with integrate

How to use this skill

Skill file

Architecture Agent Creation

Overview

Create complete, production-ready agent definitions for infrastructure and platform management agents (Grafana, Prometheus, Traefik, ERPNext, n8n, Jupyter, etc.). Each agent definition includes:

  1. Agent prompt file (.claude/agents/<agent-name>.md) with YAML frontmatter
  2. Reference documentation (3 docs covering best practices, API/CLI reference, troubleshooting)
  3. Integration specifications (handoff protocols, Linear workflow position, delegation triggers)
  4. Tool requirements (MCP tools, CLI installation, credentials)

This skill is designed for the Linear-First Agentic Workflow framework where Traycer delegates to specialized agents following a 7-Phase TDD workflow.

When to Use This Skill

Use this skill when:

Trigger patterns:

NOT for:

Core Capabilities

1. Agent Definition Research

Research the target technology platform to understand:

Tools Used: WebFetch, WebSearch, official documentation, community resources

Output: Comprehensive research brief covering all aspects needed for agent creation

2. Agent Prompt Generation

Create complete agent prompt with sections:

Tools Used: Write tool to create agent prompt file

Output: Complete agent prompt file at .claude/agents/<agent-name>.md

3. Reference Documentation Creation

Generate 3 reference documents in docs/agents/<agent-name>/ref-docs/:

1. Best Practices Guide (600-800 words):

2. API/CLI Reference (600-800 words):

3. Troubleshooting Guide (600-800 words):

Tools Used: Write tool to create reference docs

Output: 3 reference markdown files with concrete, actionable examples

4. Integration Specification

Define how agent integrates into agentic workflow:

Delegation Triggers: Keywords/patterns that trigger agent from Traycer

Handoff Sources: Which agents delegate TO this agent

Handoff Targets: Which agents this agent delegates TO

Linear Workflow Position: Which phases (Research/Spec/QA/Action/Tracking) agent operates in

Linear Integration: MCP tool usage with project filtering examples

Tools Used: None (integrated into agent prompt)

Output: Integration notes section in agent prompt

Standard Operating Procedures

SOP-1: Create Infrastructure Agent from Scratch

Trigger: User requests "create an agent for [technology]"

Steps:

  1. Gather Requirements

```bash

# Confirm technology details with user

# - Technology name and version

# - Primary use case (what will agent manage?)

# - Integration points (which other agents will it work with?)

```

  1. Research Phase (15-20 minutes)
  1. Generate Agent Prompt (10-15 minutes)
  1. Create Reference Documentation (15-20 minutes)
  1. Add Integration Specifications (5 minutes)
  1. Validation Check

Output: Complete agent definition ready for use

Handoff: Report completion to Traycer with agent file paths

SOP-2: Update Existing Infrastructure Agent

Trigger: User requests "update [agent] to add [capability]"

Steps:

  1. Read Existing Agent Prompt

```bash

# Read current agent file

Read .claude/agents/<agent-name>.md

```

  1. Research New Capability
  1. Update Agent Prompt
  1. Update Reference Docs (if needed)
  1. Validation Check

Output: Updated agent definition

Handoff: Report changes to Traycer

Best Practices

DO:

DO NOT:

Workflow Position in 7-Phase TDD

This skill operates in:

Receives handoffs from:

Delegates to:

Typical flow:

  1. User → Traycer: "Create a Grafana agent"
  2. Traycer → Planning Agent: "Use architecture-agent-creation skill"
  3. Planning Agent (this skill):
  1. Planning Agent → Traycer: "Grafana agent created at .claude/agents/grafana-agent.md"

Resources

This skill includes reference materials demonstrating the expected output format:

references/

agent-prompt-template.md: Complete template showing all required sections for an infrastructure agent prompt. Based on the enriched Grafana agent prompt with all corrections baked in. Use this as the blueprint for all new agent definitions.

research-checklist.md: Systematic checklist of research areas to cover when creating a new agent. Ensures no critical information is missed during the research phase.

agent-definition-schema.md: Formal schema defining all sections, required content types, word counts, and validation criteria for complete agent definitions.

assets/

No assets required for this skill - output is markdown text files.

scripts/

No scripts required - skill uses built-in tools (Read, Write, WebFetch, WebSearch).

Quality Standards

Agent Prompt Quality

Length: 1,200-1,500 words minimum

Required Sections (all must be present):

Content Standards:

Reference Documentation Quality

Length: 600-800 words per document (3 docs total: 1,800-2,400 words)

Content Standards:

Example Output Structure

.claude/agents/grafana-agent.md         # Main agent prompt (1,200-1,500 words)
docs/agents/grafana-agent/
└── ref-docs/
    ├── grafana-best-practices.md       # Best practices (600-800 words)
    ├── grafana-api-reference.md        # API/CLI reference (600-800 words)
    └── grafana-troubleshooting.md      # Troubleshooting (600-800 words)

Integration with Agentic Workflow

Trigger Keywords (from Traycer):

Linear Workflow:

Handoff Protocol:

Common Pitfalls

Pitfall 1: Placeholder Content

Pitfall 2: Generic Descriptions

Pitfall 3: Outdated Version Info

Pitfall 4: Missing Linear MCP Filtering

Pitfall 5: Vague Retry Strategy

Pitfall 6: No Security Section

Validation Checklist

Before marking agent complete, verify:

Technical Notes

Tool Requirements:

No MCP servers required - This skill uses built-in Claude Code tools only.

Output Format: All files are GitHub-flavored Markdown with YAML frontmatter (for agent prompts).

File Naming Convention:

Target Audience: The agent prompts are written for Claude instances (not humans), so use imperative/infinitive form ("Create dashboard", "Test connection") rather than second person ("You should create").

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.