ai-engineering-init 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude/agents/code-reviewer.md +139 -0
- package/.claude/agents/project-manager.md +159 -0
- package/.claude/audio/completed.wav +0 -0
- package/.claude/commands/add-todo.md +255 -0
- package/.claude/commands/check.md +210 -0
- package/.claude/commands/crud.md +454 -0
- package/.claude/commands/dev.md +503 -0
- package/.claude/commands/init-docs.md +681 -0
- package/.claude/commands/next.md +251 -0
- package/.claude/commands/progress.md +242 -0
- package/.claude/commands/start.md +199 -0
- package/.claude/commands/sync.md +307 -0
- package/.claude/commands/update-status.md +428 -0
- package/.claude/docs/Mixin/344/275/277/347/224/250/346/214/207/345/215/227.md +299 -0
- package/.claude/docs/README.md +167 -0
- package/.claude/docs//345/211/215/347/253/257/345/274/200/345/217/221/346/214/207/345/215/227.md +599 -0
- package/.claude/docs//345/220/216/347/253/257/345/274/200/345/217/221/346/214/207/345/215/227.md +726 -0
- package/.claude/docs//345/267/245/344/275/234/346/265/201/345/274/200/345/217/221/346/214/207/345/215/227.md +714 -0
- package/.claude/docs//345/267/245/345/205/267/347/261/273/344/275/277/347/224/250/346/214/207/345/215/227.md +463 -0
- package/.claude/docs//346/225/260/346/215/256/345/272/223/350/256/276/350/256/241/350/247/204/350/214/203.md +390 -0
- package/.claude/docs//346/226/260/345/212/237/350/203/275/345/274/200/345/217/221/346/265/201/347/250/213/350/247/204/350/214/203.md +688 -0
- package/.claude/docs//346/226/260/351/241/271/347/233/256/345/274/200/345/217/221/346/265/201/347/250/213.md +365 -0
- package/.claude/docs//346/241/206/346/236/266/350/257/264/346/230/216.md +393 -0
- package/.claude/docs//350/267/257/347/224/261/351/205/215/347/275/256/346/214/207/345/215/227.md +246 -0
- package/.claude/framework-config.json +73 -0
- package/.claude/hooks/pre-tool-use.js +117 -0
- package/.claude/hooks/skill-forced-eval.js +167 -0
- package/.claude/hooks/stop.js +58 -0
- package/.claude/settings.json +41 -0
- package/.claude/skills/add-skill/SKILL.md +352 -0
- package/.claude/skills/api-development/SKILL.md +560 -0
- package/.claude/skills/architecture-design/SKILL.md +756 -0
- package/.claude/skills/backend-annotations/SKILL.md +674 -0
- package/.claude/skills/banana-image/CHANGELOG.md +37 -0
- package/.claude/skills/banana-image/README.md +146 -0
- package/.claude/skills/banana-image/SKILL.md +164 -0
- package/.claude/skills/banana-image/assets/logo.png +0 -0
- package/.claude/skills/banana-image/references/advanced-usage.md +189 -0
- package/.claude/skills/banana-image/scripts/apply_template.py +125 -0
- package/.claude/skills/banana-image/scripts/banana_image_exec.ts +412 -0
- package/.claude/skills/banana-image/scripts/batch_prep.py +82 -0
- package/.claude/skills/banana-image/scripts/package-lock.json +1437 -0
- package/.claude/skills/banana-image/scripts/package.json +18 -0
- package/.claude/skills/banana-image/scripts/requirements.txt +10 -0
- package/.claude/skills/banana-image/templates/poster.json +22 -0
- package/.claude/skills/banana-image/templates/product.json +17 -0
- package/.claude/skills/banana-image/templates/social.json +22 -0
- package/.claude/skills/banana-image/templates/thumbnail.json +17 -0
- package/.claude/skills/brainstorm/SKILL.md +648 -0
- package/.claude/skills/bug-detective/SKILL.md +1206 -0
- package/.claude/skills/code-patterns/SKILL.md +590 -0
- package/.claude/skills/collaborating-with-codex/SKILL.md +174 -0
- package/.claude/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
- package/.claude/skills/collaborating-with-gemini/SKILL.md +194 -0
- package/.claude/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
- package/.claude/skills/crud-development/SKILL.md +649 -0
- package/.claude/skills/data-permission/SKILL.md +599 -0
- package/.claude/skills/database-ops/SKILL.md +407 -0
- package/.claude/skills/error-handler/SKILL.md +371 -0
- package/.claude/skills/file-oss-management/SKILL.md +863 -0
- package/.claude/skills/git-workflow/SKILL.md +375 -0
- package/.claude/skills/json-serialization/SKILL.md +357 -0
- package/.claude/skills/leniu-api-development/SKILL.md +803 -0
- package/.claude/skills/leniu-architecture-design/SKILL.md +598 -0
- package/.claude/skills/leniu-backend-annotations/SKILL.md +664 -0
- package/.claude/skills/leniu-code-patterns/SKILL.md +365 -0
- package/.claude/skills/leniu-crud-development/SKILL.md +1110 -0
- package/.claude/skills/leniu-data-permission/SKILL.md +256 -0
- package/.claude/skills/leniu-database-ops/SKILL.md +426 -0
- package/.claude/skills/leniu-error-handler/SKILL.md +462 -0
- package/.claude/skills/leniu-java-amount-handling/SKILL.md +461 -0
- package/.claude/skills/leniu-java-code-style/SKILL.md +510 -0
- package/.claude/skills/leniu-java-concurrent/SKILL.md +400 -0
- package/.claude/skills/leniu-java-entity/SKILL.md +751 -0
- package/.claude/skills/leniu-java-export/SKILL.md +560 -0
- package/.claude/skills/leniu-java-logging/SKILL.md +832 -0
- package/.claude/skills/leniu-java-mq/SKILL.md +338 -0
- package/.claude/skills/leniu-java-mybatis/SKILL.md +640 -0
- package/.claude/skills/leniu-java-report-query-param/SKILL.md +291 -0
- package/.claude/skills/leniu-java-task/SKILL.md +367 -0
- package/.claude/skills/leniu-java-total-line/SKILL.md +195 -0
- package/.claude/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
- package/.claude/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
- package/.claude/skills/leniu-mealtime/SKILL.md +215 -0
- package/.claude/skills/leniu-redis-cache/SKILL.md +316 -0
- package/.claude/skills/leniu-security-guard/SKILL.md +520 -0
- package/.claude/skills/leniu-utils-toolkit/SKILL.md +380 -0
- package/.claude/skills/openspec-apply-change/SKILL.md +156 -0
- package/.claude/skills/openspec-archive-change/SKILL.md +114 -0
- package/.claude/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/.claude/skills/openspec-continue-change/SKILL.md +118 -0
- package/.claude/skills/openspec-explore/SKILL.md +290 -0
- package/.claude/skills/openspec-ff-change/SKILL.md +101 -0
- package/.claude/skills/openspec-new-change/SKILL.md +74 -0
- package/.claude/skills/openspec-onboard/SKILL.md +529 -0
- package/.claude/skills/openspec-sync-specs/SKILL.md +138 -0
- package/.claude/skills/openspec-verify-change/SKILL.md +168 -0
- package/.claude/skills/performance-doctor/SKILL.md +627 -0
- package/.claude/skills/project-navigator/SKILL.md +305 -0
- package/.claude/skills/redis-cache/SKILL.md +839 -0
- package/.claude/skills/scheduled-jobs/SKILL.md +633 -0
- package/.claude/skills/security-guard/SKILL.md +748 -0
- package/.claude/skills/sms-mail/SKILL.md +766 -0
- package/.claude/skills/social-login/SKILL.md +668 -0
- package/.claude/skills/store-pc/SKILL.md +366 -0
- package/.claude/skills/task-tracker/SKILL.md +307 -0
- package/.claude/skills/tech-decision/SKILL.md +393 -0
- package/.claude/skills/tenant-management/SKILL.md +603 -0
- package/.claude/skills/test-development/SKILL.md +755 -0
- package/.claude/skills/ui-pc/SKILL.md +438 -0
- package/.claude/skills/utils-toolkit/SKILL.md +615 -0
- package/.claude/skills/websocket-sse/SKILL.md +716 -0
- package/.claude/skills/workflow-engine/SKILL.md +676 -0
- package/.claude/templates//345/276/205/345/212/236/346/270/205/345/215/225/346/250/241/346/235/277.md +56 -0
- package/.claude/templates//351/234/200/346/261/202/346/226/207/346/241/243/346/250/241/346/235/277.md +85 -0
- package/.claude/templates//351/241/271/347/233/256/347/212/266/346/200/201/346/250/241/346/235/277.md +43 -0
- package/.codex/skills/add-skill/SKILL.md +352 -0
- package/.codex/skills/add-todo/SKILL.md +269 -0
- package/.codex/skills/api-development/SKILL.md +693 -0
- package/.codex/skills/architecture-design/SKILL.md +628 -0
- package/.codex/skills/backend-annotations/SKILL.md +664 -0
- package/.codex/skills/banana-image/CHANGELOG.md +37 -0
- package/.codex/skills/banana-image/README.md +146 -0
- package/.codex/skills/banana-image/SKILL.md +164 -0
- package/.codex/skills/banana-image/assets/logo.png +0 -0
- package/.codex/skills/banana-image/references/advanced-usage.md +189 -0
- package/.codex/skills/banana-image/scripts/apply_template.py +125 -0
- package/.codex/skills/banana-image/scripts/banana_image_exec.ts +412 -0
- package/.codex/skills/banana-image/scripts/batch_prep.py +82 -0
- package/.codex/skills/banana-image/scripts/package-lock.json +1437 -0
- package/.codex/skills/banana-image/scripts/package.json +18 -0
- package/.codex/skills/banana-image/scripts/requirements.txt +10 -0
- package/.codex/skills/banana-image/templates/poster.json +22 -0
- package/.codex/skills/banana-image/templates/product.json +17 -0
- package/.codex/skills/banana-image/templates/social.json +22 -0
- package/.codex/skills/banana-image/templates/thumbnail.json +17 -0
- package/.codex/skills/brainstorm/SKILL.md +648 -0
- package/.codex/skills/bug-detective/SKILL.md +1206 -0
- package/.codex/skills/check/SKILL.md +367 -0
- package/.codex/skills/code-patterns/SKILL.md +442 -0
- package/.codex/skills/collaborating-with-codex/SKILL.md +174 -0
- package/.codex/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
- package/.codex/skills/collaborating-with-gemini/SKILL.md +194 -0
- package/.codex/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
- package/.codex/skills/crud/SKILL.md +265 -0
- package/.codex/skills/crud-development/SKILL.md +637 -0
- package/.codex/skills/data-permission/SKILL.md +591 -0
- package/.codex/skills/database-ops/SKILL.md +553 -0
- package/.codex/skills/dev/SKILL.md +187 -0
- package/.codex/skills/error-handler/SKILL.md +361 -0
- package/.codex/skills/file-oss-management/SKILL.md +863 -0
- package/.codex/skills/git-workflow/SKILL.md +375 -0
- package/.codex/skills/init-docs/SKILL.md +194 -0
- package/.codex/skills/json-serialization/SKILL.md +357 -0
- package/.codex/skills/leniu-api-development/SKILL.md +803 -0
- package/.codex/skills/leniu-architecture-design/SKILL.md +594 -0
- package/.codex/skills/leniu-backend-annotations/SKILL.md +662 -0
- package/.codex/skills/leniu-code-patterns/SKILL.md +365 -0
- package/.codex/skills/leniu-crud-development/SKILL.md +1110 -0
- package/.codex/skills/leniu-data-permission/SKILL.md +256 -0
- package/.codex/skills/leniu-database-ops/SKILL.md +426 -0
- package/.codex/skills/leniu-error-handler/SKILL.md +462 -0
- package/.codex/skills/leniu-java-amount-handling/SKILL.md +461 -0
- package/.codex/skills/leniu-java-code-style/SKILL.md +510 -0
- package/.codex/skills/leniu-java-concurrent/SKILL.md +400 -0
- package/.codex/skills/leniu-java-entity/SKILL.md +751 -0
- package/.codex/skills/leniu-java-export/SKILL.md +560 -0
- package/.codex/skills/leniu-java-logging/SKILL.md +832 -0
- package/.codex/skills/leniu-java-mq/SKILL.md +338 -0
- package/.codex/skills/leniu-java-mybatis/SKILL.md +640 -0
- package/.codex/skills/leniu-java-report-query-param/SKILL.md +291 -0
- package/.codex/skills/leniu-java-task/SKILL.md +367 -0
- package/.codex/skills/leniu-java-total-line/SKILL.md +195 -0
- package/.codex/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
- package/.codex/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
- package/.codex/skills/leniu-mealtime/SKILL.md +215 -0
- package/.codex/skills/leniu-redis-cache/SKILL.md +316 -0
- package/.codex/skills/leniu-security-guard/SKILL.md +520 -0
- package/.codex/skills/leniu-utils-toolkit/SKILL.md +378 -0
- package/.codex/skills/next/SKILL.md +137 -0
- package/.codex/skills/openspec-apply-change/SKILL.md +156 -0
- package/.codex/skills/openspec-archive-change/SKILL.md +114 -0
- package/.codex/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/.codex/skills/openspec-continue-change/SKILL.md +118 -0
- package/.codex/skills/openspec-explore/SKILL.md +290 -0
- package/.codex/skills/openspec-ff-change/SKILL.md +101 -0
- package/.codex/skills/openspec-new-change/SKILL.md +74 -0
- package/.codex/skills/openspec-onboard/SKILL.md +529 -0
- package/.codex/skills/openspec-sync-specs/SKILL.md +138 -0
- package/.codex/skills/openspec-verify-change/SKILL.md +168 -0
- package/.codex/skills/performance-doctor/SKILL.md +627 -0
- package/.codex/skills/progress/SKILL.md +193 -0
- package/.codex/skills/project-navigator/SKILL.md +286 -0
- package/.codex/skills/redis-cache/SKILL.md +829 -0
- package/.codex/skills/scheduled-jobs/SKILL.md +633 -0
- package/.codex/skills/security-guard/SKILL.md +739 -0
- package/.codex/skills/sms-mail/SKILL.md +766 -0
- package/.codex/skills/social-login/SKILL.md +668 -0
- package/.codex/skills/start/SKILL.md +154 -0
- package/.codex/skills/store-pc/SKILL.md +491 -0
- package/.codex/skills/sync/SKILL.md +149 -0
- package/.codex/skills/task-tracker/SKILL.md +307 -0
- package/.codex/skills/tech-decision/SKILL.md +393 -0
- package/.codex/skills/tenant-management/SKILL.md +603 -0
- package/.codex/skills/test-development/SKILL.md +755 -0
- package/.codex/skills/ui-pc/SKILL.md +475 -0
- package/.codex/skills/update-status/SKILL.md +159 -0
- package/.codex/skills/utils-toolkit/SKILL.md +593 -0
- package/.codex/skills/websocket-sse/SKILL.md +716 -0
- package/.codex/skills/workflow-engine/SKILL.md +676 -0
- package/.cursor/agents/code-reviewer.md +139 -0
- package/.cursor/agents/project-manager.md +159 -0
- package/.cursor/commands/opsx-apply.md +152 -0
- package/.cursor/commands/opsx-archive.md +157 -0
- package/.cursor/commands/opsx-bulk-archive.md +242 -0
- package/.cursor/commands/opsx-continue.md +114 -0
- package/.cursor/commands/opsx-explore.md +174 -0
- package/.cursor/commands/opsx-ff.md +94 -0
- package/.cursor/commands/opsx-new.md +69 -0
- package/.cursor/commands/opsx-onboard.md +525 -0
- package/.cursor/commands/opsx-sync.md +134 -0
- package/.cursor/commands/opsx-verify.md +164 -0
- package/.cursor/mcp.json +22 -0
- package/.cursor/skills/add-skill/SKILL.md +352 -0
- package/.cursor/skills/api-development/SKILL.md +560 -0
- package/.cursor/skills/architecture-design/SKILL.md +756 -0
- package/.cursor/skills/backend-annotations/SKILL.md +674 -0
- package/.cursor/skills/banana-image/CHANGELOG.md +37 -0
- package/.cursor/skills/banana-image/README.md +146 -0
- package/.cursor/skills/banana-image/SKILL.md +164 -0
- package/.cursor/skills/banana-image/assets/logo.png +0 -0
- package/.cursor/skills/banana-image/references/advanced-usage.md +189 -0
- package/.cursor/skills/banana-image/scripts/apply_template.py +125 -0
- package/.cursor/skills/banana-image/scripts/banana_image_exec.ts +412 -0
- package/.cursor/skills/banana-image/scripts/batch_prep.py +82 -0
- package/.cursor/skills/banana-image/scripts/package-lock.json +1437 -0
- package/.cursor/skills/banana-image/scripts/package.json +18 -0
- package/.cursor/skills/banana-image/scripts/requirements.txt +10 -0
- package/.cursor/skills/banana-image/templates/poster.json +22 -0
- package/.cursor/skills/banana-image/templates/product.json +17 -0
- package/.cursor/skills/banana-image/templates/social.json +22 -0
- package/.cursor/skills/banana-image/templates/thumbnail.json +17 -0
- package/.cursor/skills/brainstorm/SKILL.md +648 -0
- package/.cursor/skills/bug-detective/SKILL.md +1206 -0
- package/.cursor/skills/code-patterns/SKILL.md +590 -0
- package/.cursor/skills/collaborating-with-codex/SKILL.md +174 -0
- package/.cursor/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
- package/.cursor/skills/collaborating-with-gemini/SKILL.md +194 -0
- package/.cursor/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
- package/.cursor/skills/crud-development/SKILL.md +649 -0
- package/.cursor/skills/data-permission/SKILL.md +599 -0
- package/.cursor/skills/database-ops/SKILL.md +407 -0
- package/.cursor/skills/error-handler/SKILL.md +371 -0
- package/.cursor/skills/file-oss-management/SKILL.md +863 -0
- package/.cursor/skills/git-workflow/SKILL.md +375 -0
- package/.cursor/skills/json-serialization/SKILL.md +357 -0
- package/.cursor/skills/leniu-api-development/SKILL.md +803 -0
- package/.cursor/skills/leniu-architecture-design/SKILL.md +598 -0
- package/.cursor/skills/leniu-backend-annotations/SKILL.md +664 -0
- package/.cursor/skills/leniu-code-patterns/SKILL.md +365 -0
- package/.cursor/skills/leniu-crud-development/SKILL.md +1110 -0
- package/.cursor/skills/leniu-data-permission/SKILL.md +256 -0
- package/.cursor/skills/leniu-database-ops/SKILL.md +426 -0
- package/.cursor/skills/leniu-error-handler/SKILL.md +462 -0
- package/.cursor/skills/leniu-java-amount-handling/SKILL.md +461 -0
- package/.cursor/skills/leniu-java-code-style/SKILL.md +510 -0
- package/.cursor/skills/leniu-java-concurrent/SKILL.md +400 -0
- package/.cursor/skills/leniu-java-entity/SKILL.md +751 -0
- package/.cursor/skills/leniu-java-export/SKILL.md +560 -0
- package/.cursor/skills/leniu-java-logging/SKILL.md +832 -0
- package/.cursor/skills/leniu-java-mq/SKILL.md +338 -0
- package/.cursor/skills/leniu-java-mybatis/SKILL.md +640 -0
- package/.cursor/skills/leniu-java-report-query-param/SKILL.md +291 -0
- package/.cursor/skills/leniu-java-task/SKILL.md +367 -0
- package/.cursor/skills/leniu-java-total-line/SKILL.md +195 -0
- package/.cursor/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
- package/.cursor/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
- package/.cursor/skills/leniu-mealtime/SKILL.md +215 -0
- package/.cursor/skills/leniu-redis-cache/SKILL.md +316 -0
- package/.cursor/skills/leniu-security-guard/SKILL.md +520 -0
- package/.cursor/skills/leniu-utils-toolkit/SKILL.md +380 -0
- package/.cursor/skills/openspec-apply-change/SKILL.md +156 -0
- package/.cursor/skills/openspec-archive-change/SKILL.md +114 -0
- package/.cursor/skills/openspec-bulk-archive-change/SKILL.md +246 -0
- package/.cursor/skills/openspec-continue-change/SKILL.md +118 -0
- package/.cursor/skills/openspec-explore/SKILL.md +290 -0
- package/.cursor/skills/openspec-ff-change/SKILL.md +101 -0
- package/.cursor/skills/openspec-new-change/SKILL.md +74 -0
- package/.cursor/skills/openspec-onboard/SKILL.md +529 -0
- package/.cursor/skills/openspec-sync-specs/SKILL.md +138 -0
- package/.cursor/skills/openspec-verify-change/SKILL.md +168 -0
- package/.cursor/skills/performance-doctor/SKILL.md +627 -0
- package/.cursor/skills/project-navigator/SKILL.md +305 -0
- package/.cursor/skills/redis-cache/SKILL.md +839 -0
- package/.cursor/skills/scheduled-jobs/SKILL.md +633 -0
- package/.cursor/skills/security-guard/SKILL.md +748 -0
- package/.cursor/skills/sms-mail/SKILL.md +766 -0
- package/.cursor/skills/social-login/SKILL.md +668 -0
- package/.cursor/skills/store-pc/SKILL.md +366 -0
- package/.cursor/skills/task-tracker/SKILL.md +307 -0
- package/.cursor/skills/tech-decision/SKILL.md +393 -0
- package/.cursor/skills/tenant-management/SKILL.md +603 -0
- package/.cursor/skills/test-development/SKILL.md +755 -0
- package/.cursor/skills/ui-pc/SKILL.md +438 -0
- package/.cursor/skills/utils-toolkit/SKILL.md +615 -0
- package/.cursor/skills/websocket-sse/SKILL.md +716 -0
- package/.cursor/skills/workflow-engine/SKILL.md +676 -0
- package/AGENTS.md +669 -0
- package/CLAUDE.md +205 -0
- package/README.md +205 -0
- package/bin/index.js +179 -0
- package/init.sh +178 -0
- package/package.json +27 -0
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: sync
|
|
3
|
+
description: |
|
|
4
|
+
当需要全量同步项目代码状态、生成综合报告时自动使用此 Skill。
|
|
5
|
+
|
|
6
|
+
触发场景:
|
|
7
|
+
- 每周末整理项目代码状态和文档
|
|
8
|
+
- 手动修改过代码或文档后需要重新同步
|
|
9
|
+
- 新成员加入或项目交接时全量检查
|
|
10
|
+
- 生成完整的项目状态报告
|
|
11
|
+
|
|
12
|
+
触发词:同步、sync、全量同步、状态同步、项目同步、代码同步、定期整理
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# /sync - 项目代码状态同步
|
|
16
|
+
|
|
17
|
+
一键同步后端代码状态、生成项目文档、确保代码与文档数据一致。适合定期整理或发现数据不一致时使用。
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 🎯 适用场景
|
|
22
|
+
|
|
23
|
+
| 场景 | 说明 |
|
|
24
|
+
|------|------|
|
|
25
|
+
| **定期整理** | 每周末整理项目代码状态和文档 |
|
|
26
|
+
| **数据不一致** | 手动修改过代码或文档后需要重新同步 |
|
|
27
|
+
| **项目交接** | 新成员加入或项目交接时全量检查 |
|
|
28
|
+
| **构建报告** | 生成完整的项目状态报告供管理者查看 |
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 🚀 执行流程
|
|
33
|
+
|
|
34
|
+
### 第一步:扫描后端代码状态(强制执行)
|
|
35
|
+
|
|
36
|
+
#### 1.1 扫描业务模块和功能完整性
|
|
37
|
+
|
|
38
|
+
```bash
|
|
39
|
+
# 查找所有业务模块的 Controller
|
|
40
|
+
Glob pattern: "ruoyi-modules/ruoyi-*/src/main/java/**/controller/*Controller.java"
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
对每个功能检查 **7 个必需的文件**。
|
|
44
|
+
|
|
45
|
+
#### 1.2 扫描代码规范问题
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
Grep pattern: "package com\.ruoyi\." path: ruoyi-modules/ output_mode: files_with_matches
|
|
49
|
+
Grep pattern: "BeanUtil\.copy|BeanUtils\.copy" path: ruoyi-modules/ output_mode: files_with_matches
|
|
50
|
+
Grep pattern: "@SaCheckPermission" path: ruoyi-modules/ glob: "*Controller.java" output_mode: files_with_matches
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
#### 1.3 扫描 Git 提交记录
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
git log -30 --oneline --format="%h %s %ad" --date=short
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
#### 1.4 扫描 TODO/FIXME 标记
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
Grep pattern: "TODO:|FIXME:|XXX:" path: ruoyi-modules/ glob: "*.java" output_mode: content -B 1
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
### 第二步:分析 Git 提交历史
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
git log -5 --oneline
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
**分析内容**:
|
|
74
|
+
- 最近在做什么功能
|
|
75
|
+
- 是否有 FIXME/BUG 相关的提交
|
|
76
|
+
- 代码活跃度
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
### 第三步:整合检查结果
|
|
81
|
+
|
|
82
|
+
#### 3.1 与 `/check` 命令同步
|
|
83
|
+
|
|
84
|
+
提取检查结果中的:
|
|
85
|
+
- 严重问题数量
|
|
86
|
+
- 警告问题数量
|
|
87
|
+
- 需要修复的问题清单
|
|
88
|
+
|
|
89
|
+
#### 3.2 与 `/progress` 命令同步
|
|
90
|
+
|
|
91
|
+
提取数据:
|
|
92
|
+
- 各模块完成率
|
|
93
|
+
- 待完成功能列表
|
|
94
|
+
- 代码质量评分
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
### 第四步:生成项目同步报告
|
|
99
|
+
|
|
100
|
+
```markdown
|
|
101
|
+
# 🔄 项目代码状态同步报告
|
|
102
|
+
|
|
103
|
+
**同步时间**:YYYY-MM-DD HH:mm
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 📈 最新进展
|
|
108
|
+
|
|
109
|
+
### Git 提交摘要
|
|
110
|
+
- **最新提交**:[commit message] ([hash])
|
|
111
|
+
- **最近 7 天**:X 次提交,涉及 X 个功能模块
|
|
112
|
+
- **提交活跃度**:[活跃/正常/低活跃]
|
|
113
|
+
|
|
114
|
+
### 代码完成度
|
|
115
|
+
| 模块 | 功能数 | 完成 | 进行中 | 待开发 | 完成率 |
|
|
116
|
+
|------|--------|------|--------|--------|---------|
|
|
117
|
+
| demo | 3 | 3 | 0 | 0 | 100% ✅ |
|
|
118
|
+
| business | 5 | 3 | 2 | 0 | 60% 🔄 |
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
## ⚠️ 紧急问题(必须立即处理)
|
|
123
|
+
|
|
124
|
+
### 高优先级 FIXME
|
|
125
|
+
| 文件 | 行号 | 问题 | 影响 |
|
|
126
|
+
|------|------|------|------|
|
|
127
|
+
| PaymentService.java | 156 | 退款金额计算错误 | 财务准确性 |
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
## 🔍 代码规范检查结果
|
|
132
|
+
|
|
133
|
+
### 总体评分
|
|
134
|
+
| 维度 | 评分 | 说明 |
|
|
135
|
+
|------|------|------|
|
|
136
|
+
| 包名规范 | ✅ | 所有包名符合 org.dromara.* 规范 |
|
|
137
|
+
| 权限注解 | ⚠️ | 3 个接口缺少 @SaCheckPermission |
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## 🔗 相关命令
|
|
142
|
+
|
|
143
|
+
| 命令 | 用途 | 何时使用 |
|
|
144
|
+
|------|------|---------|
|
|
145
|
+
| `/update-status` | 增量更新 | 功能完成后立即使用 |
|
|
146
|
+
| `/sync` | 全量同步 | 每周一次定期整理 |
|
|
147
|
+
| `/progress` | 项目进度分析 | 了解完成情况 |
|
|
148
|
+
| `/check` | 代码规范检查 | 代码审查前 |
|
|
149
|
+
```
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-tracker
|
|
3
|
+
description: |
|
|
4
|
+
开发任务进度跟踪系统。当用户需要记录复杂开发任务的需求、步骤、进度时自动使用此 Skill。
|
|
5
|
+
创建 Markdown 文档实现任务上下文持久化,支持中断后快速恢复。
|
|
6
|
+
|
|
7
|
+
触发场景:
|
|
8
|
+
- 多步骤功能开发(需要跨会话)
|
|
9
|
+
- 复杂需求的步骤分解与跟踪
|
|
10
|
+
- 任务进度记录与更新
|
|
11
|
+
- 中断后的任务恢复
|
|
12
|
+
- 历史任务查询与归档
|
|
13
|
+
|
|
14
|
+
触发词:创建任务、跟踪任务、记录进度、任务跟踪、继续任务、恢复任务、查看任务、归档任务、任务列表
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# 任务跟踪技能
|
|
18
|
+
|
|
19
|
+
## 何时使用
|
|
20
|
+
|
|
21
|
+
✅ 用户明确要求跟踪任务("创建任务跟踪"、"记录进度"、"跟踪这个任务")
|
|
22
|
+
✅ 复杂的多步骤开发任务
|
|
23
|
+
✅ 需要跨会话恢复的工作
|
|
24
|
+
|
|
25
|
+
❌ 简单的单步操作
|
|
26
|
+
❌ 纯咨询性对话
|
|
27
|
+
|
|
28
|
+
## 目录结构
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
{项目根目录}/
|
|
32
|
+
└── docs/
|
|
33
|
+
└── tasks/
|
|
34
|
+
├── README.md # 使用说明(首次自动生成)
|
|
35
|
+
├── active/ # 进行中的任务
|
|
36
|
+
│ └── task-20260121-153045-用户反馈.md
|
|
37
|
+
└── archive/ # 已完成的任务
|
|
38
|
+
└── 2026-01/
|
|
39
|
+
└── task-20260120-优惠券系统.md
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## 文档模板
|
|
43
|
+
|
|
44
|
+
```markdown
|
|
45
|
+
# 任务:{任务标题}
|
|
46
|
+
|
|
47
|
+
**状态**: 🟢 进行中 | 🔵 已完成 | 🔴 已暂停
|
|
48
|
+
**创建时间**: {YYYY-MM-DD HH:MM:SS}
|
|
49
|
+
**更新时间**: {YYYY-MM-DD HH:MM:SS}
|
|
50
|
+
**Git 分支**: {branch_name}
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
## 📋 需求描述
|
|
55
|
+
|
|
56
|
+
{用户原始需求的详细描述,包括背景、目标、约束条件}
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## 🎯 实现步骤
|
|
61
|
+
|
|
62
|
+
- [ ] 1. {步骤1简述}
|
|
63
|
+
- **文件**: `path/to/file.ext`
|
|
64
|
+
- **说明**: {详细说明}
|
|
65
|
+
|
|
66
|
+
- [x] 2. {步骤2简述}
|
|
67
|
+
- **文件**: `another/file.ext`
|
|
68
|
+
- **说明**: {详细说明}
|
|
69
|
+
- **完成时间**: {YYYY-MM-DD HH:MM}
|
|
70
|
+
|
|
71
|
+
- [ ] 3. {步骤3简述}
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## 📝 关键决策
|
|
76
|
+
|
|
77
|
+
- **模块归属**: {模块名称}
|
|
78
|
+
- **数据库表**: {表名前缀}
|
|
79
|
+
- **主键策略**: {ID生成方式}
|
|
80
|
+
- **技术选型**: {框架/库版本}
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 🔄 当前进度
|
|
85
|
+
|
|
86
|
+
**已完成**: {X} / {总数} 步骤 ({百分比}%)
|
|
87
|
+
|
|
88
|
+
**下一步操作**:
|
|
89
|
+
1. {下一步具体要做的事情}
|
|
90
|
+
2. {再下一步}
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## 📁 相关文件
|
|
95
|
+
|
|
96
|
+
- `{文件路径}` - {文件用途}
|
|
97
|
+
|
|
98
|
+
---
|
|
99
|
+
|
|
100
|
+
## ⚠️ 注意事项
|
|
101
|
+
|
|
102
|
+
- {需要特别注意的点}
|
|
103
|
+
- {已知问题或风险}
|
|
104
|
+
|
|
105
|
+
---
|
|
106
|
+
|
|
107
|
+
## 💬 变更记录
|
|
108
|
+
|
|
109
|
+
### {YYYY-MM-DD HH:MM}
|
|
110
|
+
- {本次更新内容}
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## 核心操作
|
|
114
|
+
|
|
115
|
+
### 1. 创建任务
|
|
116
|
+
|
|
117
|
+
**触发**:用户说"创建任务跟踪"、"记录这个任务"
|
|
118
|
+
|
|
119
|
+
**步骤**:
|
|
120
|
+
```bash
|
|
121
|
+
# 1. 确保目录存在
|
|
122
|
+
mkdir -p docs/tasks/active docs/tasks/archive
|
|
123
|
+
|
|
124
|
+
# 2. 生成文件名
|
|
125
|
+
# 格式: task-{YYYYMMdd-HHMMSS}-{任务简称}.md
|
|
126
|
+
TIMESTAMP=$(date +%Y%m%d-%H%M%S)
|
|
127
|
+
SLUG="{任务标题简化版,截断30字符}"
|
|
128
|
+
FILENAME="task-${TIMESTAMP}-${SLUG}.md"
|
|
129
|
+
|
|
130
|
+
# 3. 创建文档
|
|
131
|
+
# 填充上述模板内容到 docs/tasks/active/$FILENAME
|
|
132
|
+
|
|
133
|
+
# 4. 首次使用时创建 README.md(如不存在)
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
**README.md 内容**:
|
|
137
|
+
```markdown
|
|
138
|
+
# 任务跟踪中心
|
|
139
|
+
|
|
140
|
+
## 目录说明
|
|
141
|
+
- `active/` - 进行中的任务
|
|
142
|
+
- `archive/` - 已完成的任务(按月归档)
|
|
143
|
+
|
|
144
|
+
## 使用方法
|
|
145
|
+
1. Claude 自动创建任务跟踪文档
|
|
146
|
+
2. 手动编辑文档更新进度(修改复选框)
|
|
147
|
+
3. 任务完成后移动到 archive/{年-月}/
|
|
148
|
+
|
|
149
|
+
## 快速恢复
|
|
150
|
+
```bash
|
|
151
|
+
# 查看活跃任务
|
|
152
|
+
ls -1 active/
|
|
153
|
+
|
|
154
|
+
# 恢复任务
|
|
155
|
+
cat active/task-20260121-*.md
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### 2. 更新进度
|
|
159
|
+
|
|
160
|
+
**触发**:用户说"更新进度"、"标记步骤X完成"
|
|
161
|
+
|
|
162
|
+
**步骤**:
|
|
163
|
+
```bash
|
|
164
|
+
# 1. 找到当前任务文档(最新的那个)
|
|
165
|
+
TASK_FILE=$(ls -t docs/tasks/active/*.md | head -1)
|
|
166
|
+
|
|
167
|
+
# 2. 更新复选框: - [ ] → - [x]
|
|
168
|
+
sed -i "s/^- \[ \] ${STEP_NUMBER}\./- [x] ${STEP_NUMBER}./" "$TASK_FILE"
|
|
169
|
+
|
|
170
|
+
# 3. 更新时间戳
|
|
171
|
+
CURRENT_TIME=$(date '+%Y-%m-%d %H:%M:%S')
|
|
172
|
+
sed -i "s/^\*\*更新时间\*\*:.*/\*\*更新时间\*\*: $CURRENT_TIME/" "$TASK_FILE"
|
|
173
|
+
|
|
174
|
+
# 4. 添加变更记录
|
|
175
|
+
echo -e "### $CURRENT_TIME\n- 完成步骤 $STEP_NUMBER: $DESCRIPTION" >> "$TASK_FILE"
|
|
176
|
+
|
|
177
|
+
# 5. 重新计算进度百分比
|
|
178
|
+
TOTAL=$(grep -c "^- \[.\]" "$TASK_FILE")
|
|
179
|
+
DONE=$(grep -c "^- \[x\]" "$TASK_FILE")
|
|
180
|
+
PERCENT=$((DONE * 100 / TOTAL))
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### 3. 列出活跃任务
|
|
184
|
+
|
|
185
|
+
**触发**:用户说"有哪些任务"、"列出任务"
|
|
186
|
+
|
|
187
|
+
**步骤**:
|
|
188
|
+
```bash
|
|
189
|
+
for file in docs/tasks/active/*.md; do
|
|
190
|
+
TITLE=$(grep "^# 任务:" "$file" | sed 's/^# 任务://')
|
|
191
|
+
STATUS=$(grep "^\*\*状态\*\*:" "$file" | sed 's/.*: //')
|
|
192
|
+
PROGRESS=$(grep "^\*\*已完成\*\*:" "$file" | sed 's/.*: //')
|
|
193
|
+
|
|
194
|
+
echo "📄 $TITLE"
|
|
195
|
+
echo " 状态: $STATUS | 进度: $PROGRESS"
|
|
196
|
+
echo " 文件: $file"
|
|
197
|
+
echo ""
|
|
198
|
+
done
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### 4. 恢复任务
|
|
202
|
+
|
|
203
|
+
**触发**:用户说"继续上次的任务"、"恢复任务"
|
|
204
|
+
|
|
205
|
+
**步骤**:
|
|
206
|
+
```bash
|
|
207
|
+
# 1. 确定要恢复的任务
|
|
208
|
+
if [ 用户指定了任务名 ]; then
|
|
209
|
+
TASK_FILE=$(find docs/tasks/active -name "*{用户指定的关键词}*.md" | head -1)
|
|
210
|
+
else
|
|
211
|
+
TASK_FILE=$(ls -t docs/tasks/active/*.md | head -1) # 最新的
|
|
212
|
+
fi
|
|
213
|
+
|
|
214
|
+
# 2. 读取文档内容
|
|
215
|
+
cat "$TASK_FILE"
|
|
216
|
+
|
|
217
|
+
# 3. 提取关键信息并向用户确认
|
|
218
|
+
TITLE=$(grep "^# 任务:" "$TASK_FILE" | sed 's/^# 任务://')
|
|
219
|
+
NEXT_STEPS=$(提取 "下一步操作" 部分)
|
|
220
|
+
|
|
221
|
+
# 4. 输出恢复信息
|
|
222
|
+
echo "正在恢复任务:$TITLE"
|
|
223
|
+
echo "下一步操作:"
|
|
224
|
+
echo "$NEXT_STEPS"
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
### 5. 归档任务
|
|
228
|
+
|
|
229
|
+
**触发**:用户说"任务完成"、"归档任务"
|
|
230
|
+
|
|
231
|
+
**步骤**:
|
|
232
|
+
```bash
|
|
233
|
+
# 1. 更新状态
|
|
234
|
+
sed -i "s/^\*\*状态\*\*:.*/\*\*状态\*\*: 🔵 已完成/" "$TASK_FILE"
|
|
235
|
+
|
|
236
|
+
# 2. 移动到归档目录
|
|
237
|
+
YEAR_MONTH=$(date +%Y-%m)
|
|
238
|
+
mkdir -p "docs/tasks/archive/$YEAR_MONTH"
|
|
239
|
+
mv "$TASK_FILE" "docs/tasks/archive/$YEAR_MONTH/"
|
|
240
|
+
|
|
241
|
+
echo "✅ 已归档到: docs/tasks/archive/$YEAR_MONTH/"
|
|
242
|
+
```
|
|
243
|
+
|
|
244
|
+
## 使用示例
|
|
245
|
+
|
|
246
|
+
**场景1:创建任务**
|
|
247
|
+
```
|
|
248
|
+
用户: "创建一个用户反馈功能的任务跟踪"
|
|
249
|
+
|
|
250
|
+
Claude:
|
|
251
|
+
✅ 创建文档: docs/tasks/active/task-20260121-153045-用户反馈.md
|
|
252
|
+
📋 已记录需求描述
|
|
253
|
+
🎯 列出5个实现步骤
|
|
254
|
+
💡 开始第一步:设计数据库表结构
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
**场景2:更新进度**
|
|
258
|
+
```
|
|
259
|
+
用户: "标记步骤1和2完成"
|
|
260
|
+
|
|
261
|
+
Claude:
|
|
262
|
+
✅ 已更新进度: 2/5 (40%)
|
|
263
|
+
⏰ 更新时间: 2026-01-21 16:45:30
|
|
264
|
+
📌 下一步: 实现 Service 层
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
**场景3:恢复任务**
|
|
268
|
+
```
|
|
269
|
+
[用户重新打开窗口]
|
|
270
|
+
用户: "继续上次的用户反馈功能"
|
|
271
|
+
|
|
272
|
+
Claude:
|
|
273
|
+
📄 正在恢复任务:用户反馈管理功能
|
|
274
|
+
✅ 已完成: 数据库设计、实体类创建 (2/5)
|
|
275
|
+
📌 下一步: 实现 Service 层
|
|
276
|
+
🔗 文件: docs/tasks/active/task-20260121-153045-用户反馈.md
|
|
277
|
+
```
|
|
278
|
+
|
|
279
|
+
## 最佳实践
|
|
280
|
+
|
|
281
|
+
**应该做**:
|
|
282
|
+
- ✅ 一个任务 = 一个完整功能开发
|
|
283
|
+
- ✅ 及时更新进度(完成一步更新一次)
|
|
284
|
+
- ✅ 详细记录关键决策
|
|
285
|
+
- ✅ 保留原始需求描述
|
|
286
|
+
|
|
287
|
+
**不应该做**:
|
|
288
|
+
- ❌ 为每个小改动创建任务
|
|
289
|
+
- ❌ 删除旧任务(归档即可)
|
|
290
|
+
- ❌ 自动归档(由用户决定)
|
|
291
|
+
|
|
292
|
+
## 错误处理
|
|
293
|
+
|
|
294
|
+
**目录不存在** → 自动创建 `docs/tasks/active` 和 `archive`
|
|
295
|
+
|
|
296
|
+
**没有活跃任务** → 提示用户:创建新任务 | 恢复归档任务 | 查看历史
|
|
297
|
+
|
|
298
|
+
**文档格式错误** → 尽量解析,提示用户保持格式:
|
|
299
|
+
- 保持 `##` 标题层级
|
|
300
|
+
- 复选框格式:`- [ ]` 或 `- [x]`
|
|
301
|
+
- 不删除 `**字段**` 标记
|
|
302
|
+
|
|
303
|
+
## 功能边界
|
|
304
|
+
|
|
305
|
+
**适用于**:单人开发、本地存储、快速恢复上下文
|
|
306
|
+
|
|
307
|
+
**不适用于**:多人协作、实时同步、复杂依赖管理(请使用专业项目管理工具)
|