portable/compound-engineering/skills/agent-native-audit/SKILL.md
Run a comprehensive scored audit of agent-native architecture principles
npx skillsauth add the-rabak/compound-engineering-plugin agent-native-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Run a comprehensive review of a codebase against agent-native architecture principles, split the work into scored principle-specific audit tracks, and produce a prioritized summary report.
Announce at start: "I'm using the agent-native-audit skill to run a scored agent-native architecture review."
First, invoke agent-native-architecture to refresh the local vocabulary, principles, checklist, and anti-patterns used in this plugin.
Focus especially on:
Use the local skill name directly. Do not rely on Every-specific namespaced invocations.
If $ARGUMENTS names a single principle, audit only that principle.
Otherwise, audit all 8 principles.
When auditing a plugin, CLI, or developer-tooling codebase, map "user actions" and "UI" broadly:
Launch up to 8 parallel audit tracks using the platform's task/subagent tool.
Task with subagent_typetask with agent_typePrefer discovery-oriented agents for evidence gathering and stronger review agents for synthesis when available. In this plugin, agent-native-reviewer, architecture-strategist, explore, and general-purpose are all reasonable choices depending on platform and available agents.
Each audit track should:
X/Y formatAudit for ACTION PARITY - "Whatever the user can do, the agent can do."
Tasks:
Format:
## Action Parity Audit
### User Actions Found
| Action | Location | Agent Equivalent | Status |
|--------|----------|------------------|--------|
### Score: X/Y (percentage%)
### Missing Agent Capabilities
### Recommendations
Audit for TOOLS AS PRIMITIVES - "Tools provide capability, not behavior."
Tasks:
Format:
## Tools as Primitives Audit
### Tool Analysis
| Surface | File | Type | Reasoning |
|---------|------|------|-----------|
### Score: X/Y (percentage%)
### Workflow-Heavy Surfaces
### Recommendations
Audit for CONTEXT INJECTION - "System prompt includes dynamic context about app state."
Tasks:
Format:
## Context Injection Audit
### Context Types Analysis
| Context Type | Injected? | Location | Notes |
|--------------|-----------|----------|-------|
### Score: X/Y (percentage%)
### Missing Context
### Recommendations
Audit for SHARED WORKSPACE - "Agent and user work in the same data space."
Tasks:
Format:
## Shared Workspace Audit
### Data Space Analysis
| Data Space | User Access | Agent Access | Shared? |
|------------|-------------|--------------|---------|
### Score: X/Y (percentage%)
### Isolated State (anti-pattern)
### Recommendations
Audit for CRUD COMPLETENESS - "Every important entity has full CRUD."
Tasks:
Format:
## CRUD Completeness Audit
### Entity CRUD Analysis
| Entity | Create | Read | Update | Delete | Score |
|--------|--------|------|--------|--------|-------|
### Overall Score: X/Y entities with full CRUD (percentage%)
### Incomplete Entities
### Recommendations
Audit for UI INTEGRATION - "Agent actions are reflected in the product experience."
Tasks:
Format:
## UI Integration Audit
### Agent Action -> User Visibility Analysis
| Agent Action | Surface Update Mechanism | Immediate? | Notes |
|--------------|--------------------------|------------|-------|
### Score: X/Y (percentage%)
### Silent Actions
### Recommendations
Audit for CAPABILITY DISCOVERY - "Users can discover what the agent can do."
Tasks:
Format:
## Capability Discovery Audit
### Discovery Mechanism Analysis
| Mechanism | Exists? | Location | Quality |
|-----------|---------|----------|---------|
### Score: X/Y (percentage%)
### Missing Discovery Paths
### Recommendations
Audit for PROMPT-NATIVE FEATURES - "Features are prompts defining outcomes, not code."
Tasks:
Format:
## Prompt-Native Features Audit
### Feature Definition Analysis
| Feature | Defined In | Type | Notes |
|---------|------------|------|-------|
### Score: X/Y (percentage%)
### Code-Defined Behaviors
### Recommendations
After all audit tracks finish, compile a single report:
## Agent-Native Architecture Review: [Project Name]
### Overall Score Summary
| Core Principle | Score | Percentage | Status |
|----------------|-------|------------|--------|
| Action Parity | X/Y | Z% | ✅/⚠️/❌ |
| Tools as Primitives | X/Y | Z% | ✅/⚠️/❌ |
| Context Injection | X/Y | Z% | ✅/⚠️/❌ |
| Shared Workspace | X/Y | Z% | ✅/⚠️/❌ |
| CRUD Completeness | X/Y | Z% | ✅/⚠️/❌ |
| UI Integration | X/Y | Z% | ✅/⚠️/❌ |
| Capability Discovery | X/Y | Z% | ✅/⚠️/❌ |
| Prompt-Native Features | X/Y | Z% | ✅/⚠️/❌ |
**Overall Agent-Native Score: X%**
### Status Legend
- ✅ Excellent (80%+)
- ⚠️ Partial (50-79%)
- ❌ Needs Work (<50%)
### Top 10 Recommendations by Impact
| Priority | Action | Principle | Effort |
|----------|--------|-----------|--------|
### What's Working Excellently
[List top 5 strengths]
X/Y formatIf $ARGUMENTS specifies a single principle, run only that audit track and provide detailed findings for that principle.
Valid arguments:
action parity or 1tools or primitives or 2context or injection or 3shared or workspace or 4crud or 5ui or integration or 6discovery or 7prompt or features or 8tools
Package one plan execution packet into a compact ticket-local execution packet with parent refs, scope fences, feature-home ownership, and evidence commands. Use when converting plans into local tickets or when execution needs one ticket-sized context pack without the full plan.
tools
Package one plan execution packet into a compact ticket-local execution packet with parent refs, scope fences, feature-home ownership, and evidence commands. Use when converting plans into local tickets or when execution needs one ticket-sized context pack without the full plan.
testing
Run a deep adversarial review of plans and architecture before implementation. Use when validating strategy docs, contracts, roadmaps, and competitive positioning with scored findings and prioritized recommendations.
testing
Run a deep adversarial review of plans and architecture before implementation. Use when validating strategy docs, contracts, roadmaps, and competitive positioning with scored findings and prioritized recommendations.