[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ERYZCWRME5RYNHTAZRVZ48":3,"skill-same:01M7ERYZCWRME5RYNHTAZRVZ48":48},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M7ERYZCWRME5RYNHTAZRVZ48","sparc-refine",null,"Run the SPARC Refinement and Completion phases — review code, improve test coverage, validate against specification, and generate documentation","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fruflo\u002Fplugins\u002Fruflo-sparc\u002Fskills\u002Fsparc-refine\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sparc-refine\ndescription: Run the SPARC Refinement and Completion phases — review code, improve test coverage, validate against specification, and generate documentation\nargument-hint: \"\"\nallowed-tools: mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__memory_retrieve mcp__plugin_ruflo-core_ruflo__task_create mcp__plugin_ruflo-core_ruflo__task_update mcp__plugin_ruflo-core_ruflo__task_complete mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end mcp__plugin_ruflo-core_ruflo__neural_train mcp__plugin_ruflo-core_ruflo__neural_predict Bash Read Write Edit\n---\n\n# SPARC Refinement + Completion\n\nRun Phases 4 and 5 of the SPARC methodology: iteratively improve through code review and testing, then finalize with validation, documentation, and deployment readiness.\n\n## When to use\n\nAfter the Architecture phase is complete and its gate has been passed. This skill covers the final two phases that bring a feature from implemented to production-ready.\n\n## Steps\n\n### Phase 4 — Refinement\n\n1. **Retrieve all prior artifacts** — call `mcp__plugin_ruflo-core_ruflo__memory_search` with namespace `sparc-phases` and query for the feature slug. Load spec (acceptance criteria), pseudocode, and architecture.\n\n2. **Retrieve phase state** — call `mcp__plugin_ruflo-core_ruflo__memory_search` with namespace `sparc-state` to confirm we are in Phase 4.\n\n3. **Code review** — review the implementation against:\n   a. **Specification compliance**: does every acceptance criterion have a corresponding code path?\n   b. **Architecture adherence**: do modules follow the defined boundaries and dependency rules?\n   c. **Pseudocode fidelity**: does the implementation match the designed algorithms?\n   d. **Code quality**: naming conventions, single responsibility, error handling, no dead code\n   e. Document findings as review comments\n\n4. **Test coverage analysis**:\n   a. Run existing tests and measure coverage\n   b. Identify uncovered acceptance criteria\n   c. Write missing tests:\n      - Unit tests for each public function\n      - Integration tests for cross-module interactions\n      - Edge case tests for each identified edge case from the spec\n   d. Target coverage >= 80% on new code\n\n5. **Performance validation** — if the spec includes performance constraints:\n   a. Profile critical paths identified in the pseudocode\n   b. Compare measured performance against constraint thresholds\n   c. Optimize if thresholds are not met\n\n6. **Iterate** — repeat steps 3-5 until:\n   - All acceptance criteria have passing tests\n   - Code review has no critical or high-severity issues\n   - Coverage meets the threshold\n   - Performance constraints are satisfied\n\n7. **Store refinement artifact** — call `mcp__plugin_ruflo-core_ruflo__memory_store` with namespace `sparc-phases`, key `refine-{feature-slug}`, value: `{ status: \"complete\", reviewFindings: [...], coveragePercent: N, performanceResults: {...}, iterations: N }`\n\n8. **Record trajectory step** — call `mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step` with refinement summary\n\n### Phase 5 — Completion\n\n9. **Full regression** — run the complete test suite to verify no regressions from refinement changes\n\n10. **Traceability matrix** — build a matrix mapping every acceptance criterion to:\n    - The test(s) that verify it\n    - The code file(s) that implement it\n    - The current pass\u002Ffail status\n\n11. **Documentation**:\n    a. Generate API documentation from code comments and type definitions\n    b. Write usage examples for key public interfaces\n    c. Update any existing documentation affected by the changes\n\n12. **Deployment readiness checklist**:\n    - [ ] All tests passing\n    - [ ] Documentation complete\n    - [ ] Database migrations prepared (if applicable)\n    - [ ] Configuration changes documented\n    - [ ] Feature flags configured (if applicable)\n    - [ ] Rollback plan defined\n    - [ ] Security review complete (no secrets, inputs validated)\n\n13. **Store completion artifact** — call `mcp__plugin_ruflo-core_ruflo__memory_store` with namespace `sparc-phases`, key `complete-{feature-slug}`, value: `{ status: \"complete\", traceabilityMatrix: [...], documentationFiles: [...], deploymentChecklist: {...}, regressionResult: \"pass\" }`\n\n14. **End trajectory** — call `mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end` with the full SPARC cycle summary\n\n15. **Train neural patterns** — call `mcp__plugin_ruflo-core_ruflo__neural_train` with the successful SPARC cycle data to improve future predictions\n\n16. **Store learned pattern** — call `mcp__plugin_ruflo-core_ruflo__memory_store` with namespace `patterns`, key `sparc-{feature-slug}`, value summarizing what worked, phase durations, and common blockers encountered\n\n17. **Present completion report** — display the traceability matrix, deployment checklist, and final status. Suggest running `\u002Fsparc advance` to pass the final gate, or `\u002Fsparc report` for the full methodology report.\n\n## Output format\n\n```\n# Refinement: {Feature Name}\n\n## Code Review Summary\n- Critical issues: {N} (must be 0 to pass gate)\n- High issues: {N}\n- Medium issues: {N}\n- Resolved: {N}\u002F{total}\n\n## Test Coverage\n- Overall: {N}%\n- New code: {N}%\n- Acceptance criteria covered: {N}\u002F{total}\n\n## Performance\n| Constraint | Target | Measured | Status |\n|-----------|--------|----------|--------|\n| Response time | \u003C200ms | 145ms | Pass |\n\n---\n\n# Completion: {Feature Name}\n\n## Traceability Matrix\n| AC | Test | Code | Status |\n|----|------|------|--------|\n| AC-1 | test_xxx | service.ts:42 | Pass |\n| AC-2 | test_yyy | controller.ts:18 | Pass |\n| AC-3 | test_zzz | repository.ts:31 | Pass |\n\n## Deployment Checklist\n- [x] All tests passing\n- [x] Documentation complete\n- [x] Migrations prepared\n- [x] Config documented\n- [x] Rollback plan defined\n- [x] Security reviewed\n\n---\nSPARC workflow complete. Run `\u002Fsparc report` for the full methodology report.\n```\n","# SPARC Refinement + Completion\n\nRun Phases 4 and 5 of the SPARC methodology: iteratively improve through code review and testing, then finalize with validation, documentation, and deployment readiness.\n\n## When to use\n\nAfter the Architecture phase is complete and its gate has been passed. This skill covers the final two phases that bring a feature from implemented to production-ready.\n\n## Steps\n\n### Phase 4 — Refinement\n\n1. **Retrieve all prior artifacts** — call `mcp__plugin_ruflo-core_ruflo__memory_search` with namespace `sparc-phases` and query for the feature slug. Load spec (acceptance criteria), pseudocode, and architecture.\n\n2. **Retrieve phase state** — call `mcp__plugin_ruflo-core_ruflo__memory_search` with namespace `sparc-state` to confirm we are in Phase 4.\n\n3. **Code review** — review the implementation against:\n   a. **Specification compliance**: does every acceptance criterion have a corresponding code path?\n   b. **Architecture adherence**: do modules follow the defined boundaries and dependency rules?\n   c. **Pseudocode fidelity**: does the implementation match the designed algorithms?\n   d. **Code quality**: naming conventions, single responsibility, error handling, no dead code\n   e. Document findings as review comments\n\n4. **Test coverage analysis**:\n   a. Run existing tests and measure coverage\n   b. Identify uncovered acceptance criteria\n   c. Write missing tests:\n      - Unit tests for each public function\n      - Integration tests for cross-module interactions\n      - Edge case tests for each identified edge case from the spec\n   d. Target coverage >= 80% on new code\n\n5. **Performance validation** — if the spec includes performance constraints:\n   a. Profile critical paths identified in the pseudocode\n   b. Compare measured performance against constraint thresholds\n   c. Optimize if thresholds are not met\n\n6. **Iterate** — repeat steps 3-5 until:\n   - All acceptance criteria have passing tests\n   - Code review has no critical or high-severity issues\n   - Coverage meets the threshold\n   - Performance constraints are satisfied\n\n7. **Store refinement artifact** — call `mcp__plugin_ruflo-core_ruflo__memory_store` with namespace `sparc-phases`, key `refine-{feature-slug}`, value: `{ status: \"complete\", reviewFindings: [...], coveragePercent: N, performanceResults: {...}, iterations: N }`\n\n8. **Record trajectory step** — call `mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step` with refinement summary\n\n### Phase 5 — Completion\n\n9. **Full regression** — run the complete test suite to verify no regressions from refinement changes\n\n10. **Traceability matrix** — build a matrix mapping every acceptance criterion to:\n    - The test(s) that verify it\n    - The code file(s) that implement it\n    - The current pass\u002Ffail status\n\n11. **Documentation**:\n    a. Generate API documentation from code comments and type definitions\n    b. Write usage examples for key public interfaces\n    c. Update any existing documentation affected by the changes\n\n12. **Deployment readiness checklist**:\n    - [ ] All tests passing\n    - [ ] Documentation complete\n    - [ ] Database migrations prepared (if applicable)\n    - [ ] Configuration changes documented\n    - [ ] Feature flags configured (if applicable)\n    - [ ] Rollback plan defined\n    - [ ] Security review complete (no secrets, inputs validated)\n\n13. **Store completion artifact** — call `mcp__plugin_ruflo-core_ruflo__memory_store` with namespace `sparc-phases`, key `complete-{feature-slug}`, value: `{ status: \"complete\", traceabilityMatrix: [...], documentationFiles: [...], deploymentChecklist: {...}, regressionResult: \"pass\" }`\n\n14. **End trajectory** — call `mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end` with the full SPARC cycle summary\n\n15. **Train neural patterns** — call `mcp__plugin_ruflo-core_ruflo__neural_train` with the successful SPARC cycle data to improve future predictions\n\n16. **Store learned pattern** — call `mcp__plugin_ruflo-core_ruflo__memory_store` with namespace `patterns`, key `sparc-{feature-slug}`, value summarizing what worked, phase durations, and common blockers encountered\n\n17. **Present completion report** — display the traceability matrix, deployment checklist, and final status. Suggest running `\u002Fsparc advance` to pass the final gate, or `\u002Fsparc report` for the full methodology report.\n\n## Output format\n\n```\n# Refinement: {Feature Name}\n\n## Code Review Summary\n- Critical issues: {N} (must be 0 to pass gate)\n- High issues: {N}\n- Medium issues: {N}\n- Resolved: {N}\u002F{total}\n\n## Test Coverage\n- Overall: {N}%\n- New code: {N}%\n- Acceptance criteria covered: {N}\u002F{total}\n\n## Performance\n| Constraint | Target | Measured | Status |\n|-----------|--------|----------|--------|\n| Response time | \u003C200ms | 145ms | Pass |\n\n---\n\n# Completion: {Feature Name}\n\n## Traceability Matrix\n| AC | Test | Code | Status |\n|----|------|------|--------|\n| AC-1 | test_xxx | service.ts:42 | Pass |\n| AC-2 | test_yyy | controller.ts:18 | Pass |\n| AC-3 | test_zzz | repository.ts:31 | Pass |\n\n## Deployment Checklist\n- [x] All tests passing\n- [x] Documentation complete\n- [x] Migrations prepared\n- [x] Config documented\n- [x] Rollback plan defined\n- [x] Security reviewed\n\n---\nSPARC workflow complete. Run `\u002Fsparc report` for the full methodology report.\n```\n",{"name":5,"description":7,"allowed-tools":24,"argument-hint":25},"mcp__plugin_ruflo-core_ruflo__memory_store mcp__plugin_ruflo-core_ruflo__memory_search mcp__plugin_ruflo-core_ruflo__memory_retrieve mcp__plugin_ruflo-core_ruflo__task_create mcp__plugin_ruflo-core_ruflo__task_update mcp__plugin_ruflo-core_ruflo__task_complete mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end mcp__plugin_ruflo-core_ruflo__neural_train mcp__plugin_ruflo-core_ruflo__neural_predict Bash Read Write Edit","","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fruflo\u002Fplugins\u002Fruflo-sparc\u002Fskills\u002Fsparc-refine",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill sparc-refine",{"tool":40,"command":41},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill sparc-refine",{"tool":43,"command":44},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill sparc-refine","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fruflo\u002Fplugins\u002Fruflo-sparc\u002Fskills\u002Fsparc-refine\u002FSKILL.md",true,[],[49,57,62,69,76,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":56},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":58,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":56},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":56},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":56},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":56},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":56},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]