Agent Setup Health Audit
tw93/Waza
Audits a project's agent configuration, instruction drift, hooks, MCP and AI maintainability, then reports prioritized findings with evidence and next actions.
Expert guidance for creating effective Cursor slash commands with best practices, format requirements, and schema validation
$ npx skills add pr-pm/prpm --skill creating-cursor-commands -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install pr-pm/prpm creating-cursor-commands --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/pr-pm/prpm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/creating-cursor-commands .claude/skills/creating-cursor-commands && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "creating-cursor-commands" agent skill from https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commands into .claude/skills/creating-cursor-commands/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-cursor-commands", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commandsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add pr-pm/prpm --skill creating-cursor-commands -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install pr-pm/prpm creating-cursor-commands --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pr-pm/prpm.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/creating-cursor-commands .agents/skills/creating-cursor-commands && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "creating-cursor-commands" agent skill from https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commands into .agents/skills/creating-cursor-commands/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-cursor-commands", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pr-pm/prpm --skill creating-cursor-commands -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install pr-pm/prpm creating-cursor-commands --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pr-pm/prpm.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/creating-cursor-commands .cursor/skills/creating-cursor-commands && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "creating-cursor-commands" agent skill from https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commands into .cursor/skills/creating-cursor-commands/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-cursor-commands", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/pr-pm/prpm.git --path .claude/skills/creating-cursor-commands--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add pr-pm/prpm --skill creating-cursor-commands -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install pr-pm/prpm creating-cursor-commands --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pr-pm/prpm.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/creating-cursor-commands .gemini/skills/creating-cursor-commands && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "creating-cursor-commands" agent skill from https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commands into .gemini/skills/creating-cursor-commands/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-cursor-commands", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install pr-pm/prpm creating-cursor-commandsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add pr-pm/prpm --skill creating-cursor-commands -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/pr-pm/prpm.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/creating-cursor-commands .github/skills/creating-cursor-commands && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "creating-cursor-commands" agent skill from https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commands into .github/skills/creating-cursor-commands/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-cursor-commands", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add pr-pm/prpm --skill creating-cursor-commands -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install pr-pm/prpm creating-cursor-commands --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/pr-pm/prpm.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/creating-cursor-commands .opencode/skills/creating-cursor-commands && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "creating-cursor-commands" agent skill from https://github.com/pr-pm/prpm/tree/main/.claude/skills/creating-cursor-commands into .opencode/skills/creating-cursor-commands/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "creating-cursor-commands", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
creating-cursor-commandsExpert guidance for creating effective Cursor slash commands with best practices, format requirements, and schema validation
Creating Cursor Commands is an agent skill from pr-pm/prpm. Expert guidance for creating effective Cursor slash commands with best practices, format requirements, and schema validation
Its SKILL.md is about 3.3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows, covering Hooks and plugins, Forms and validation and Agent instruction files. The repository describes itself as: The universal registry for AI coding tools. The licence is MIT.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 5f993e6. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown and json).
From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
json-schema.orgprpm.devAlso links to:
cursor.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Creating Cursor Commands loads about 3.3k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 725 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from pr-pm/prpm at commit 5f993e6, republished under its MIT licence (© pr-pm). 725 words, ~3,265 tokens.
.claude/skills/creating-cursor-commands/SKILL.md (or your agent's skills folder).You are an expert at creating effective Cursor slash commands (.cursor/commands/*.md) that provide clear, actionable instructions for AI assistants.
Use when:
Don't use for:
.cursor/rules/) - use creating-cursor-rules-skill instead| Aspect | Requirement |
|---|---|
| File Location | .cursor/commands/*.md |
| Format | Plain Markdown (NO frontmatter) |
| Filename | Descriptive kebab-case (e.g., review-code.md, generate-tests.md) |
| Invocation | /command-name in chat |
| Content | Clear, actionable instructions with examples |
Good filenames:
review-code.md → /review-codegenerate-tests.md → /generate-testsexplain-code.md → /explain-codeoptimize-performance.md → /optimize-performanceBad filenames:
rc.md - Too crypticreview_code.md - Use hyphens, not underscoresReviewCode.md - Use lowercasereview-code-thoroughly-with-security-checks.md - Too verbosehttps://github.com/pr-pm/prpm/blob/main/packages/converters/schemas/cursor-command.schema.json
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://prpm.dev/schemas/cursor-command.schema.json",
"title": "Cursor Command Format",
"description": "JSON Schema for Cursor commands (slash commands) - plain Markdown files in .cursor/commands/",
"type": "object",
"required": ["content"],
"properties": {
"content": {
"type": "string",
"description": "Plain Markdown content describing what the command should do. No frontmatter supported."
}
},
"additionalProperties": false
}content field| Mistake | Why It's Wrong | How to Fix |
|---|---|---|
| Adding frontmatter | Cursor commands don't support frontmatter | Remove --- blocks entirely |
| Using default exports syntax | Commands are not code files | Write plain Markdown instructions |
| Vague instructions | AI needs specific guidance | Add concrete examples and steps |
| Too many tasks | Commands should be focused | Create separate commands or use rules |
| Missing context | AI needs to know what to do | Include expected output format |
❌ Bad - Vague:
# Review Code
Review the code for issues.✅ Good - Specific:
# Review Code
Review the selected code for:
- Code quality and best practices
- Potential bugs or edge cases
- Performance improvements
- Security vulnerabilities
Provide specific, actionable feedback with code examples where appropriate.❌ Bad - No guidance:
# Generate Tests
Generate tests for this code.✅ Good - Clear format:
# Generate Tests
Generate comprehensive unit tests for the selected code.
Include:
- Happy path test cases
- Edge cases and error handling
- Mock external dependencies
- Follow existing test patterns in the project
Use the testing framework already configured in the project.✅ Good - Structured approach:
# Explain Code
Provide a clear explanation of what the selected code does.
Include:
- High-level purpose and goals
- Step-by-step breakdown of logic
- Any non-obvious behavior or edge cases
- Dependencies and side effects
- How it fits into the larger codebase✅ Good - Context-aware:
# Add Component
Create a new React component following our project conventions.
Structure:
- Functional component with TypeScript
- Props interface defined separately
- Export as named export (not default)
- Co-locate styles if needed
- Follow existing component patterns in components/ directory
Use the same testing approach as existing components.Each command should do ONE thing well.
❌ Bad - Too broad:
# Full Stack Feature
Create a full-stack feature with:
- Database migration
- API endpoint
- Frontend component
- Tests for everything
- Documentation✅ Good - Focused:
# Create API Endpoint
Create a new API endpoint following our conventions.
Include:
- Input validation with Zod
- Error handling with try/catch
- TypeScript types for request/response
- Follow patterns in existing endpoints.cursor/commands/review-code.md:
# Review Code
Review the selected code for:
1. **Code Quality**
- Clean, readable code
- Proper naming conventions
- DRY principle adherence
2. **Security**
- Input validation
- SQL injection risks
- XSS vulnerabilities
- Authentication/authorization checks
3. **Performance**
- Inefficient algorithms
- Unnecessary computations
- Memory leaks
- Database query optimization
4. **Best Practices**
- Error handling
- Type safety
- Test coverage
- Documentation
Provide specific file and line references for all issues found.
Format findings as a numbered list with severity (Critical/High/Medium/Low)..cursor/commands/generate-tests.md:
# Generate Tests
Generate comprehensive unit tests for the selected code.
Test Coverage:
- Happy path scenarios
- Edge cases
- Error conditions
- Boundary values
- Invalid inputs
Requirements:
- Use existing test framework (Jest/Vitest/etc.)
- Follow project testing patterns
- Mock external dependencies
- Include test descriptions
- Aim for 100% code coverage
Format tests in the same style as existing test files in the project..cursor/commands/document-function.md:
# Document Function
Generate comprehensive documentation for the selected function.
Include:
**Function signature:**
- Parameter types and descriptions
- Return type and description
- Generic types if applicable
**Description:**
- What the function does (one-line summary)
- Why it exists (use case)
- How it works (implementation details if non-obvious)
**Examples:**
- Basic usage example
- Edge case example if relevant
**Notes:**
- Any side effects
- Performance considerations
- Related functions
Use JSDoc/TSDoc format for TypeScript/JavaScript..cursor/commands/optimize-performance.md:
# Optimize Performance
Analyze the selected code for performance improvements.
Look for:
**Algorithmic Issues:**
- O(n²) or worse time complexity
- Unnecessary nested loops
- Inefficient data structures
**React-Specific:**
- Unnecessary re-renders
- Missing useMemo/useCallback
- Large component trees
- Props drilling
**General:**
- Redundant computations
- Memory leaks
- Synchronous blocking operations
- Large bundle size contributors
Suggest specific optimizations with code examples.
Estimate performance impact of each suggestion..cursor/commands/refactor-clean.md:
# Refactor for Clean Code
Refactor the selected code to improve maintainability.
Apply these principles:
**Extract Functions:**
- Break down large functions (> 50 lines)
- Create single-responsibility functions
- Use descriptive names
**Simplify Logic:**
- Reduce nesting (early returns)
- Eliminate duplication
- Clarify complex conditionals
**Improve Names:**
- Use meaningful variable names
- Follow project naming conventions
- Avoid abbreviations
**Type Safety:**
- Add proper TypeScript types
- Eliminate 'any' types
- Use interfaces/types
Preserve all existing functionality and tests..cursor/commands/fix-bug.md:
# Fix Bug
Analyze and fix the bug in the selected code.
Investigation steps:
1. Identify the root cause
2. Explain why the bug occurs
3. Propose a fix
4. Consider edge cases
5. Suggest tests to prevent regression
Fix requirements:
- Minimal changes to fix the issue
- Don't break existing functionality
- Add/update tests
- Add comments explaining the fix if non-obvious
Explain the fix clearly with before/after code examples.Commands can be stored in multiple locations (in order of precedence):
.cursor/commands/ directory in your project (shared with team)~/.cursor/commands/ directory (personal, all projects)Best practice: Store team-wide commands in .cursor/commands/ and commit to version control.
After creating a command:
.cursor/commands/command-name.md/command-name in Cursor chatExample:
/generate-tests - Explicitly generate tests when asked*.test.ts filesBefore finalizing a command:
.cursor/commands/ directoryClaude Code commands use frontmatter - remove it for Cursor:
Claude Code:
---
description: Review code
allowed-tools: Read, Grep
---
Review the code...Cursor:
# Review Code
Review the code...Rules use frontmatter and are context-aware - simplify to plain Markdown:
Cursor Rule:
---
description: Testing conventions
globs: ["**/*.test.ts"]
---
# Testing Standards
Always write tests...Cursor Command:
# Generate Tests
Generate comprehensive tests.../review-code - Code review/refactor-clean - Clean code refactoring/fix-lint - Fix linting issues/improve-types - Improve TypeScript types/generate-tests - Generate unit tests/test-edge-cases - Add edge case tests/test-coverage - Check test coverage/document-function - Document function/add-comments - Add code comments/explain-code - Explain complex code/optimize-performance - Performance optimization/analyze-complexity - Analyze time complexity/reduce-bundle - Reduce bundle size/security-audit - Security vulnerability check/sanitize-input - Add input validation/check-auth - Review authenticationhttps://github.com/pr-pm/prpm/blob/main/packages/converters/schemas/cursor-command.schema.json/Users/khaliqgant/Projects/prpm/app/packages/converters/docs/cursor.mdGolden Rules:
Goal: Create commands that make frequent tasks effortless with a simple /command-name invocation.
© pr-pm, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/creating-cursor-commands of pr-pm/prpm.
Open the folder on GitHubat commit 5f993e6
Creating Cursor Commands next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Creating Cursor Commands this skillpr-pm/prpm | 122 | — | ~3.3k | Automated safety check: Pass | MIT | |
| Agent Setup Health Audittw93/Waza | 7.2k | — | ~5.2k | Automated safety check: Notes | MIT | |
| Working With Claude Code Docsobra/superpowers-developing-for-claude-code | 142 | — | ~1.5k | Automated safety check: Pass | None | |
| Directional Promptingkingbootoshi/directional-prompting | 143 | — | ~2.3k | Automated safety check: Pass | MIT | |
| Agenticashibing624/agentica | 352 | — | ~1.8k | Automated safety check: Notes | Apache-2.0 | |
| Claude Code Mastery Squadohmyjahh/xquads-squads | 276 | — | ~1.1k | Automated safety check: Pass | MIT |
tw93/Waza
Audits a project's agent configuration, instruction drift, hooks, MCP and AI maintainability, then reports prioritized findings with evidence and next actions.
obra/superpowers-developing-for-claude-code
Looks up official Claude Code documentation stored as reference files instead of guessing about CLI commands, configuration, or plugin APIs.
kingbootoshi/directional-prompting
Write prompts, system instructions, agent directives, slash commands, and skill descriptions using two stacked layers — outcome-first (define the destination, success criteria, stopping condition)…
shibing624/agentica
How to answer questions about the agentica product you are running inside — CLI flags, config.yaml profiles, API keys, models, sessions, resume, workspace, AGENTS.md standing rules, skills, logs…
ohmyjahh/xquads-squads
Routes a request to one of eight specialist agents covering hooks, skills, subagents, MCP integration and context engineering for Claude Code.
earlyaidopters/second-brain
Interactive Obsidian vault configurator. An agent skill from earlyaidopters/second-brain.
pr-pm/prpm
Reference for writing Claude Code agent files: location, frontmatter fields, validation limits, tool and model choices, and the required content format.
pr-pm/prpm
Covers how to build, configure and publish Claude Code hooks: event types, exit codes, JSON I/O, and PRPM packaging.
pr-pm/prpm
Shows how to write .claude/rules/ files correctly: paths frontmatter instead of globs, quoted glob patterns, global rules and conversion of Cursor rules.
pr-pm/prpm
Reference for writing portable Agent Skills packages, covering SKILL.md frontmatter limits, name rules, directory layout and where Codex CLI, GitHub Copilot and Amp look for skills.
pr-pm/prpm
A skill your agent uses when building custom Kiro AI agents or when user asks for agent configurations - provides JSON structure, tool configuration, prompt patterns, and security best practices for…
pr-pm/prpm
A skill your agent uses when creating OpenCode agents - provides markdown format with YAML frontmatter, mode/tools/permission configuration, and best practices for specialized AI assistants
Categories
Expert guidance for creating effective Cursor slash commands with best practices, format requirements, and schema validation. Creating Cursor Commands is an agent skill from pr-pm/prpm.
Creating Cursor Commands fits situations like: tasks that involve Hooks and plugins; tasks that involve Forms and validation; tasks that involve Agent instruction files.
Run `npx skills add pr-pm/prpm --skill creating-cursor-commands -a claude-code`. Or copy the skill folder (.claude/skills/creating-cursor-commands in pr-pm/prpm) into .claude/skills/creating-cursor-commands in your project. Claude Code loads it when a task matches its description.
Run `npx skills add pr-pm/prpm --skill creating-cursor-commands -a codex`. Or copy the skill folder (.claude/skills/creating-cursor-commands in pr-pm/prpm) into .agents/skills/creating-cursor-commands in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pr-pm/prpm --skill creating-cursor-commands -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/creating-cursor-commands, .gemini/skills/creating-cursor-commands, .github/skills/creating-cursor-commands and .opencode/skills/creating-cursor-commands in your project.
SKILL.md names no scripts, command-line tools or credentials: Creating Cursor Commands is instructions for the agent only.
SKILL.md names 3 domains. In commands or code: json-schema.org and prpm.dev; the agent is likely to contact these when it follows the instructions. As links in the text: cursor.com. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Creating Cursor Commands is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.3k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Creating Cursor Commands: Agent Setup Health Audit (tw93/Waza, 7.2k stars), Working With Claude Code Docs (obra/superpowers-developing-for-claude-code, 142 stars), Directional Prompting (kingbootoshi/directional-prompting, 143 stars) and Agentica (shibing624/agentica, 352 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
pr-pm (a GitHub organization) maintains it in pr-pm/prpm, which has 122 GitHub stars. The repository holds 35 skills in this directory. The repository was last updated on October 6, 2026.
Source: pr-pm/prpm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.