| name | config-audit |
| description | This skill should be used when auditing or comparing Claude Code and Cursor IDE configurations to identify feature gaps, equivalencies, and migration opportunities. Useful when managing AI development tooling across both platforms or deciding how to structure AI workflows. |
Config Audit
Audit and compare Claude Code and Cursor IDE configurations to understand feature coverage, identify gaps, and make informed decisions about AI development tooling.
Overview
This skill helps analyze the claude/ and cursor/ directories in projects to:
- Inventory Resources - Catalog all Claude Code commands, skills, agents and Cursor rules, commands
- Identify Gaps - Find resources in one tool without equivalents in the other
- Generate Reports - Produce structured comparisons and actionable suggestions
- Inform Decisions - Understand feature differences to guide tool selection and migration
When to use: When managing AI configurations across Claude Code and Cursor, planning migrations, or deciding where to implement new workflows.
Quick Start
Run the audit command to generate a comprehensive report:
ai skill config-audit run
This scans the current project's claude/ and cursor/ directories and outputs a detailed report showing:
- All Claude Code resources (commands, skills, agents)
- All Cursor resources (rules, commands)
- Gap analysis (resources unique to each tool)
- Suggestions for creating equivalents
Using the Audit Command
Basic Usage
# Audit current project
ai skill config-audit run
# Audit specific project
ai skill config-audit run -p /path/to/project
# Get JSON output for programmatic processing
ai skill config-audit run --json
Understanding the Report
The audit report contains four main sections:
1. Claude Code Resources
Lists all resources found in the claude/ directory:
- Commands - User-invoked slash commands (
.claude/commands/) - Skills - Model-invoked capabilities (
.claude/skills/) - Agents - Specialized sub-agents (
.claude/agents/)
Each resource shows:
- Name
- Type
- Description (if available)
2. Cursor Resources
Lists all resources found in the cursor/ directory:
- Rules - AI instructions in
.mdcformat, categorized by type:- Always - Always loaded (
alwaysApply: true) - Auto Attached - Loaded when file globs match
- Agent Requested - AI decides based on description
- Manual - User invokes with
@ruleName
- Always - Always loaded (
- Commands - Markdown prompt files
Each rule shows:
- Name
- Type (always/auto-attached/agent-requested/manual)
- Description
- Globs (for auto-attached rules)
3. Gap Analysis
Identifies resources that exist in one tool but not the other:
- Claude Code Without Cursor Equivalents - Features unique to Claude Code
- Cursor Without Claude Code Equivalents - Features unique to Cursor
Resources are matched by name similarity, so a Claude Code skill named "typescript-standards" and a Cursor rule named "typescript-standards" are considered equivalents.
4. Suggestions
Actionable recommendations for creating equivalents:
- Cursor rules to add for Claude Code features
- Claude Code skills/commands to add for Cursor features
- CLAUDE.md additions for Cursor "always" rules
Feature Comparison
Key Differences
Claude Code Capabilities:
- Executable commands with tool permissions
- Sub-agents with separate context windows
- Helper commands (TypeScript utilities)
- Event-driven hooks
- Progressive resource loading
Cursor Capabilities:
- Glob pattern matching for auto-attachment
- Four rule attachment modes (Always/Auto/Agent/Manual)
- Manual invocation with @ruleName syntax
- Lightweight single-file rules
See @references/feature-comparison.md for comprehensive comparison
Common Workflows
Workflow 1: Initial Audit
When setting up a new project or reviewing existing configuration:
- Run audit:
ai skill config-audit run - Review gap analysis section
- Prioritize gaps based on project needs
- Create missing equivalents as needed
Workflow 2: Migration Planning
When migrating from Cursor to Claude Code (or vice versa):
- Run audit with JSON output:
ai skill config-audit run --json - Review all resources in source tool
- Consult feature comparison guide for migration patterns
- Systematically create equivalents in target tool
Workflow 3: Feature Parity Maintenance
When adding new AI workflows:
- Implement in preferred tool (Claude Code or Cursor)
- Run audit to identify new gap
- Decide if equivalent is needed in other tool
- Create equivalent using appropriate patterns
Creating Equivalents
Claude Code Command → Cursor Command
Claude Code commands with allowed-tools cannot be directly replicated (Cursor commands don't execute code). Consider:
- Create Cursor command as text-only prompt template
- Or skip if code execution is essential
Claude Code Skill → Cursor Rule
- Extract core instructions from SKILL.md
- Create
.cursor/rules/[name].mdcwith appropriate frontmatter:- Choose rule type (Always/Auto/Agent/Manual)
- Add globs if auto-attached
- Add description for agent-requested
- Keep under 500 lines (decompose if needed)
- Remove helper command references (not supported)
Cursor Always Rule → CLAUDE.md
For critical always-loaded standards:
- Extract rule content
- Add to
.claude/CLAUDE.mdin appropriate section - Use XML tags for safe merging if needed
Cursor Auto-Attached Rule → Claude Code Skill
- Create skill with description mentioning relevant file types
- Include instructions from rule body
- Add helper commands if repetitive operations exist
Cursor Manual Rule → Claude Code Command
- Create
.claude/commands/[name].md - Add rule content as command body
- Add
allowed-toolsif code execution needed - Invoke with
/command-nameinstead of@ruleName
Helper Commands
This skill provides the ai skill config-audit run command for deterministic configuration auditing.
Implementation: See typescript/lib/config-audit-operations.ts for scanning and comparison logic.
Command options:
-p, --project-root <path>- Project root directory (default: current directory)--json- Output as JSON instead of formatted text
Resources
references/feature-comparison.md
Comprehensive comparison of Claude Code and Cursor features including:
- Detailed capability breakdowns
- Functional equivalencies table
- Unique features in each tool
- Migration considerations
- When to use each feature type
Reference this when:
- Planning migrations between tools
- Deciding where to implement new workflows
- Understanding fundamental feature differences
Interpreting Results
High Gap Count
Many resources without equivalents suggests:
- Single-tool focus - Team primarily using one tool
- Migration in progress - Transitioning between tools
- Specialization - Leveraging unique capabilities
Actions:
- Review whether equivalents are needed
- Focus on high-value workflows first
- Consider tool consolidation if maintaining both is burdensome
Low Gap Count
Few resources without equivalents suggests:
- Feature parity - Comprehensive coverage in both tools
- Parallel development - Team actively maintains both
- Shared workflows - Common processes across tools
Actions:
- Maintain parity for new workflows
- Document equivalent resource pairs
- Streamline maintenance procedures
Type-Specific Gaps
Patterns in gap types reveal opportunities:
- Many skills without rules - Rich Claude Code workflows, lighter Cursor setup
- Many always rules without CLAUDE.md - Cursor-heavy standards not in Claude Code
- Commands without equivalents - Tool-specific automations
Actions:
- Evaluate whether gaps represent intentional choices
- Create equivalents for essential workflows
- Accept gaps for tool-specific features
Best Practices
Audit Regularly:
- Run audit after major changes
- Include in code review process
- Track gaps over time
Prioritize Thoughtfully:
- Not all resources need equivalents
- Focus on high-impact workflows
- Consider maintenance burden
Document Decisions:
- Record why gaps exist
- Note intentional tool-specific features
- Update comparison guide with learnings
Maintain Feature Comparison:
- Update references/feature-comparison.md as tools evolve
- Document new feature types
- Share insights with team