.claude/skills/prompt-refactor/SKILL.md
Scan a prompt file for layer violations and structural problems, then fix them. Use when user wants to clean up documentation files or mentions /prompt-refactor command.
npx skillsauth add rakovi4/continue-example prompt-refactorInstall 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.
Orchestrates prompt-refactor-agent to find and fix structural and layer placement issues in documentation files.
/prompt-refactor refactor-agent.md # Scan specific file
/prompt-refactor .claude/agents/red-agent.md # Full path
/prompt-refactor # Scan all agents + skills
.claude/agents/prompt-refactor-agent.md.claude/templates/documentation/prompt-scan-checklist.md.claude/rules/prompt-rules.md.claude/rules/technology-loading.md.claude/templates/documentation/prompt-scan-checklist.mdAfter refactoring: review the diff to confirm fixes are clean.
testing
Run use-case module tests quickly. Use when user wants to run use-case tests or mentions /test-usecase command.
development
Generate BDD test specifications for story in 6 categories (API, UI, Load, Infrastructure, Security, Integration). Use when user wants to create test cases or mentions /test-spec command.
testing
Review tests to replace loose validation (contains, isNotNull, isNotEmpty) with strict validation (isEqualTo on parsed fields). Use when user wants to improve test assertions or mentions /test-review command.
development
Run frontend tests. Use when user wants to run frontend unit tests or mentions /test-frontend command.