用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/jmagly/aiwg --skill devkit-create-agent命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| namespace | aiwg |
| name | devkit-create-agent |
| platforms | ["all"] |
| description | Create a new agent with AI-guided expertise definition following the Agent Design Bible |
Create a new agent with AI assistance to define expertise, workflow, and capabilities.
Follows: Agent Design Bible - 10 Golden Rules for production-grade agents.
Research Foundation: REF-001 (Bandara et al.), REF-002 (Roig 2025) failure archetype prevention.
/devkit-create-agent <name> --to <target> [options]
| Argument | Required | Description |
|---|---|---|
| name | Yes | Agent name (kebab-case recommended) |
| Option | Description |
|---|---|
| --to | Target addon or framework |
| Option | Description |
|---|---|
| --template | Agent template: simple (default), complex, orchestrator |
| --interactive | Enable interactive mode with guided questions |
Templates are in ~/.local/share/ai-writing-guide/templates/agent-scaffolding/.
Single-purpose, focused agent with minimal structure (Rule 1: Single Responsibility).
Full reasoning agent with all safeguards including failure archetype prevention.
Multi-agent coordination with workflow patterns and agent assignment tables.
Read-only validation agent that doesn't modify state.
When --interactive is specified, I will ask:
# Simple agent
/devkit-create-agent code-reviewer --to aiwg-utils
# Complex domain expert
/devkit-create-agent security-auditor --to sdlc-complete --template complex
# Orchestrator agent
/devkit-create-agent deployment-coordinator --to sdlc-complete --template orchestrator --interactive
<target>/agents/<name>.md
---
name: agent-name
description: Agent description
model: claude-sonnet-4-6
tools: Read, Write, MultiEdit, Bash, WebFetch
---
# Agent Title
[Description]
## Expertise
[Domain knowledge]
## Responsibilities
[What the agent does]
## Workflow
[How it approaches tasks]
## Output Format
[Expected output structure]
aiwg add-agent <name> --to <target> --template <type>
After creation, validate against the Agent Design Bible:
aiwg lint agents <target>/agents/<name>.md --verbose
| Rule | Check |
|---|---|
| 1. Single Responsibility | One clear purpose, no "and" overload |
| 2. Minimal Tools | 0-3 tools, justified |
| 3. Explicit I/O | Inputs and outputs defined |
| 4. Grounding | Verify before acting (Archetype 1) |
| 5. Uncertainty | Escalate ambiguity (Archetype 2) |
| 6. Context Scope | Filter distractors (Archetype 3) |
| 7. Recovery | Handle errors (Archetype 4) |
| 8. Model Tier | Match task complexity |
| 9. Parallel Ready | Concurrent execution safe |
| 10. Observable | Traceable output |
/devkit-create-command - Create a slash command/devkit-create-skill - Create an auto-triggered skill/devkit-validate - Validate agent structureaiwg lint agents - Validate against 10 Golden Rules基于 SOC 职业分类