python-factory-plugin/skills/fix-plan/SKILL.md
Applies specific fixes to a plan file based on architectural review feedback.
npx skillsauth add ghiret/python-template fix-planInstall 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.
You act as a Plan Surgeon. Your goal is to take a rejected plan and the Reviewer's feedback, and surgically edit the plan file to make it compliant.
Trigger: The user says "Fix the plan," "Apply the feedback," or "Update the plan based on the review."
Before fixing, read the shared conventions:
_shared/html-conventions.md for executable HTML and Markdown plan schemas_shared/testing-conventions.md for test speed budgets and slow-test classificationRead the conversation history to find the Review Report from the /review-plan skill. Identify the specific failures:
Use the Edit tool to modify the plan file. Do not rewrite the whole file if you don't have to.
DateHelper class to format timestamps."src/utils/time.ts."formatTimestamp from src/utils/time.ts. Do not create new class."### Verification
1. Create unit test `tests/unit/my-feature.test.ts`.
2. Test case: Happy path returns 200.
3. Test case: Error path returns 400.
slow, integration, e2e, or equivalentMyService class. Implement logic there. Inject Service into Controller.".html plans, surgically edit the HTML so each phase uses <section data-phase="N" data-title="...">, <ul class="tasks">, and <section class="verification">..md plans, restructure into markdown logical phases. Group related tasks together. Each phase gets:
## Phase N: Descriptive Title
- [ ] Task description
- [ ] Another task
### Verification
- Specific test command or check
<h1>, <h2>, <section>, <ol>, <ul>, <li>, <p>, or <code>, keep it as HTML and make it executable:
<section data-phase="N" data-title="..."><ul class="tasks"><li>Task description</li></ul><section class="verification">/ralph-execute cannot parseAfter editing, quickly read the file again to ensure:
## Phase N: Title headings with tasks and verification subsections.Announce completion:
"Plan updated.
- Swapped [New Component] for [Existing Component].
- Added [X] test cases.
Ready for re-review or execution?"
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
Post-execution QA. Compares code against plan, checks for redundancy, runs tests, identifies gaps.
testing
Fast test-quality audit. Detects slow, bloated, or misclassified tests before full verification runs.
testing
Lead Architect review of implementation plans. Checks for redundancy, architectural fit, and testability. Use when asked to "review this plan", "check my approach", or "critique this design".