con un clic
audit-library
Guidance for auditing AWS Coworker's agents, skills, and commands
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Guidance for auditing AWS Coworker's agents, skills, and commands
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
**AWS Coworker Development Guardrails** - MANDATORY when extending or modifying AWS Coworker itself. TRIGGERS (use this skill when ANY of these apply): - User asks to add new skills, agents, or commands to AWS Coworker - User asks to modify existing AWS Coworker components - User asks about AWS Coworker architecture or design - User wants to add support for new AWS services - Discussion involves directory structure or file organization - User mentions "extending", "customizing", or "adding to" AWS Coworker - Creating or modifying files in: skills/, .claude/agents/, .claude/commands/, config/ NOT for: Using AWS Coworker to interact with AWS (that's CLAUDE.md's domain)
Canonical AWS CLI patterns for discover, plan, deploy, validate, and rollback
AWS Well-Architected Framework alignment for planning and review
Organization governance policies - never do, always do, and compliance rules
Git and GitHub best practices for AWS Coworker change management
Multi-account and OU strategy, landing zone patterns, and workload placement
| name | audit-library |
| description | Guidance for auditing AWS Coworker's agents, skills, and commands |
| version | 1.0.0 |
| category | meta |
| agents | ["aws-coworker-meta-designer"] |
| tools | ["Read","Glob","Grep"] |
This meta-skill provides guidance for auditing AWS Coworker's library of agents, skills, and commands. Use it to identify issues, inconsistencies, and improvement opportunities within the framework itself.
skill-designer)command-designer)Collect complete inventory of AWS Coworker components:
# List all agents
ls -la .claude/agents/
# List all commands
ls -la .claude/commands/
# List all skills
find skills/ -name "SKILL.md" -type f
# Count components
echo "Agents: $(ls .claude/agents/*.md 2>/dev/null | wc -l)"
echo "Commands: $(ls .claude/commands/*.md 2>/dev/null | wc -l)"
echo "Skills: $(find skills/ -name 'SKILL.md' | wc -l)"
Verify each component meets structural requirements.
For each agent in .claude/agents/:
| Check | Criteria | Severity |
|---|---|---|
| File exists | .md file present | Critical |
| Identity section | Clear role statement | High |
| Purpose section | Defined responsibilities | High |
| Scope section | In/out of scope defined | High |
| Tools section | Allowed tools listed | High |
| Behavior section | Guidelines documented | Medium |
For each skill in skills/:
| Check | Criteria | Severity |
|---|---|---|
| SKILL.md exists | Main file present | Critical |
| Valid frontmatter | YAML parses correctly | Critical |
| Required fields | name, description, version, category, agents, tools | High |
| Purpose section | Clear explanation | High |
| When to Use | Scenarios listed | High |
| When NOT to Use | Exclusions listed | Medium |
| Guidance section | Actionable content | High |
For each command in .claude/commands/:
| Check | Criteria | Severity |
|---|---|---|
| File exists | .md file present | Critical |
| Valid frontmatter | YAML parses correctly | Critical |
| Required fields | description, skills, agent, tools | High |
| Workflow section | Steps defined | High |
| Prerequisites | Requirements listed | Medium |
| Output section | Expected results described | Medium |
Evaluate content quality across components.
Pattern: aws-coworker-{role|action}
✅ aws-coworker-planner
✅ aws-coworker-plan-interaction
❌ planner (missing prefix)
❌ aws-coworker_planner (underscore)
❌ AWSCoworkerPlanner (wrong case)
Verify all references are valid:
| Aspect | Good | Needs Improvement |
|---|---|---|
| Clarity | Specific, actionable | Vague, unclear |
| Completeness | All sections filled | Missing sections |
| Examples | Concrete, tested | Abstract or missing |
| Formatting | Consistent markdown | Inconsistent |
Check alignment with AWS Coworker governance:
skills/org/Identify overlapping or duplicated functionality:
Look for skills that cover similar ground:
Questions to ask:
- Do multiple skills address the same AWS service?
- Are there redundant patterns across skills?
- Could skills be merged or split?
Look for commands with similar workflows:
Questions to ask:
- Do multiple commands achieve similar outcomes?
- Are there redundant approval patterns?
- Could commands share more common steps?
Identify missing coverage:
Compare against major AWS services:
Core Services:
- [ ] IAM
- [ ] Organizations
- [ ] VPC / Networking
- [ ] EC2
- [ ] ECS / EKS
- [ ] Lambda
- [ ] S3
- [ ] RDS / DynamoDB
- [ ] CloudFormation / CDK
- [ ] CloudWatch / CloudTrail
Compare against common operations:
Standard Workflows:
- [ ] Discovery / inventory
- [ ] Planning
- [ ] Non-prod execution
- [ ] Prod change preparation
- [ ] Rollback
- [ ] Account bootstrap
- [ ] Security audit
- [ ] Cost review
# AWS Coworker Audit Report
**Date:** YYYY-MM-DD
**Auditor:** [Name/Agent]
**Scope:** [Full/Partial - specify]
## Executive Summary
[2-3 sentence overview of findings]
## Inventory
| Component | Count | Status |
|-----------|-------|--------|
| Agents | X | ✅/⚠️/❌ |
| Skills | X | ✅/⚠️/❌ |
| Commands | X | ✅/⚠️/❌ |
## Critical Findings
[Issues that must be addressed]
### Finding 1: [Title]
- **Severity:** Critical
- **Component:** [Name]
- **Issue:** [Description]
- **Recommendation:** [Action]
## High Priority Findings
[Issues that should be addressed soon]
## Medium Priority Findings
[Issues to address when convenient]
## Low Priority Findings
[Minor improvements]
## Gap Analysis
### Missing Coverage
- [Gap 1]
- [Gap 2]
### Recommendations
- [Recommendation 1]
- [Recommendation 2]
## Action Items
| Priority | Item | Owner | Due |
|----------|------|-------|-----|
| Critical | [Action] | [Who] | [When] |
| High | [Action] | [Who] | [When] |
## Next Audit
Recommended: [Date or trigger]
| Severity | Definition | Response Time |
|---|---|---|
| Critical | Broken functionality, security issue | Immediate |
| High | Missing required content, significant gaps | Within 1 week |
| Medium | Quality issues, minor gaps | Within 1 month |
| Low | Improvements, nice-to-haves | Backlog |
These checks can be automated:
# Check all skills have valid frontmatter
for skill in $(find skills/ -name "SKILL.md"); do
# Validate YAML frontmatter
head -50 "$skill" | grep -A 20 "^---" | head -n -1 | tail -n +2
done
# Check all commands reference existing skills
for cmd in .claude/commands/*.md; do
# Extract skills from frontmatter
# Verify each exists in skills/
done
# Check naming conventions
ls .claude/agents/ | grep -v "^aws-coworker-"
ls .claude/commands/ | grep -v "^aws-coworker-"
These require human judgment:
| Trigger | Scope |
|---|---|
| Weekly | Quick inventory check |
| Monthly | Full structural audit |
| After major changes | Affected components |
| Before releases | Full audit |
| On-demand | As issues arise |
skill-designer — For creating skills identified as gapscommand-designer — For creating commands identified as gapsgit-workflow — For managing audit-driven changes