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,269 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: add-todo
|
|
3
|
+
description: |
|
|
4
|
+
当需要快速添加待办任务、记录开发事项时自动使用此 Skill。
|
|
5
|
+
|
|
6
|
+
触发场景:
|
|
7
|
+
- 需要快速添加一个待办任务
|
|
8
|
+
- 需要记录开发中发现的问题
|
|
9
|
+
- 需要批量添加多个待办事项
|
|
10
|
+
- 需要为特定模块添加任务
|
|
11
|
+
|
|
12
|
+
触发词:添加待办、add-todo、待办事项、任务添加、记录任务、新增待办、快速待办
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
# /add-todo - 快速添加待办事项
|
|
16
|
+
|
|
17
|
+
作为待办事项管理助手,帮我快速添加待办任务。支持自动创建缺失文档、联动项目状态。
|
|
18
|
+
|
|
19
|
+
---
|
|
20
|
+
|
|
21
|
+
## 使用方式
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
/add-todo 实现用户权限管理
|
|
25
|
+
/add-todo 修复登录bug,优先级高
|
|
26
|
+
/add-todo 优化接口性能,3天,中等优先级
|
|
27
|
+
/add-todo ruoyi-demo 实现测试功能
|
|
28
|
+
/add-todo ruoyi-system 修复缓存问题,高,截止1月30号
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
---
|
|
32
|
+
|
|
33
|
+
## 第一步:智能检测文档状态
|
|
34
|
+
|
|
35
|
+
### 检查待办清单.md
|
|
36
|
+
|
|
37
|
+
如果 `docs/待办清单.md` 不存在:
|
|
38
|
+
1. 读取模板 `.claude/templates/待办清单模板.md`
|
|
39
|
+
2. 替换时间占位符为当前时间
|
|
40
|
+
3. 创建 `docs/待办清单.md`
|
|
41
|
+
4. 输出提示:`📝 已自动创建 docs/待办清单.md`
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## 第二步:解析任务信息
|
|
46
|
+
|
|
47
|
+
### 从用户输入中提取
|
|
48
|
+
|
|
49
|
+
| 信息 | 解析方式 | 默认值 |
|
|
50
|
+
|------|---------|--------|
|
|
51
|
+
| 任务名称 | 必填,主体内容 | - |
|
|
52
|
+
| 优先级 | "高"/"中"/"低",或"紧急"/"重要" | 中 |
|
|
53
|
+
| 预计时间 | "X天"/"X周" | 待定 |
|
|
54
|
+
| 所属模块 | 模块名前缀如"ruoyi-demo"、"ruoyi-system" | 通用 |
|
|
55
|
+
| 截止日期 | "截止XX"或"deadline XX" | 待定 |
|
|
56
|
+
|
|
57
|
+
### 优先级映射
|
|
58
|
+
|
|
59
|
+
| 用户输入 | 映射到 |
|
|
60
|
+
|---------|--------|
|
|
61
|
+
| 高、紧急、urgent、critical、ASAP | 🔥 高优先级 |
|
|
62
|
+
| 中、一般、normal、默认 | 📌 中优先级 |
|
|
63
|
+
| 低、可延后、optional、nice-to-have | 💡 低优先级 |
|
|
64
|
+
|
|
65
|
+
### 模块识别
|
|
66
|
+
|
|
67
|
+
| 用户输入 | 识别结果 |
|
|
68
|
+
|---------|---------|
|
|
69
|
+
| `ruoyi-demo 测试功能` | 模块: ruoyi-demo |
|
|
70
|
+
| `ruoyi-system 用户管理` | 模块: ruoyi-system |
|
|
71
|
+
| `后端 权限管理` | 模块: 后端 |
|
|
72
|
+
| `权限管理` | 模块: 通用(无前缀) |
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## 第三步:添加到待办清单.md
|
|
77
|
+
|
|
78
|
+
### 读取现有内容
|
|
79
|
+
- 读取 `docs/待办清单.md`
|
|
80
|
+
- 解析各优先级区域的位置
|
|
81
|
+
|
|
82
|
+
### 添加任务
|
|
83
|
+
|
|
84
|
+
根据优先级添加到对应区域:
|
|
85
|
+
|
|
86
|
+
```markdown
|
|
87
|
+
## 🔥 高优先级(紧急重要)
|
|
88
|
+
- [ ] [任务名称]
|
|
89
|
+
- 截止日期: YYYY-MM-DD(如果有)
|
|
90
|
+
- 描述: [任务描述](如果有)
|
|
91
|
+
- 所属模块: ruoyi-xxx(如果识别到)
|
|
92
|
+
- 预计工作量: X天(如果有)
|
|
93
|
+
- 添加时间: YYYY-MM-DD HH:MM
|
|
94
|
+
|
|
95
|
+
## 📌 中优先级(重要不紧急)
|
|
96
|
+
...
|
|
97
|
+
|
|
98
|
+
## 💡 低优先级(可延后)
|
|
99
|
+
...
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
### 更新统计信息
|
|
103
|
+
- 更新"待办总数": X 项
|
|
104
|
+
- 更新"最后更新": 当前时间
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## 第四步:联动更新项目状态.md(如果存在)
|
|
109
|
+
|
|
110
|
+
### 检查项目状态.md
|
|
111
|
+
|
|
112
|
+
如果 `docs/项目状态.md` 存在:
|
|
113
|
+
1. 读取项目状态文档
|
|
114
|
+
2. 将新任务添加到"待办"区域
|
|
115
|
+
3. 格式与待办清单保持一致
|
|
116
|
+
|
|
117
|
+
### 添加格式
|
|
118
|
+
|
|
119
|
+
```markdown
|
|
120
|
+
## 📋 待办
|
|
121
|
+
- [ ] [任务名称]
|
|
122
|
+
- 优先级: 高/中/低
|
|
123
|
+
- 预计工作量: X天
|
|
124
|
+
- 所属模块: ruoyi-xxx
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
---
|
|
128
|
+
|
|
129
|
+
## 第五步:输出确认信息
|
|
130
|
+
|
|
131
|
+
```markdown
|
|
132
|
+
✅ 已添加待办任务:
|
|
133
|
+
|
|
134
|
+
📌 **[任务名称]**
|
|
135
|
+
- 优先级: 高/中/低
|
|
136
|
+
- 预计时间: X天
|
|
137
|
+
- 所属模块: ruoyi-xxx(如果有)
|
|
138
|
+
- 截止日期: YYYY-MM-DD(如果有)
|
|
139
|
+
|
|
140
|
+
📁 已更新文件:
|
|
141
|
+
- docs/待办清单.md
|
|
142
|
+
- docs/项目状态.md(如果存在)
|
|
143
|
+
|
|
144
|
+
📊 当前待办总数: X 项
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## 批量添加支持
|
|
150
|
+
|
|
151
|
+
### 多任务添加
|
|
152
|
+
|
|
153
|
+
用户可以一次添加多个任务:
|
|
154
|
+
|
|
155
|
+
```bash
|
|
156
|
+
/add-todo 实现用户登录;实现用户注册;实现密码重置
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
或分行:
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
/add-todo
|
|
163
|
+
1. 实现用户登录,高优先级
|
|
164
|
+
2. 实现用户注册,中优先级
|
|
165
|
+
3. 实现密码重置,低优先级
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### 处理方式
|
|
169
|
+
- 按分号、换行、数字编号分割
|
|
170
|
+
- 依次解析每个任务
|
|
171
|
+
- 批量添加并汇总报告
|
|
172
|
+
|
|
173
|
+
---
|
|
174
|
+
|
|
175
|
+
## 智能建议
|
|
176
|
+
|
|
177
|
+
### 添加后提示
|
|
178
|
+
|
|
179
|
+
添加任务后,根据情况给出建议:
|
|
180
|
+
|
|
181
|
+
**待办过多时(>15项)**:
|
|
182
|
+
```
|
|
183
|
+
💡 提示:当前待办已有 18 项,建议:
|
|
184
|
+
- 运行 /progress 梳理优先级
|
|
185
|
+
- 考虑将低优先级任务归档
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
**高优先级过多时(>5项)**:
|
|
189
|
+
```
|
|
190
|
+
⚠️ 提示:高优先级任务已有 6 项
|
|
191
|
+
建议重新评估优先级,确保"紧急"真正紧急
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
**相似任务检测**:
|
|
195
|
+
```
|
|
196
|
+
💡 提示:检测到相似待办:
|
|
197
|
+
- 已有: "实现用户登录功能"
|
|
198
|
+
- 新增: "用户登录"
|
|
199
|
+
是否为同一任务?
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## 示例
|
|
205
|
+
|
|
206
|
+
### 示例 1:简单添加
|
|
207
|
+
|
|
208
|
+
```
|
|
209
|
+
用户: /add-todo 修复通知发送错误
|
|
210
|
+
|
|
211
|
+
AI: ✅ 已添加待办任务:
|
|
212
|
+
|
|
213
|
+
📌 **修复通知发送错误**
|
|
214
|
+
- 优先级: 中
|
|
215
|
+
- 预计时间: 待定
|
|
216
|
+
- 添加时间: 2025-12-25 14:30
|
|
217
|
+
|
|
218
|
+
📁 已更新: docs/待办清单.md
|
|
219
|
+
📊 当前待办总数: 8 项
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
### 示例 2:带参数添加
|
|
223
|
+
|
|
224
|
+
```
|
|
225
|
+
用户: /add-todo ruoyi-demo 实现导出功能,高优先级,2天
|
|
226
|
+
|
|
227
|
+
AI: ✅ 已添加待办任务:
|
|
228
|
+
|
|
229
|
+
🔥 **实现导出功能**
|
|
230
|
+
- 优先级: 高
|
|
231
|
+
- 预计时间: 2天
|
|
232
|
+
- 所属模块: ruoyi-demo
|
|
233
|
+
- 添加时间: 2025-12-25 14:30
|
|
234
|
+
|
|
235
|
+
📁 已更新:
|
|
236
|
+
- docs/待办清单.md
|
|
237
|
+
- docs/项目状态.md
|
|
238
|
+
|
|
239
|
+
📊 当前待办总数: 9 项
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
### 示例 3:自动创建文档
|
|
243
|
+
|
|
244
|
+
```
|
|
245
|
+
用户: /add-todo 开发后端接口文档
|
|
246
|
+
|
|
247
|
+
AI: 📝 已自动创建 docs/待办清单.md
|
|
248
|
+
|
|
249
|
+
✅ 已添加待办任务:
|
|
250
|
+
|
|
251
|
+
📌 **开发后端接口文档**
|
|
252
|
+
- 优先级: 中
|
|
253
|
+
- 预计时间: 待定
|
|
254
|
+
- 添加时间: 2025-12-25 14:30
|
|
255
|
+
|
|
256
|
+
📁 已更新: docs/待办清单.md
|
|
257
|
+
📊 当前待办总数: 1 项
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
---
|
|
261
|
+
|
|
262
|
+
## 与其他命令的关系
|
|
263
|
+
|
|
264
|
+
| 命令 | 关系 |
|
|
265
|
+
|------|------|
|
|
266
|
+
| `/update-status` | 批量同步 TODO,/add-todo 是单个添加 |
|
|
267
|
+
| `/init-docs` | 初始化文档,/add-todo 可自动补充创建 |
|
|
268
|
+
| `/progress` | 查看进度,包含待办统计 |
|
|
269
|
+
| `/sync` | 全量同步,确保数据一致 |
|