leniu-dev 2.0.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/auto-test-generator.md +315 -0
- package/.claude/agents/bug-analyzer.md +103 -0
- package/.claude/agents/code-reviewer.md +122 -0
- package/.claude/agents/code-scanner.md +145 -0
- package/.claude/agents/image-reader.md +154 -0
- package/.claude/agents/loki-runner.md +80 -0
- package/.claude/agents/mysql-runner.md +81 -0
- package/.claude/agents/project-manager.md +159 -0
- package/.claude/agents/requirements-analyzer.md +175 -0
- package/.claude/agents/task-fetcher.md +75 -0
- package/.claude/audio/completed.wav +0 -0
- package/.claude/commands/add-todo.md +255 -0
- package/.claude/commands/auto-test.md +252 -0
- package/.claude/commands/check.md +210 -0
- package/.claude/commands/crud.md +454 -0
- package/.claude/commands/dev.md +532 -0
- package/.claude/commands/init-config.md +154 -0
- package/.claude/commands/init-docs.md +681 -0
- package/.claude/commands/next.md +281 -0
- package/.claude/commands/opsx-apply.md +147 -0
- package/.claude/commands/opsx-archive.md +105 -0
- package/.claude/commands/opsx-bulk-archive.md +237 -0
- package/.claude/commands/opsx-continue.md +109 -0
- package/.claude/commands/opsx-explore.md +281 -0
- package/.claude/commands/opsx-ff.md +92 -0
- package/.claude/commands/opsx-new.md +65 -0
- package/.claude/commands/opsx-onboard.md +397 -0
- package/.claude/commands/opsx-sync.md +129 -0
- package/.claude/commands/opsx-verify.md +159 -0
- package/.claude/commands/progress.md +264 -0
- package/.claude/commands/release.md +109 -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/lib/notify.js +310 -0
- package/.claude/hooks/pre-tool-use.js +117 -0
- package/.claude/hooks/skill-forced-eval.js +161 -0
- package/.claude/hooks/stop.js +55 -0
- package/.claude/notify-config.json +9 -0
- package/.claude/settings.json +57 -0
- package/.claude/skills/add-skill/SKILL.md +488 -0
- package/.claude/skills/analyze-requirements/SKILL.md +112 -0
- package/.claude/skills/api-development/SKILL.md +315 -0
- package/.claude/skills/architecture-design/SKILL.md +152 -0
- package/.claude/skills/auto-test/SKILL.md +625 -0
- package/.claude/skills/auto-test/references/api-conventions.md +260 -0
- package/.claude/skills/backend-annotations/SKILL.md +248 -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 +171 -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 +216 -0
- package/.claude/skills/bug-detective/SKILL.md +295 -0
- package/.claude/skills/bug-detective/references/error-patterns.md +242 -0
- package/.claude/skills/chrome-cdp/SKILL.md +81 -0
- package/.claude/skills/chrome-cdp/scripts/cdp.mjs +838 -0
- package/.claude/skills/chrome-cdp/scripts/run-cdp.sh +7 -0
- package/.claude/skills/code-patterns/SKILL.md +163 -0
- package/.claude/skills/code-patterns/references/leniu-code-patterns.md +87 -0
- package/.claude/skills/codex-code-review/SKILL.md +327 -0
- package/.claude/skills/collaborating-with-codex/SKILL.md +180 -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 +328 -0
- package/.claude/skills/data-permission/SKILL.md +221 -0
- package/.claude/skills/data-permission/references/custom-data-scope.md +90 -0
- package/.claude/skills/database-ops/SKILL.md +210 -0
- package/.claude/skills/error-handler/SKILL.md +310 -0
- package/.claude/skills/file-oss-management/SKILL.md +260 -0
- package/.claude/skills/file-oss-management/references/entities.md +105 -0
- package/.claude/skills/file-oss-management/references/service-impl.md +104 -0
- package/.claude/skills/fix-bug/SKILL.md +269 -0
- package/.claude/skills/git-workflow/SKILL.md +179 -0
- package/.claude/skills/jenkins-deploy/SKILL.md +134 -0
- package/.claude/skills/jenkins-deploy/assets/env_param.template.json +51 -0
- package/.claude/skills/jenkins-deploy/assets/jk_build.py +400 -0
- package/.claude/skills/json-serialization/SKILL.md +341 -0
- package/.claude/skills/lanhu-design/SKILL.md +99 -0
- package/.claude/skills/leniu-api-development/SKILL.md +319 -0
- package/.claude/skills/leniu-api-development/references/real-examples.md +273 -0
- package/.claude/skills/leniu-architecture-design/SKILL.md +383 -0
- package/.claude/skills/leniu-backend-annotations/SKILL.md +277 -0
- package/.claude/skills/leniu-brainstorm/SKILL.md +242 -0
- package/.claude/skills/leniu-brainstorm/references/business-scenarios.md +162 -0
- package/.claude/skills/leniu-code-patterns/SKILL.md +411 -0
- package/.claude/skills/leniu-crud-development/SKILL.md +404 -0
- package/.claude/skills/leniu-crud-development/references/templates.md +597 -0
- package/.claude/skills/leniu-customization-location/SKILL.md +410 -0
- package/.claude/skills/leniu-data-permission/SKILL.md +341 -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-concurrent/SKILL.md +400 -0
- package/.claude/skills/leniu-java-entity/SKILL.md +237 -0
- package/.claude/skills/leniu-java-entity/references/templates.md +237 -0
- package/.claude/skills/leniu-java-logging/SKILL.md +229 -0
- package/.claude/skills/leniu-java-logging/references/data-mask.md +46 -0
- package/.claude/skills/leniu-java-logging/references/logging-scenarios.md +113 -0
- package/.claude/skills/leniu-java-mq/SKILL.md +338 -0
- package/.claude/skills/leniu-java-mybatis/SKILL.md +267 -0
- package/.claude/skills/leniu-java-mybatis/references/report-mapper.md +88 -0
- package/.claude/skills/leniu-java-task/SKILL.md +367 -0
- package/.claude/skills/leniu-marketing-scenario/SKILL.md +448 -0
- package/.claude/skills/leniu-marketing-scenario/references/pay-meal-rules.md +197 -0
- package/.claude/skills/leniu-marketing-scenario/references/price-rules.md +286 -0
- package/.claude/skills/leniu-marketing-scenario/references/recharge-rules.md +188 -0
- package/.claude/skills/leniu-redis-cache/SKILL.md +331 -0
- package/.claude/skills/leniu-report-scenario/SKILL.md +508 -0
- package/.claude/skills/leniu-report-scenario/references/amount-handling.md +448 -0
- package/.claude/skills/leniu-report-scenario/references/analysis-module.md +64 -0
- package/.claude/skills/leniu-report-scenario/references/customization-table-fields.md +93 -0
- package/.claude/skills/leniu-report-scenario/references/customization.md +356 -0
- package/.claude/skills/leniu-report-scenario/references/data-permission.md +182 -0
- package/.claude/skills/leniu-report-scenario/references/export.md +553 -0
- package/.claude/skills/leniu-report-scenario/references/mealtime.md +197 -0
- package/.claude/skills/leniu-report-scenario/references/query-param.md +274 -0
- package/.claude/skills/leniu-report-scenario/references/report-tables.md +162 -0
- package/.claude/skills/leniu-report-scenario/references/standard-customization.md +112 -0
- package/.claude/skills/leniu-report-scenario/references/standard-table-fields.md +113 -0
- package/.claude/skills/leniu-report-scenario/references/total-line.md +179 -0
- package/.claude/skills/leniu-security-guard/SKILL.md +306 -0
- package/.claude/skills/leniu-utils-toolkit/SKILL.md +380 -0
- package/.claude/skills/loki-log-query/SKILL.md +430 -0
- package/.claude/skills/mysql-debug/SKILL.md +406 -0
- package/.claude/skills/performance-doctor/SKILL.md +297 -0
- package/.claude/skills/project-navigator/SKILL.md +211 -0
- package/.claude/skills/redis-cache/SKILL.md +282 -0
- package/.claude/skills/redis-cache/references/listeners.md +23 -0
- package/.claude/skills/scheduled-jobs/SKILL.md +277 -0
- package/.claude/skills/security-guard/SKILL.md +245 -0
- package/.claude/skills/security-guard/references/encrypt-config.md +103 -0
- package/.claude/skills/security-guard/references/sensitive-strategies.md +42 -0
- package/.claude/skills/sms-mail/SKILL.md +346 -0
- package/.claude/skills/sms-mail/references/mail-config.md +88 -0
- package/.claude/skills/sms-mail/references/sms-config.md +74 -0
- package/.claude/skills/social-login/SKILL.md +328 -0
- package/.claude/skills/social-login/references/provider-configs.md +118 -0
- package/.claude/skills/store-pc/SKILL.md +366 -0
- package/.claude/skills/sync-back-merge/SKILL.md +66 -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 +272 -0
- package/.claude/skills/tenant-management/references/tenant-scenarios.md +91 -0
- package/.claude/skills/test-development/SKILL.md +301 -0
- package/.claude/skills/test-development/references/parameterized-examples.md +119 -0
- package/.claude/skills/ui-pc/SKILL.md +438 -0
- package/.claude/skills/utils-toolkit/SKILL.md +354 -0
- package/.claude/skills/utils-toolkit/references/redis-utils-api.md +56 -0
- package/.claude/skills/websocket-sse/SKILL.md +350 -0
- package/.claude/skills/workflow-engine/SKILL.md +249 -0
- package/.claude/skills/yunxiao-task-management/SKILL.md +401 -0
- package/.claude/skills/yunxiao-task-management/templates//346/217/220/346/265/213/345/215/225/346/250/241/346/235/277.html +17 -0
- package/.claude/templates/env-config.md +27 -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 +488 -0
- package/.codex/skills/add-todo/SKILL.md +269 -0
- package/.codex/skills/analyze-requirements/SKILL.md +112 -0
- package/.codex/skills/api-development/SKILL.md +315 -0
- package/.codex/skills/architecture-design/SKILL.md +152 -0
- package/.codex/skills/auto-test/SKILL.md +453 -0
- package/.codex/skills/auto-test/references/api-conventions.md +260 -0
- package/.codex/skills/backend-annotations/SKILL.md +248 -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 +171 -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 +216 -0
- package/.codex/skills/bug-detective/SKILL.md +295 -0
- package/.codex/skills/bug-detective/references/error-patterns.md +242 -0
- package/.codex/skills/check/SKILL.md +367 -0
- package/.codex/skills/code-patterns/SKILL.md +163 -0
- package/.codex/skills/code-patterns/references/leniu-code-patterns.md +87 -0
- package/.codex/skills/collaborating-with-codex/SKILL.md +180 -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 +328 -0
- package/.codex/skills/data-permission/SKILL.md +221 -0
- package/.codex/skills/data-permission/references/custom-data-scope.md +90 -0
- package/.codex/skills/database-ops/SKILL.md +210 -0
- package/.codex/skills/dev/SKILL.md +187 -0
- package/.codex/skills/error-handler/SKILL.md +310 -0
- package/.codex/skills/file-oss-management/SKILL.md +260 -0
- package/.codex/skills/file-oss-management/references/entities.md +105 -0
- package/.codex/skills/file-oss-management/references/service-impl.md +104 -0
- package/.codex/skills/fix-bug/SKILL.md +269 -0
- package/.codex/skills/git-workflow/SKILL.md +179 -0
- package/.codex/skills/init-docs/SKILL.md +194 -0
- package/.codex/skills/jenkins-deploy/SKILL.md +134 -0
- package/.codex/skills/json-serialization/SKILL.md +341 -0
- package/.codex/skills/lanhu-design/SKILL.md +99 -0
- package/.codex/skills/leniu-api-development/SKILL.md +319 -0
- package/.codex/skills/leniu-api-development/references/real-examples.md +273 -0
- package/.codex/skills/leniu-architecture-design/SKILL.md +383 -0
- package/.codex/skills/leniu-backend-annotations/SKILL.md +277 -0
- package/.codex/skills/leniu-brainstorm/SKILL.md +242 -0
- package/.codex/skills/leniu-brainstorm/references/business-scenarios.md +162 -0
- package/.codex/skills/leniu-code-patterns/SKILL.md +411 -0
- package/.codex/skills/leniu-crud-development/SKILL.md +404 -0
- package/.codex/skills/leniu-crud-development/references/templates.md +597 -0
- package/.codex/skills/leniu-customization-location/SKILL.md +410 -0
- package/.codex/skills/leniu-data-permission/SKILL.md +341 -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 +237 -0
- package/.codex/skills/leniu-java-entity/references/templates.md +237 -0
- package/.codex/skills/leniu-java-logging/SKILL.md +229 -0
- package/.codex/skills/leniu-java-logging/references/data-mask.md +46 -0
- package/.codex/skills/leniu-java-logging/references/logging-scenarios.md +113 -0
- package/.codex/skills/leniu-java-mq/SKILL.md +338 -0
- package/.codex/skills/leniu-java-mybatis/SKILL.md +267 -0
- package/.codex/skills/leniu-java-mybatis/references/report-mapper.md +88 -0
- package/.codex/skills/leniu-java-task/SKILL.md +367 -0
- package/.codex/skills/leniu-marketing-scenario/SKILL.md +448 -0
- package/.codex/skills/leniu-marketing-scenario/references/pay-meal-rules.md +197 -0
- package/.codex/skills/leniu-marketing-scenario/references/price-rules.md +286 -0
- package/.codex/skills/leniu-marketing-scenario/references/recharge-rules.md +188 -0
- package/.codex/skills/leniu-redis-cache/SKILL.md +331 -0
- package/.codex/skills/leniu-report-scenario/SKILL.md +508 -0
- package/.codex/skills/leniu-report-scenario/references/amount-handling.md +448 -0
- package/.codex/skills/leniu-report-scenario/references/analysis-module.md +64 -0
- package/.codex/skills/leniu-report-scenario/references/customization-table-fields.md +93 -0
- package/.codex/skills/leniu-report-scenario/references/customization.md +356 -0
- package/.codex/skills/leniu-report-scenario/references/data-permission.md +182 -0
- package/.codex/skills/leniu-report-scenario/references/export.md +553 -0
- package/.codex/skills/leniu-report-scenario/references/mealtime.md +197 -0
- package/.codex/skills/leniu-report-scenario/references/query-param.md +274 -0
- package/.codex/skills/leniu-report-scenario/references/report-tables.md +162 -0
- package/.codex/skills/leniu-report-scenario/references/standard-customization.md +112 -0
- package/.codex/skills/leniu-report-scenario/references/standard-table-fields.md +113 -0
- package/.codex/skills/leniu-report-scenario/references/total-line.md +179 -0
- package/.codex/skills/leniu-security-guard/SKILL.md +306 -0
- package/.codex/skills/leniu-utils-toolkit/SKILL.md +380 -0
- package/.codex/skills/loki-log-query/SKILL.md +430 -0
- package/.codex/skills/loki-log-query/environments.json +45 -0
- package/.codex/skills/mysql-debug/SKILL.md +406 -0
- package/.codex/skills/next/SKILL.md +137 -0
- package/.codex/skills/openspec-apply-change/SKILL.md +165 -0
- package/.codex/skills/openspec-archive-change/SKILL.md +122 -0
- package/.codex/skills/openspec-bulk-archive-change/SKILL.md +254 -0
- package/.codex/skills/openspec-continue-change/SKILL.md +126 -0
- package/.codex/skills/openspec-explore/SKILL.md +299 -0
- package/.codex/skills/openspec-ff-change/SKILL.md +109 -0
- package/.codex/skills/openspec-new-change/SKILL.md +82 -0
- package/.codex/skills/openspec-onboard/SKILL.md +414 -0
- package/.codex/skills/openspec-sync-specs/SKILL.md +146 -0
- package/.codex/skills/openspec-verify-change/SKILL.md +176 -0
- package/.codex/skills/performance-doctor/SKILL.md +297 -0
- package/.codex/skills/progress/SKILL.md +193 -0
- package/.codex/skills/project-navigator/SKILL.md +211 -0
- package/.codex/skills/redis-cache/SKILL.md +282 -0
- package/.codex/skills/redis-cache/references/listeners.md +23 -0
- package/.codex/skills/scheduled-jobs/SKILL.md +277 -0
- package/.codex/skills/security-guard/SKILL.md +245 -0
- package/.codex/skills/security-guard/references/encrypt-config.md +103 -0
- package/.codex/skills/security-guard/references/sensitive-strategies.md +42 -0
- package/.codex/skills/skill-creator/LICENSE.txt +202 -0
- package/.codex/skills/skill-creator/SKILL.md +479 -0
- package/.codex/skills/skill-creator/agents/analyzer.md +274 -0
- package/.codex/skills/skill-creator/agents/comparator.md +202 -0
- package/.codex/skills/skill-creator/agents/grader.md +223 -0
- package/.codex/skills/skill-creator/assets/eval_review.html +146 -0
- package/.codex/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/.codex/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/.codex/skills/skill-creator/references/schemas.md +430 -0
- package/.codex/skills/skill-creator/scripts/__init__.py +0 -0
- package/.codex/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/.codex/skills/skill-creator/scripts/generate_report.py +326 -0
- package/.codex/skills/skill-creator/scripts/improve_description.py +248 -0
- package/.codex/skills/skill-creator/scripts/package_skill.py +136 -0
- package/.codex/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/.codex/skills/skill-creator/scripts/run_eval.py +310 -0
- package/.codex/skills/skill-creator/scripts/run_loop.py +332 -0
- package/.codex/skills/skill-creator/scripts/utils.py +47 -0
- package/.codex/skills/sms-mail/SKILL.md +346 -0
- package/.codex/skills/sms-mail/references/mail-config.md +88 -0
- package/.codex/skills/sms-mail/references/sms-config.md +74 -0
- package/.codex/skills/social-login/SKILL.md +328 -0
- package/.codex/skills/social-login/references/provider-configs.md +118 -0
- package/.codex/skills/start/SKILL.md +154 -0
- package/.codex/skills/store-pc/SKILL.md +366 -0
- package/.codex/skills/sync/SKILL.md +149 -0
- package/.codex/skills/sync-back-merge/SKILL.md +66 -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 +272 -0
- package/.codex/skills/tenant-management/references/tenant-scenarios.md +91 -0
- package/.codex/skills/test-development/SKILL.md +301 -0
- package/.codex/skills/test-development/references/parameterized-examples.md +119 -0
- package/.codex/skills/ui-pc/SKILL.md +438 -0
- package/.codex/skills/update-status/SKILL.md +159 -0
- package/.codex/skills/utils-toolkit/SKILL.md +354 -0
- package/.codex/skills/utils-toolkit/references/redis-utils-api.md +56 -0
- package/.codex/skills/websocket-sse/SKILL.md +350 -0
- package/.codex/skills/workflow-engine/SKILL.md +249 -0
- package/.codex/skills/yunxiao-task-management/SKILL.md +401 -0
- package/.codex/skills/yunxiao-task-management/templates//346/217/220/346/265/213/345/215/225/346/250/241/346/235/277.html +17 -0
- package/.cursor/agents/bug-analyzer.md +102 -0
- package/.cursor/agents/code-reviewer.md +122 -0
- package/.cursor/agents/code-scanner.md +145 -0
- package/.cursor/agents/image-reader.md +154 -0
- package/.cursor/agents/loki-runner.md +80 -0
- package/.cursor/agents/mysql-runner.md +81 -0
- package/.cursor/agents/project-manager.md +159 -0
- package/.cursor/agents/requirements-analyzer.md +141 -0
- package/.cursor/agents/task-fetcher.md +75 -0
- package/.cursor/audio/completed.wav +0 -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/hooks/cursor-pre-tool-use.js +122 -0
- package/.cursor/hooks/cursor-skill-eval.js +466 -0
- package/.cursor/hooks/lib/notify.js +310 -0
- package/.cursor/hooks/stop.js +55 -0
- package/.cursor/hooks.json +23 -0
- package/.cursor/mcp.json +22 -0
- package/.cursor/rules/skill-activation.mdc +99 -0
- package/.cursor/skills/add-skill/SKILL.md +488 -0
- package/.cursor/skills/analyze-requirements/SKILL.md +112 -0
- package/.cursor/skills/api-development/SKILL.md +315 -0
- package/.cursor/skills/architecture-design/SKILL.md +152 -0
- package/.cursor/skills/auto-test/SKILL.md +453 -0
- package/.cursor/skills/auto-test/references/api-conventions.md +260 -0
- package/.cursor/skills/backend-annotations/SKILL.md +248 -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 +171 -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 +216 -0
- package/.cursor/skills/bug-detective/SKILL.md +295 -0
- package/.cursor/skills/bug-detective/references/error-patterns.md +242 -0
- package/.cursor/skills/code-patterns/SKILL.md +163 -0
- package/.cursor/skills/code-patterns/references/leniu-code-patterns.md +87 -0
- package/.cursor/skills/collaborating-with-codex/SKILL.md +180 -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 +328 -0
- package/.cursor/skills/data-permission/SKILL.md +221 -0
- package/.cursor/skills/data-permission/references/custom-data-scope.md +90 -0
- package/.cursor/skills/database-ops/SKILL.md +210 -0
- package/.cursor/skills/error-handler/SKILL.md +310 -0
- package/.cursor/skills/file-oss-management/SKILL.md +260 -0
- package/.cursor/skills/file-oss-management/references/entities.md +105 -0
- package/.cursor/skills/file-oss-management/references/service-impl.md +104 -0
- package/.cursor/skills/fix-bug/SKILL.md +269 -0
- package/.cursor/skills/git-workflow/SKILL.md +179 -0
- package/.cursor/skills/jenkins-deploy/SKILL.md +134 -0
- package/.cursor/skills/json-serialization/SKILL.md +341 -0
- package/.cursor/skills/lanhu-design/SKILL.md +99 -0
- package/.cursor/skills/leniu-api-development/SKILL.md +319 -0
- package/.cursor/skills/leniu-api-development/references/real-examples.md +273 -0
- package/.cursor/skills/leniu-architecture-design/SKILL.md +383 -0
- package/.cursor/skills/leniu-backend-annotations/SKILL.md +277 -0
- package/.cursor/skills/leniu-brainstorm/SKILL.md +242 -0
- package/.cursor/skills/leniu-brainstorm/references/business-scenarios.md +162 -0
- package/.cursor/skills/leniu-code-patterns/SKILL.md +411 -0
- package/.cursor/skills/leniu-crud-development/SKILL.md +404 -0
- package/.cursor/skills/leniu-crud-development/references/templates.md +597 -0
- package/.cursor/skills/leniu-customization-location/SKILL.md +410 -0
- package/.cursor/skills/leniu-data-permission/SKILL.md +341 -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 +237 -0
- package/.cursor/skills/leniu-java-entity/references/templates.md +237 -0
- package/.cursor/skills/leniu-java-logging/SKILL.md +229 -0
- package/.cursor/skills/leniu-java-logging/references/data-mask.md +46 -0
- package/.cursor/skills/leniu-java-logging/references/logging-scenarios.md +113 -0
- package/.cursor/skills/leniu-java-mq/SKILL.md +338 -0
- package/.cursor/skills/leniu-java-mybatis/SKILL.md +267 -0
- package/.cursor/skills/leniu-java-mybatis/references/report-mapper.md +88 -0
- package/.cursor/skills/leniu-java-task/SKILL.md +367 -0
- package/.cursor/skills/leniu-marketing-scenario/SKILL.md +448 -0
- package/.cursor/skills/leniu-marketing-scenario/references/pay-meal-rules.md +197 -0
- package/.cursor/skills/leniu-marketing-scenario/references/price-rules.md +286 -0
- package/.cursor/skills/leniu-marketing-scenario/references/recharge-rules.md +188 -0
- package/.cursor/skills/leniu-redis-cache/SKILL.md +331 -0
- package/.cursor/skills/leniu-report-scenario/SKILL.md +508 -0
- package/.cursor/skills/leniu-report-scenario/references/amount-handling.md +448 -0
- package/.cursor/skills/leniu-report-scenario/references/analysis-module.md +64 -0
- package/.cursor/skills/leniu-report-scenario/references/customization-table-fields.md +93 -0
- package/.cursor/skills/leniu-report-scenario/references/customization.md +356 -0
- package/.cursor/skills/leniu-report-scenario/references/data-permission.md +182 -0
- package/.cursor/skills/leniu-report-scenario/references/export.md +553 -0
- package/.cursor/skills/leniu-report-scenario/references/mealtime.md +197 -0
- package/.cursor/skills/leniu-report-scenario/references/query-param.md +274 -0
- package/.cursor/skills/leniu-report-scenario/references/report-tables.md +162 -0
- package/.cursor/skills/leniu-report-scenario/references/standard-customization.md +112 -0
- package/.cursor/skills/leniu-report-scenario/references/standard-table-fields.md +113 -0
- package/.cursor/skills/leniu-report-scenario/references/total-line.md +179 -0
- package/.cursor/skills/leniu-security-guard/SKILL.md +306 -0
- package/.cursor/skills/leniu-utils-toolkit/SKILL.md +380 -0
- package/.cursor/skills/loki-log-query/SKILL.md +430 -0
- package/.cursor/skills/loki-log-query/environments.json +45 -0
- package/.cursor/skills/mysql-debug/SKILL.md +406 -0
- package/.cursor/skills/openspec-apply-change/SKILL.md +165 -0
- package/.cursor/skills/openspec-archive-change/SKILL.md +122 -0
- package/.cursor/skills/openspec-bulk-archive-change/SKILL.md +254 -0
- package/.cursor/skills/openspec-continue-change/SKILL.md +126 -0
- package/.cursor/skills/openspec-explore/SKILL.md +299 -0
- package/.cursor/skills/openspec-ff-change/SKILL.md +109 -0
- package/.cursor/skills/openspec-new-change/SKILL.md +82 -0
- package/.cursor/skills/openspec-onboard/SKILL.md +414 -0
- package/.cursor/skills/openspec-sync-specs/SKILL.md +146 -0
- package/.cursor/skills/openspec-verify-change/SKILL.md +176 -0
- package/.cursor/skills/performance-doctor/SKILL.md +297 -0
- package/.cursor/skills/project-navigator/SKILL.md +211 -0
- package/.cursor/skills/redis-cache/SKILL.md +282 -0
- package/.cursor/skills/redis-cache/references/listeners.md +23 -0
- package/.cursor/skills/scheduled-jobs/SKILL.md +277 -0
- package/.cursor/skills/security-guard/SKILL.md +245 -0
- package/.cursor/skills/security-guard/references/encrypt-config.md +103 -0
- package/.cursor/skills/security-guard/references/sensitive-strategies.md +42 -0
- package/.cursor/skills/skill-creator/LICENSE.txt +202 -0
- package/.cursor/skills/skill-creator/SKILL.md +479 -0
- package/.cursor/skills/skill-creator/agents/analyzer.md +274 -0
- package/.cursor/skills/skill-creator/agents/comparator.md +202 -0
- package/.cursor/skills/skill-creator/agents/grader.md +223 -0
- package/.cursor/skills/skill-creator/assets/eval_review.html +146 -0
- package/.cursor/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/.cursor/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/.cursor/skills/skill-creator/references/schemas.md +430 -0
- package/.cursor/skills/skill-creator/scripts/__init__.py +0 -0
- package/.cursor/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/.cursor/skills/skill-creator/scripts/generate_report.py +326 -0
- package/.cursor/skills/skill-creator/scripts/improve_description.py +248 -0
- package/.cursor/skills/skill-creator/scripts/package_skill.py +136 -0
- package/.cursor/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/.cursor/skills/skill-creator/scripts/run_eval.py +310 -0
- package/.cursor/skills/skill-creator/scripts/run_loop.py +332 -0
- package/.cursor/skills/skill-creator/scripts/utils.py +47 -0
- package/.cursor/skills/sms-mail/SKILL.md +346 -0
- package/.cursor/skills/sms-mail/references/mail-config.md +88 -0
- package/.cursor/skills/sms-mail/references/sms-config.md +74 -0
- package/.cursor/skills/social-login/SKILL.md +328 -0
- package/.cursor/skills/social-login/references/provider-configs.md +118 -0
- package/.cursor/skills/store-pc/SKILL.md +366 -0
- package/.cursor/skills/sync-back-merge/SKILL.md +66 -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 +272 -0
- package/.cursor/skills/tenant-management/references/tenant-scenarios.md +91 -0
- package/.cursor/skills/test-development/SKILL.md +301 -0
- package/.cursor/skills/test-development/references/parameterized-examples.md +119 -0
- package/.cursor/skills/ui-pc/SKILL.md +438 -0
- package/.cursor/skills/utils-toolkit/SKILL.md +354 -0
- package/.cursor/skills/utils-toolkit/references/redis-utils-api.md +56 -0
- package/.cursor/skills/websocket-sse/SKILL.md +350 -0
- package/.cursor/skills/workflow-engine/SKILL.md +249 -0
- package/.cursor/skills/yunxiao-task-management/SKILL.md +401 -0
- package/.cursor/skills/yunxiao-task-management/templates//346/217/220/346/265/213/345/215/225/346/250/241/346/235/277.html +17 -0
- package/.cursor/templates/env-config.md +27 -0
- package/AGENTS.md +275 -0
- package/CLAUDE.md +285 -0
- package/README.md +104 -0
- package/bin/index.js +3069 -0
- package/init.sh +178 -0
- package/package.json +40 -0
- package/scripts/build-skills.js +180 -0
- package/src/platform-map.json +100 -0
- package/src/skills/add-skill/SKILL.md +488 -0
- package/src/skills/add-todo/SKILL.md +269 -0
- package/src/skills/analyze-requirements/SKILL.md +112 -0
- package/src/skills/api-development/SKILL.md +315 -0
- package/src/skills/architecture-design/SKILL.md +152 -0
- package/src/skills/backend-annotations/SKILL.md +248 -0
- package/src/skills/banana-image/CHANGELOG.md +37 -0
- package/src/skills/banana-image/README.md +146 -0
- package/src/skills/banana-image/SKILL.md +171 -0
- package/src/skills/banana-image/assets/logo.png +0 -0
- package/src/skills/banana-image/references/advanced-usage.md +189 -0
- package/src/skills/banana-image/scripts/apply_template.py +125 -0
- package/src/skills/banana-image/scripts/banana_image_exec.ts +412 -0
- package/src/skills/banana-image/scripts/batch_prep.py +82 -0
- package/src/skills/banana-image/scripts/package-lock.json +1437 -0
- package/src/skills/banana-image/scripts/package.json +18 -0
- package/src/skills/banana-image/scripts/requirements.txt +10 -0
- package/src/skills/banana-image/templates/poster.json +22 -0
- package/src/skills/banana-image/templates/product.json +17 -0
- package/src/skills/banana-image/templates/social.json +22 -0
- package/src/skills/banana-image/templates/thumbnail.json +17 -0
- package/src/skills/brainstorm/SKILL.md +216 -0
- package/src/skills/bug-detective/SKILL.md +295 -0
- package/src/skills/bug-detective/references/error-patterns.md +242 -0
- package/src/skills/check/SKILL.md +367 -0
- package/src/skills/code-patterns/SKILL.md +163 -0
- package/src/skills/code-patterns/references/leniu-code-patterns.md +87 -0
- package/src/skills/codex-code-review/SKILL.md +327 -0
- package/src/skills/collaborating-with-codex/SKILL.md +180 -0
- package/src/skills/collaborating-with-codex/scripts/codex_bridge.py +275 -0
- package/src/skills/collaborating-with-gemini/SKILL.md +194 -0
- package/src/skills/collaborating-with-gemini/scripts/gemini_bridge.py +275 -0
- package/src/skills/crud/SKILL.md +265 -0
- package/src/skills/crud-development/SKILL.md +328 -0
- package/src/skills/data-permission/SKILL.md +221 -0
- package/src/skills/data-permission/references/custom-data-scope.md +90 -0
- package/src/skills/database-ops/SKILL.md +210 -0
- package/src/skills/dev/SKILL.md +187 -0
- package/src/skills/error-handler/SKILL.md +310 -0
- package/src/skills/file-oss-management/SKILL.md +260 -0
- package/src/skills/file-oss-management/references/entities.md +105 -0
- package/src/skills/file-oss-management/references/service-impl.md +104 -0
- package/src/skills/fix-bug/SKILL.md +269 -0
- package/src/skills/git-workflow/SKILL.md +179 -0
- package/src/skills/init-docs/SKILL.md +194 -0
- package/src/skills/json-serialization/SKILL.md +341 -0
- package/src/skills/leniu-api-development/SKILL.md +319 -0
- package/src/skills/leniu-api-development/references/real-examples.md +273 -0
- package/src/skills/leniu-architecture-design/SKILL.md +383 -0
- package/src/skills/leniu-backend-annotations/SKILL.md +277 -0
- package/src/skills/leniu-brainstorm/SKILL.md +242 -0
- package/src/skills/leniu-brainstorm/references/business-scenarios.md +162 -0
- package/src/skills/leniu-code-patterns/SKILL.md +411 -0
- package/src/skills/leniu-crud-development/SKILL.md +404 -0
- package/src/skills/leniu-crud-development/references/templates.md +597 -0
- package/src/skills/leniu-customization-location/SKILL.md +410 -0
- package/src/skills/leniu-data-permission/SKILL.md +341 -0
- package/src/skills/leniu-database-ops/SKILL.md +426 -0
- package/src/skills/leniu-error-handler/SKILL.md +462 -0
- package/src/skills/leniu-java-amount-handling/SKILL.md +461 -0
- package/src/skills/leniu-java-code-style/SKILL.md +510 -0
- package/src/skills/leniu-java-concurrent/SKILL.md +400 -0
- package/src/skills/leniu-java-entity/SKILL.md +237 -0
- package/src/skills/leniu-java-entity/references/templates.md +237 -0
- package/src/skills/leniu-java-export/SKILL.md +570 -0
- package/src/skills/leniu-java-logging/SKILL.md +229 -0
- package/src/skills/leniu-java-logging/references/data-mask.md +46 -0
- package/src/skills/leniu-java-logging/references/logging-scenarios.md +113 -0
- package/src/skills/leniu-java-mq/SKILL.md +338 -0
- package/src/skills/leniu-java-mybatis/SKILL.md +267 -0
- package/src/skills/leniu-java-mybatis/references/report-mapper.md +88 -0
- package/src/skills/leniu-java-report-query-param/SKILL.md +291 -0
- package/src/skills/leniu-java-task/SKILL.md +367 -0
- package/src/skills/leniu-java-total-line/SKILL.md +196 -0
- package/src/skills/leniu-marketing-price-rule-customizer/SKILL.md +301 -0
- package/src/skills/leniu-marketing-recharge-rule-customizer/SKILL.md +285 -0
- package/src/skills/leniu-mealtime/SKILL.md +215 -0
- package/src/skills/leniu-redis-cache/SKILL.md +331 -0
- package/src/skills/leniu-report-customization/SKILL.md +415 -0
- package/src/skills/leniu-report-customization/references/table-fields.md +93 -0
- package/src/skills/leniu-report-standard-customization/SKILL.md +391 -0
- package/src/skills/leniu-report-standard-customization/references/analysis-module.md +64 -0
- package/src/skills/leniu-report-standard-customization/references/table-fields.md +113 -0
- package/src/skills/leniu-security-guard/SKILL.md +306 -0
- package/src/skills/leniu-utils-toolkit/SKILL.md +380 -0
- package/src/skills/loki-log-query/SKILL.md +400 -0
- package/src/skills/loki-log-query/environments.json +45 -0
- package/src/skills/mysql-debug/SKILL.md +400 -0
- package/src/skills/next/SKILL.md +137 -0
- package/src/skills/openspec-apply-change/SKILL.md +165 -0
- package/src/skills/openspec-archive-change/SKILL.md +122 -0
- package/src/skills/openspec-bulk-archive-change/SKILL.md +254 -0
- package/src/skills/openspec-continue-change/SKILL.md +126 -0
- package/src/skills/openspec-explore/SKILL.md +299 -0
- package/src/skills/openspec-ff-change/SKILL.md +109 -0
- package/src/skills/openspec-new-change/SKILL.md +82 -0
- package/src/skills/openspec-onboard/SKILL.md +414 -0
- package/src/skills/openspec-sync-specs/SKILL.md +146 -0
- package/src/skills/openspec-verify-change/SKILL.md +176 -0
- package/src/skills/performance-doctor/SKILL.md +297 -0
- package/src/skills/progress/SKILL.md +193 -0
- package/src/skills/project-navigator/SKILL.md +211 -0
- package/src/skills/redis-cache/SKILL.md +282 -0
- package/src/skills/redis-cache/references/listeners.md +23 -0
- package/src/skills/scheduled-jobs/SKILL.md +277 -0
- package/src/skills/security-guard/SKILL.md +245 -0
- package/src/skills/security-guard/references/encrypt-config.md +103 -0
- package/src/skills/security-guard/references/sensitive-strategies.md +42 -0
- package/src/skills/skill-creator/LICENSE.txt +202 -0
- package/src/skills/skill-creator/SKILL.md +479 -0
- package/src/skills/skill-creator/agents/analyzer.md +274 -0
- package/src/skills/skill-creator/agents/comparator.md +202 -0
- package/src/skills/skill-creator/agents/grader.md +223 -0
- package/src/skills/skill-creator/assets/eval_review.html +146 -0
- package/src/skills/skill-creator/eval-viewer/generate_review.py +471 -0
- package/src/skills/skill-creator/eval-viewer/viewer.html +1325 -0
- package/src/skills/skill-creator/references/schemas.md +430 -0
- package/src/skills/skill-creator/scripts/__init__.py +0 -0
- package/src/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
- package/src/skills/skill-creator/scripts/generate_report.py +326 -0
- package/src/skills/skill-creator/scripts/improve_description.py +248 -0
- package/src/skills/skill-creator/scripts/package_skill.py +136 -0
- package/src/skills/skill-creator/scripts/quick_validate.py +103 -0
- package/src/skills/skill-creator/scripts/run_eval.py +310 -0
- package/src/skills/skill-creator/scripts/run_loop.py +332 -0
- package/src/skills/skill-creator/scripts/utils.py +47 -0
- package/src/skills/sms-mail/SKILL.md +346 -0
- package/src/skills/sms-mail/references/mail-config.md +88 -0
- package/src/skills/sms-mail/references/sms-config.md +74 -0
- package/src/skills/social-login/SKILL.md +328 -0
- package/src/skills/social-login/references/provider-configs.md +118 -0
- package/src/skills/start/SKILL.md +154 -0
- package/src/skills/store-pc/SKILL.md +366 -0
- package/src/skills/sync/SKILL.md +149 -0
- package/src/skills/sync-back-merge/SKILL.md +66 -0
- package/src/skills/task-tracker/SKILL.md +307 -0
- package/src/skills/tech-decision/SKILL.md +393 -0
- package/src/skills/tenant-management/SKILL.md +272 -0
- package/src/skills/tenant-management/references/tenant-scenarios.md +91 -0
- package/src/skills/test-development/SKILL.md +301 -0
- package/src/skills/test-development/references/parameterized-examples.md +119 -0
- package/src/skills/ui-pc/SKILL.md +438 -0
- package/src/skills/update-status/SKILL.md +159 -0
- package/src/skills/utils-toolkit/SKILL.md +354 -0
- package/src/skills/utils-toolkit/references/redis-utils-api.md +56 -0
- package/src/skills/websocket-sse/SKILL.md +350 -0
- package/src/skills/workflow-engine/SKILL.md +249 -0
- package/src/skills/yunxiao-task-management/SKILL.md +401 -0
- package/src/skills/yunxiao-task-management/templates//346/217/220/346/265/213/345/215/225/346/250/241/346/235/277.html +17 -0
|
@@ -0,0 +1,199 @@
|
|
|
1
|
+
# /start - 项目快速了解
|
|
2
|
+
|
|
3
|
+
新成员快速了解 leniu-tengyun-core(云食堂)项目的必看命令。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 适用场景
|
|
8
|
+
|
|
9
|
+
| 场景 | 说明 |
|
|
10
|
+
|------|------|
|
|
11
|
+
| **初次接触** | 新成员第一次接触项目 |
|
|
12
|
+
| **项目交接** | 接手他人的项目 |
|
|
13
|
+
| **重新梳理** | 距上次熟悉项目已久,需快速回顾 |
|
|
14
|
+
| **窗口切换** | 在新的 Claude 会话中快速了解项目 |
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 执行流程
|
|
19
|
+
|
|
20
|
+
### 第一步:扫描项目结构
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# 扫描业务模块 Controller
|
|
24
|
+
Glob pattern: "sys-canteen/src/main/java/net/xnzn/core/**/controller/*Controller.java"
|
|
25
|
+
Glob pattern: "sys-kitchen/src/main/java/net/xnzn/core/**/controller/*Controller.java"
|
|
26
|
+
Glob pattern: "sys-drp/src/main/java/net/xnzn/core/**/controller/*Controller.java"
|
|
27
|
+
|
|
28
|
+
# 查看最近 3 条 Git 提交
|
|
29
|
+
git log -3 --oneline
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
### 第二步:识别 leniu 模块结构
|
|
33
|
+
|
|
34
|
+
**核心业务模块(统计进度)**:
|
|
35
|
+
|
|
36
|
+
| 模块 | 说明 | 包名 |
|
|
37
|
+
|------|------|------|
|
|
38
|
+
| `sys-canteen` | 食堂业务(订单、菜品、用户)| `net.xnzn.core.canteen` |
|
|
39
|
+
| `sys-kitchen` | 后场厨房(备餐、出餐、排班)| `net.xnzn.core.kitchen` |
|
|
40
|
+
| `sys-drp` | 供应链(采购、库存、配送)| `net.xnzn.core.drp` |
|
|
41
|
+
| `sys-common` | 公共业务(支付、通知、对接)| `net.xnzn.core.common` |
|
|
42
|
+
|
|
43
|
+
**基础设施模块(不统计进度)**:
|
|
44
|
+
- `core-base` - 公共配置、工具类
|
|
45
|
+
- `core-aggregator` - 聚合器
|
|
46
|
+
- `sys-open` - 开放接口模块
|
|
47
|
+
- `sys-logistics` - 物流模块
|
|
48
|
+
|
|
49
|
+
### 第三步:判断项目开发阶段
|
|
50
|
+
|
|
51
|
+
```
|
|
52
|
+
Controller 数量 = 0 → 全新项目
|
|
53
|
+
Controller 数量 1-20 → 初期开发
|
|
54
|
+
Controller 数量 21+ → 成熟项目
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 第四步:检查文档状态
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
Glob pattern: "docs/*.md"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
---
|
|
64
|
+
|
|
65
|
+
## 输出格式
|
|
66
|
+
|
|
67
|
+
### 情况一:全新项目
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
# 欢迎使用 leniu-tengyun-core(云食堂)
|
|
71
|
+
|
|
72
|
+
**技术栈**:Spring Boot 3.x + pigx-framework + MyBatis-Plus + JDK 21
|
|
73
|
+
**架构**:四层架构(Controller → Business → Service → Mapper)
|
|
74
|
+
**双库**:系统库(全局配置)+ 商户库(租户业务数据)
|
|
75
|
+
|
|
76
|
+
## 框架现状
|
|
77
|
+
|
|
78
|
+
### 核心特性
|
|
79
|
+
- 双库物理隔离(无 tenant_id 字段,通过请求头 MERCHANT-ID 路由)
|
|
80
|
+
- JDK 21 + jakarta.validation.*
|
|
81
|
+
- PageHelper 分页 + LeRequest<T> 请求封装
|
|
82
|
+
- LeException 业务异常 + I18n 国际化
|
|
83
|
+
|
|
84
|
+
## 快速开始
|
|
85
|
+
|
|
86
|
+
1. 了解规范:查看 CLAUDE.md
|
|
87
|
+
2. 初始化文档:/init-docs
|
|
88
|
+
3. 开始开发:/dev 或 /crud
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### 情况二:开发中项目
|
|
92
|
+
|
|
93
|
+
```markdown
|
|
94
|
+
# 欢迎回到 leniu-tengyun-core
|
|
95
|
+
|
|
96
|
+
**项目阶段**:开发中
|
|
97
|
+
**技术栈**:Spring Boot 3.x + JDK 21 + pigx-framework
|
|
98
|
+
|
|
99
|
+
## 模块进度
|
|
100
|
+
|
|
101
|
+
| 模块 | Controller 数 | 说明 |
|
|
102
|
+
|------|--------------|------|
|
|
103
|
+
| sys-canteen | X | 食堂业务 |
|
|
104
|
+
| sys-kitchen | X | 后场厨房 |
|
|
105
|
+
| sys-drp | X | 供应链 |
|
|
106
|
+
|
|
107
|
+
## 最近提交
|
|
108
|
+
|
|
109
|
+
[显示最近 3 条 git commit]
|
|
110
|
+
|
|
111
|
+
## 代码质量速查
|
|
112
|
+
|
|
113
|
+
| 检查项 | 状态 |
|
|
114
|
+
|--------|------|
|
|
115
|
+
| 包名 (net.xnzn.core.*) | ✅/⚠️ |
|
|
116
|
+
| 审计字段 (crby/crtime) | ✅/⚠️ |
|
|
117
|
+
| 认证注解 (@RequiresAuthentication) | ✅/⚠️ |
|
|
118
|
+
|
|
119
|
+
## 建议操作
|
|
120
|
+
|
|
121
|
+
```bash
|
|
122
|
+
/progress # 查看详细进度
|
|
123
|
+
/check # 检查代码规范
|
|
124
|
+
/next # 获取下一步建议
|
|
125
|
+
```
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
### 第五步:文档建议
|
|
129
|
+
|
|
130
|
+
若 `docs/` 目录不存在:
|
|
131
|
+
|
|
132
|
+
```markdown
|
|
133
|
+
## 建议
|
|
134
|
+
|
|
135
|
+
检测到业务代码,但尚未初始化项目文档。
|
|
136
|
+
|
|
137
|
+
执行 /init-docs 初始化:
|
|
138
|
+
- 项目状态.md - 进度追踪
|
|
139
|
+
- 需求文档.md - 业务需求
|
|
140
|
+
- 待办清单.md - 任务清单
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
## 新成员入门清单
|
|
146
|
+
|
|
147
|
+
- [ ] 阅读 `CLAUDE.md` 了解 leniu 开发规范
|
|
148
|
+
- [ ] 运行 `/start` 了解项目现状
|
|
149
|
+
- [ ] 运行 `/progress` 查看详细进度
|
|
150
|
+
- [ ] 了解双库架构(系统库 vs 商户库)
|
|
151
|
+
- [ ] 了解四层架构(Controller → Business → Service → Mapper)
|
|
152
|
+
- [ ] 根据 `/next` 建议选择任务
|
|
153
|
+
|
|
154
|
+
---
|
|
155
|
+
|
|
156
|
+
## 核心命令速览
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
/start # 项目概览(当前命令)
|
|
160
|
+
/progress # 详细进度
|
|
161
|
+
/check # 代码规范检查
|
|
162
|
+
/dev # 开发新功能(含表设计)
|
|
163
|
+
/crud # 快速生成 CRUD(表已存在)
|
|
164
|
+
/next # 获取建议
|
|
165
|
+
/sync # 全量同步
|
|
166
|
+
/init-docs # 初始化文档
|
|
167
|
+
/add-todo # 添加待办
|
|
168
|
+
```
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## 常见问题
|
|
173
|
+
|
|
174
|
+
### Q: leniu 架构和 RuoYi-Vue-Plus 有什么区别?
|
|
175
|
+
|
|
176
|
+
| 对比 | RuoYi-Vue-Plus | leniu-tengyun-core |
|
|
177
|
+
|------|----------------|-------------------|
|
|
178
|
+
| 包名 | `org.dromara.*` | `net.xnzn.core.*` |
|
|
179
|
+
| 租户 | 单库 `tenant_id` 字段 | 双库物理隔离 |
|
|
180
|
+
| 审计字段 | createBy/createTime | crby/crtime |
|
|
181
|
+
| del_flag | 0=正常 | 2=正常 |
|
|
182
|
+
| 请求封装 | BO | LeRequest<T> |
|
|
183
|
+
| 权限注解 | @SaCheckPermission | @RequiresAuthentication |
|
|
184
|
+
| 异常 | ServiceException | LeException |
|
|
185
|
+
| 多了一层 | 三层 | 四层(多 Business 层)|
|
|
186
|
+
|
|
187
|
+
### Q: 怎么开发新功能?
|
|
188
|
+
|
|
189
|
+
```bash
|
|
190
|
+
/dev # 含表结构设计的完整开发向导
|
|
191
|
+
/crud # 表已存在时快速生成代码
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Q: 怎么追踪进度?
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
/progress # 查看完成情况
|
|
198
|
+
/sync # 生成完整报告
|
|
199
|
+
```
|
|
@@ -0,0 +1,307 @@
|
|
|
1
|
+
# /sync - 项目代码状态同步
|
|
2
|
+
|
|
3
|
+
一键同步后端代码状态、生成项目文档、确保代码与文档数据一致。适合定期整理或发现数据不一致时使用。
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 适用场景
|
|
8
|
+
|
|
9
|
+
| 场景 | 说明 |
|
|
10
|
+
|------|------|
|
|
11
|
+
| **定期整理** | 每周末整理项目代码状态和文档 |
|
|
12
|
+
| **数据不一致** | 手动修改过代码或文档后需要重新同步 |
|
|
13
|
+
| **项目交接** | 新成员加入或项目交接时全量检查 |
|
|
14
|
+
| **构建报告** | 生成完整的项目状态报告供管理者查看 |
|
|
15
|
+
| **代码审查** | 代码审查前同步确保信息完整准确 |
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
19
|
+
## 执行流程
|
|
20
|
+
|
|
21
|
+
### 第一步:扫描后端代码状态(强制执行)
|
|
22
|
+
|
|
23
|
+
#### 1.1 扫描业务模块和功能完整性
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# 查找核心业务模块的 Controller
|
|
27
|
+
Glob pattern: "sys-canteen/src/main/java/**/controller/*Controller.java"
|
|
28
|
+
Glob pattern: "sys-kitchen/src/main/java/**/controller/*Controller.java"
|
|
29
|
+
Glob pattern: "sys-drp/src/main/java/**/controller/*Controller.java"
|
|
30
|
+
Glob pattern: "sys-common/src/main/java/**/controller/*Controller.java"
|
|
31
|
+
|
|
32
|
+
# 基础设施模块(不统计):core-base、core-aggregator、sys-open、sys-logistics
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
对每个功能检查 **8 个必需的文件**(leniu 四层架构):
|
|
36
|
+
|
|
37
|
+
| 类型 | 文件 | 完整路径 | 必须 |
|
|
38
|
+
|------|------|---------|------|
|
|
39
|
+
| Entity | `XxxInfo.java` | `common/model/XxxInfo.java` | ✅ |
|
|
40
|
+
| DTO | `XxxInfoDTO.java` | `web/dto/XxxInfoDTO.java` | ✅ |
|
|
41
|
+
| VO | `XxxInfoVO.java` | `web/vo/XxxInfoVO.java` | ✅ |
|
|
42
|
+
| Mapper | `XxxInfoMapper.java` | `common/mapper/XxxInfoMapper.java` | ✅ |
|
|
43
|
+
| MapperXML | `XxxInfoMapper.xml` | `common/mapper/XxxInfoMapper.xml` | ✅ |
|
|
44
|
+
| Service | `XxxInfoService.java` | `common/service/impl/XxxInfoService.java` | ✅ |
|
|
45
|
+
| Business | `XxxWebBusiness.java` | `web/business/impl/XxxWebBusiness.java` | ✅ |
|
|
46
|
+
| Controller | `XxxWebController.java` | `web/controller/XxxWebController.java` | ✅ |
|
|
47
|
+
|
|
48
|
+
#### 1.2 扫描代码规范问题
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
# 检查包名问题
|
|
52
|
+
Grep pattern: "package org\.dromara\.|package com\.ruoyi\." path: sys-canteen/,sys-kitchen/,sys-drp/ output_mode: files_with_matches
|
|
53
|
+
|
|
54
|
+
# 检查禁止使用的工具类
|
|
55
|
+
Grep pattern: "MapstructUtils|ServiceException" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
|
|
56
|
+
|
|
57
|
+
# 检查审计字段命名
|
|
58
|
+
Grep pattern: "private.*createBy|private.*updateBy|private.*createTime|private.*updateTime" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
|
|
59
|
+
|
|
60
|
+
# 检查 del_flag 错误值
|
|
61
|
+
Grep pattern: "delFlag.*=.*0\b|del_flag.*=.*0\b" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*.java" output_mode: files_with_matches
|
|
62
|
+
|
|
63
|
+
# 检查权限注解
|
|
64
|
+
Grep pattern: "@RequiresAuthentication|@RequiresGuest" path: sys-canteen/,sys-kitchen/,sys-drp/ glob: "*Controller.java" output_mode: files_with_matches
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
#### 1.3 扫描 Git 提交记录
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
# 获取最近 30 条提交
|
|
71
|
+
git log -30 --oneline --format="%h %s %ad" --date=short
|
|
72
|
+
|
|
73
|
+
# 统计业务相关提交(feat/fix/update/add/refactor)
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
#### 1.4 扫描 TODO/FIXME 标记
|
|
77
|
+
|
|
78
|
+
```bash
|
|
79
|
+
# 扫描所有业务代码中的待办标记
|
|
80
|
+
Grep pattern: "TODO:|FIXME:|XXX:" path: sys-canteen/,sys-kitchen/,sys-drp/,sys-common/ glob: "*.java" output_mode: content -B 1
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
#### 1.5 生成代码扫描结果
|
|
84
|
+
|
|
85
|
+
**输出格式**:
|
|
86
|
+
```markdown
|
|
87
|
+
## 代码扫描结果
|
|
88
|
+
|
|
89
|
+
### 模块完整性分析
|
|
90
|
+
| 模块 | 功能数 | 完成数 | 完成率 | 状态 |
|
|
91
|
+
|------|--------|--------|--------|------|
|
|
92
|
+
| sys-canteen | X | X | XX% | [状态] |
|
|
93
|
+
| sys-kitchen | X | X | XX% | [状态] |
|
|
94
|
+
| sys-drp | X | X | XX% | [状态] |
|
|
95
|
+
| sys-common | X | X | XX% | [状态] |
|
|
96
|
+
|
|
97
|
+
### 代码规范检查
|
|
98
|
+
| 检查项 | 通过 | 警告 | 错误 |
|
|
99
|
+
|--------|------|------|------|
|
|
100
|
+
| 包名规范 (net.xnzn.core.*) | ✅ | 0 | 0 |
|
|
101
|
+
| 权限注解完整度 | ⚠️ | 2 | 0 |
|
|
102
|
+
| 审计字段规范 | ✅ | 0 | 0 |
|
|
103
|
+
| del_flag 值语义 | ✅ | 0 | 0 |
|
|
104
|
+
|
|
105
|
+
### 待办统计
|
|
106
|
+
- 🔥 FIXME (高): X 项
|
|
107
|
+
- 📌 TODO (中): X 项
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
### 第二步:分析 Git 提交历史
|
|
113
|
+
|
|
114
|
+
#### 2.1 最近提交分析
|
|
115
|
+
|
|
116
|
+
```bash
|
|
117
|
+
# 获取最近提交的功能信息
|
|
118
|
+
git log -5 --oneline
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
**分析内容**:
|
|
122
|
+
- 最近在做什么功能
|
|
123
|
+
- 是否有 FIXME/BUG 相关的提交
|
|
124
|
+
- 代码活跃度
|
|
125
|
+
|
|
126
|
+
#### 2.2 功能交付记录
|
|
127
|
+
|
|
128
|
+
根据 Git 提交历史:
|
|
129
|
+
- 标记代码中完成的功能
|
|
130
|
+
- 识别正在进行的功能
|
|
131
|
+
- 统计本周/本月完成功能数
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### 第三步:整合检查结果
|
|
136
|
+
|
|
137
|
+
#### 3.1 与 `/check` 命令同步
|
|
138
|
+
|
|
139
|
+
```bash
|
|
140
|
+
# 如果最近没有运行过 /check,则执行全量检查
|
|
141
|
+
/check
|
|
142
|
+
|
|
143
|
+
# 提取检查结果中的:
|
|
144
|
+
# - 严重问题数量
|
|
145
|
+
# - 警告问题数量
|
|
146
|
+
# - 需要修复的问题清单
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
#### 3.2 与 `/progress` 命令同步
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
# 获取项目进度信息
|
|
153
|
+
/progress
|
|
154
|
+
|
|
155
|
+
# 提取数据:
|
|
156
|
+
# - 各模块完成率
|
|
157
|
+
# - 待完成功能列表
|
|
158
|
+
# - 代码质量评分
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
#### 3.3 生成综合分析
|
|
162
|
+
|
|
163
|
+
**输出信息**:
|
|
164
|
+
- 与上次同步相比的变化(新增/完成/修复)
|
|
165
|
+
- 阻塞项(高优先级 FIXME 未修复)
|
|
166
|
+
- 建议(基于 /next 的分析)
|
|
167
|
+
|
|
168
|
+
---
|
|
169
|
+
|
|
170
|
+
### 第四步:生成项目同步报告
|
|
171
|
+
|
|
172
|
+
```markdown
|
|
173
|
+
# 项目代码状态同步报告
|
|
174
|
+
|
|
175
|
+
**同步时间**:YYYY-MM-DD HH:mm
|
|
176
|
+
**上次同步**:YYYY-MM-DD(距今 X 天)
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## 最新进展
|
|
181
|
+
|
|
182
|
+
### Git 提交摘要
|
|
183
|
+
- **最新提交**:[commit message] ([hash])
|
|
184
|
+
- **最近 7 天**:X 次提交,涉及 X 个功能模块
|
|
185
|
+
- **提交活跃度**:[活跃/正常/低活跃]
|
|
186
|
+
|
|
187
|
+
### 代码完成度
|
|
188
|
+
| 模块 | 功能数 | 完成 | 进行中 | 待开发 | 完成率 |
|
|
189
|
+
|------|--------|------|--------|--------|---------|
|
|
190
|
+
| sys-canteen | X | X | X | X | XX% |
|
|
191
|
+
| sys-kitchen | X | X | X | X | XX% |
|
|
192
|
+
| sys-drp | X | X | X | X | XX% |
|
|
193
|
+
| sys-common | X | X | X | X | XX% |
|
|
194
|
+
| **合计** | **X** | **X** | **X** | **X** | **XX%** |
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
## 紧急问题(必须立即处理)
|
|
199
|
+
|
|
200
|
+
### 高优先级 FIXME
|
|
201
|
+
| 文件 | 行号 | 问题 | 影响 |
|
|
202
|
+
|------|------|------|------|
|
|
203
|
+
| [文件名].java | [行号] | [问题描述] | [影响范围] |
|
|
204
|
+
|
|
205
|
+
**处理建议**:
|
|
206
|
+
/check [模块名] # 查看详细问题
|
|
207
|
+
/next # 获取修复建议
|
|
208
|
+
|
|
209
|
+
---
|
|
210
|
+
|
|
211
|
+
## 代码规范检查结果
|
|
212
|
+
|
|
213
|
+
### 总体评分
|
|
214
|
+
| 维度 | 评分 | 说明 |
|
|
215
|
+
|------|------|------|
|
|
216
|
+
| 包名规范 | ✅ | 所有包名符合 net.xnzn.core.* 规范 |
|
|
217
|
+
| 权限注解 | ⚠️ | 3 个接口缺少 @RequiresAuthentication |
|
|
218
|
+
| 审计字段 | ✅ | 正确使用 crby/crtime/upby/uptime |
|
|
219
|
+
| del_flag 语义 | ✅ | 正确使用 2=正常,1=删除 |
|
|
220
|
+
| 对象转换 | ✅ | 正确使用 BeanUtil.copyProperties() |
|
|
221
|
+
| 请求封装 | ⚠️ | 2 处 POST 接口未使用 LeRequest<T> |
|
|
222
|
+
|
|
223
|
+
### 需要修复的问题
|
|
224
|
+
1. **权限注解缺失**(X 项)
|
|
225
|
+
- [Controller文件名].java
|
|
226
|
+
|
|
227
|
+
2. **LeRequest<T> 封装缺失**(X 项)
|
|
228
|
+
- [Controller文件名].java
|
|
229
|
+
|
|
230
|
+
---
|
|
231
|
+
|
|
232
|
+
## 待办事项更新
|
|
233
|
+
|
|
234
|
+
### 新增待办(本次扫描发现)
|
|
235
|
+
- [ ] [FIXME 描述](高优先级)
|
|
236
|
+
- [ ] [TODO 描述](中优先级)
|
|
237
|
+
|
|
238
|
+
### 本周完成的待办
|
|
239
|
+
- [x] [已完成功能描述]
|
|
240
|
+
|
|
241
|
+
### 当前进行中
|
|
242
|
+
| 任务 | 优先级 | 进度 | 预计完成 |
|
|
243
|
+
|------|--------|------|---------|
|
|
244
|
+
| [任务描述] | [优先级] | XX% | [时间] |
|
|
245
|
+
|
|
246
|
+
---
|
|
247
|
+
|
|
248
|
+
## 与其他命令的协作
|
|
249
|
+
|
|
250
|
+
### 工作流建议
|
|
251
|
+
1. **日常开发** → `/update-status` 增量更新
|
|
252
|
+
2. **每周末** → `/sync` 全量同步,生成报告
|
|
253
|
+
3. **遇到问题** → `/check` 检查代码规范
|
|
254
|
+
4. **规划工作** → `/progress` 查看进度,`/next` 获取建议
|
|
255
|
+
5. **交接新人** → `/start` 快速了解,`/sync` 查看最新状态
|
|
256
|
+
|
|
257
|
+
### 命令关系图
|
|
258
|
+
```
|
|
259
|
+
/start (快速了解)
|
|
260
|
+
↓
|
|
261
|
+
/crud or /dev (开发新功能)
|
|
262
|
+
↓
|
|
263
|
+
/check (检查规范)
|
|
264
|
+
↓
|
|
265
|
+
/sync (同步并生成报告) ← 您在这里
|
|
266
|
+
↓
|
|
267
|
+
/progress (查看进度)
|
|
268
|
+
↓
|
|
269
|
+
/next (获取建议)
|
|
270
|
+
```
|
|
271
|
+
|
|
272
|
+
---
|
|
273
|
+
|
|
274
|
+
## 检查通过项
|
|
275
|
+
|
|
276
|
+
- [x] 包名规范(net.xnzn.core.*)
|
|
277
|
+
- [x] 对象转换(BeanUtil.copyProperties())
|
|
278
|
+
- [x] 审计字段正确(crby/crtime/upby/uptime)
|
|
279
|
+
- [x] del_flag 语义正确(2=正常,1=删除)
|
|
280
|
+
- [x] Mapper 继承正确(BaseMapper<Entity>)
|
|
281
|
+
- [x] 无 tenant_id 字段(双库物理隔离)
|
|
282
|
+
|
|
283
|
+
---
|
|
284
|
+
|
|
285
|
+
## 同步说明
|
|
286
|
+
|
|
287
|
+
- 本报告基于当前代码扫描、Git 提交和规范检查综合生成
|
|
288
|
+
- 与 `/progress` 的区别:/progress 只读查看,/sync 生成综合报告
|
|
289
|
+
- 与 `/check` 的关系:/check 检查代码规范,/sync 整合检查结果
|
|
290
|
+
- 建议每周运行一次 `/sync` 命令进行定期整理
|
|
291
|
+
- 发现数据不一致时立即运行 `/sync` 进行全量同步
|
|
292
|
+
- 同步报告默认保存到 `docs/sync-report-YYYY-MM-DD.md`
|
|
293
|
+
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## 相关命令
|
|
297
|
+
|
|
298
|
+
| 命令 | 说明 | 何时使用 |
|
|
299
|
+
|------|------|---------|
|
|
300
|
+
| `/start` | 快速了解项目 | 初次接触项目 |
|
|
301
|
+
| `/check` | 代码规范检查 | 开发完成后 |
|
|
302
|
+
| `/progress` | 查看项目进度 | 了解完成情况 |
|
|
303
|
+
| `/next` | 获取下一步建议 | 不知道做什么 |
|
|
304
|
+
| `/sync` | 全量同步报告 | 每周整理、发现不一致 |
|
|
305
|
+
| `/update-status` | 增量更新状态 | 日常使用 |
|
|
306
|
+
| `/dev` | 开发新功能 | 从零开始 |
|
|
307
|
+
| `/crud` | 快速生成代码 | 表已存在时 |
|