@dtt_siye/atool 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/LICENSE +21 -0
- package/README.md +235 -0
- package/VERSION +1 -0
- package/agents/code-reviewer.md +29 -0
- package/bin/atool.js +235 -0
- package/bin/postinstall.js +23 -0
- package/hooks/doc-sync-reminder +155 -0
- package/hooks/hooks-cursor.json +37 -0
- package/hooks/hooks.json +37 -0
- package/hooks/prompt-guard +135 -0
- package/hooks/session-start +286 -0
- package/install.sh +603 -0
- package/lib/analyze-source.sh +1265 -0
- package/lib/common.sh +1041 -0
- package/lib/compute-importance.sh +598 -0
- package/lib/detect-stack.sh +354 -0
- package/lib/generate-visualization.sh +266 -0
- package/lib/install-claude.sh +43 -0
- package/lib/install-cursor.sh +281 -0
- package/lib/install-hooks.sh +285 -0
- package/lib/install-kiro.sh +543 -0
- package/lib/install-mcp.sh +99 -0
- package/lib/install-skills.sh +129 -0
- package/lib/knowledge-graph.sh +1014 -0
- package/lib/multi-dimensional-analysis.sh +413 -0
- package/lib/pre-scan.sh +1045 -0
- package/lib/project-init.sh +552 -0
- package/lib/visualization-template.html +545 -0
- package/mcp/recommended.json +24 -0
- package/package.json +39 -0
- package/skills/_superpowers/.claude-plugin/marketplace.json +20 -0
- package/skills/_superpowers/.claude-plugin/plugin.json +20 -0
- package/skills/_superpowers/.codex/INSTALL.md +67 -0
- package/skills/_superpowers/.cursor-plugin/plugin.json +25 -0
- package/skills/_superpowers/.gitattributes +18 -0
- package/skills/_superpowers/.github/FUNDING.yml +3 -0
- package/skills/_superpowers/.github/ISSUE_TEMPLATE/bug_report.md +52 -0
- package/skills/_superpowers/.github/ISSUE_TEMPLATE/config.yml +5 -0
- package/skills/_superpowers/.github/ISSUE_TEMPLATE/feature_request.md +34 -0
- package/skills/_superpowers/.github/ISSUE_TEMPLATE/platform_support.md +23 -0
- package/skills/_superpowers/.github/PULL_REQUEST_TEMPLATE.md +87 -0
- package/skills/_superpowers/.opencode/INSTALL.md +83 -0
- package/skills/_superpowers/.opencode/plugins/superpowers.js +107 -0
- package/skills/_superpowers/CHANGELOG.md +13 -0
- package/skills/_superpowers/CODE_OF_CONDUCT.md +128 -0
- package/skills/_superpowers/GEMINI.md +2 -0
- package/skills/_superpowers/LICENSE +21 -0
- package/skills/_superpowers/README.md +187 -0
- package/skills/_superpowers/RELEASE-NOTES.md +1083 -0
- package/skills/_superpowers/agents/code-reviewer.md +48 -0
- package/skills/_superpowers/commands/brainstorm.md +5 -0
- package/skills/_superpowers/commands/execute-plan.md +5 -0
- package/skills/_superpowers/commands/write-plan.md +5 -0
- package/skills/_superpowers/docs/README.codex.md +126 -0
- package/skills/_superpowers/docs/README.opencode.md +130 -0
- package/skills/_superpowers/docs/plans/2025-11-22-opencode-support-design.md +294 -0
- package/skills/_superpowers/docs/plans/2025-11-22-opencode-support-implementation.md +1095 -0
- package/skills/_superpowers/docs/plans/2025-11-28-skills-improvements-from-user-feedback.md +711 -0
- package/skills/_superpowers/docs/plans/2026-01-17-visual-brainstorming.md +571 -0
- package/skills/_superpowers/docs/superpowers/plans/2026-01-22-document-review-system.md +301 -0
- package/skills/_superpowers/docs/superpowers/plans/2026-02-19-visual-brainstorming-refactor.md +523 -0
- package/skills/_superpowers/docs/superpowers/plans/2026-03-11-zero-dep-brainstorm-server.md +479 -0
- package/skills/_superpowers/docs/superpowers/plans/2026-03-23-codex-app-compatibility.md +564 -0
- package/skills/_superpowers/docs/superpowers/specs/2026-01-22-document-review-system-design.md +136 -0
- package/skills/_superpowers/docs/superpowers/specs/2026-02-19-visual-brainstorming-refactor-design.md +162 -0
- package/skills/_superpowers/docs/superpowers/specs/2026-03-11-zero-dep-brainstorm-server-design.md +118 -0
- package/skills/_superpowers/docs/superpowers/specs/2026-03-23-codex-app-compatibility-design.md +244 -0
- package/skills/_superpowers/docs/testing.md +303 -0
- package/skills/_superpowers/docs/windows/polyglot-hooks.md +212 -0
- package/skills/_superpowers/gemini-extension.json +6 -0
- package/skills/_superpowers/hooks/hooks-cursor.json +10 -0
- package/skills/_superpowers/hooks/hooks.json +16 -0
- package/skills/_superpowers/hooks/run-hook.cmd +46 -0
- package/skills/_superpowers/hooks/session-start +57 -0
- package/skills/_superpowers/package.json +6 -0
- package/skills/_superpowers/skills/brainstorming/SKILL.md +164 -0
- package/skills/_superpowers/skills/brainstorming/scripts/frame-template.html +214 -0
- package/skills/_superpowers/skills/brainstorming/scripts/helper.js +88 -0
- package/skills/_superpowers/skills/brainstorming/scripts/server.cjs +354 -0
- package/skills/_superpowers/skills/brainstorming/scripts/start-server.sh +148 -0
- package/skills/_superpowers/skills/brainstorming/scripts/stop-server.sh +56 -0
- package/skills/_superpowers/skills/brainstorming/spec-document-reviewer-prompt.md +49 -0
- package/skills/_superpowers/skills/brainstorming/visual-companion.md +287 -0
- package/skills/_superpowers/skills/dispatching-parallel-agents/SKILL.md +182 -0
- package/skills/_superpowers/skills/executing-plans/SKILL.md +70 -0
- package/skills/_superpowers/skills/finishing-a-development-branch/SKILL.md +200 -0
- package/skills/_superpowers/skills/receiving-code-review/SKILL.md +213 -0
- package/skills/_superpowers/skills/requesting-code-review/SKILL.md +105 -0
- package/skills/_superpowers/skills/requesting-code-review/code-reviewer.md +146 -0
- package/skills/_superpowers/skills/subagent-driven-development/SKILL.md +277 -0
- package/skills/_superpowers/skills/subagent-driven-development/code-quality-reviewer-prompt.md +26 -0
- package/skills/_superpowers/skills/subagent-driven-development/implementer-prompt.md +113 -0
- package/skills/_superpowers/skills/subagent-driven-development/spec-reviewer-prompt.md +61 -0
- package/skills/_superpowers/skills/systematic-debugging/CREATION-LOG.md +119 -0
- package/skills/_superpowers/skills/systematic-debugging/SKILL.md +296 -0
- package/skills/_superpowers/skills/systematic-debugging/condition-based-waiting-example.ts +158 -0
- package/skills/_superpowers/skills/systematic-debugging/condition-based-waiting.md +115 -0
- package/skills/_superpowers/skills/systematic-debugging/defense-in-depth.md +122 -0
- package/skills/_superpowers/skills/systematic-debugging/find-polluter.sh +63 -0
- package/skills/_superpowers/skills/systematic-debugging/root-cause-tracing.md +169 -0
- package/skills/_superpowers/skills/systematic-debugging/test-academic.md +14 -0
- package/skills/_superpowers/skills/systematic-debugging/test-pressure-1.md +58 -0
- package/skills/_superpowers/skills/systematic-debugging/test-pressure-2.md +68 -0
- package/skills/_superpowers/skills/systematic-debugging/test-pressure-3.md +69 -0
- package/skills/_superpowers/skills/test-driven-development/SKILL.md +371 -0
- package/skills/_superpowers/skills/test-driven-development/testing-anti-patterns.md +299 -0
- package/skills/_superpowers/skills/using-git-worktrees/SKILL.md +218 -0
- package/skills/_superpowers/skills/using-superpowers/SKILL.md +115 -0
- package/skills/_superpowers/skills/using-superpowers/references/codex-tools.md +100 -0
- package/skills/_superpowers/skills/using-superpowers/references/gemini-tools.md +33 -0
- package/skills/_superpowers/skills/verification-before-completion/SKILL.md +139 -0
- package/skills/_superpowers/skills/writing-plans/SKILL.md +152 -0
- package/skills/_superpowers/skills/writing-plans/plan-document-reviewer-prompt.md +49 -0
- package/skills/_superpowers/skills/writing-skills/SKILL.md +655 -0
- package/skills/_superpowers/skills/writing-skills/anthropic-best-practices.md +1150 -0
- package/skills/_superpowers/skills/writing-skills/examples/CLAUDE_MD_TESTING.md +189 -0
- package/skills/_superpowers/skills/writing-skills/graphviz-conventions.dot +172 -0
- package/skills/_superpowers/skills/writing-skills/persuasion-principles.md +187 -0
- package/skills/_superpowers/skills/writing-skills/render-graphs.js +168 -0
- package/skills/_superpowers/skills/writing-skills/testing-skills-with-subagents.md +384 -0
- package/skills/_superpowers/tests/brainstorm-server/package-lock.json +36 -0
- package/skills/_superpowers/tests/brainstorm-server/package.json +10 -0
- package/skills/_superpowers/tests/brainstorm-server/server.test.js +427 -0
- package/skills/_superpowers/tests/brainstorm-server/windows-lifecycle.test.sh +351 -0
- package/skills/_superpowers/tests/brainstorm-server/ws-protocol.test.js +392 -0
- package/skills/_superpowers/tests/claude-code/README.md +158 -0
- package/skills/_superpowers/tests/claude-code/analyze-token-usage.py +168 -0
- package/skills/_superpowers/tests/claude-code/run-skill-tests.sh +187 -0
- package/skills/_superpowers/tests/claude-code/test-document-review-system.sh +177 -0
- package/skills/_superpowers/tests/claude-code/test-helpers.sh +202 -0
- package/skills/_superpowers/tests/claude-code/test-subagent-driven-development-integration.sh +314 -0
- package/skills/_superpowers/tests/claude-code/test-subagent-driven-development.sh +165 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/action-oriented.txt +3 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/after-planning-flow.txt +17 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/claude-suggested-it.txt +11 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/i-know-what-sdd-means.txt +8 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/mid-conversation-execute-plan.txt +3 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/please-use-brainstorming.txt +1 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/skip-formalities.txt +3 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/subagent-driven-development-please.txt +1 -0
- package/skills/_superpowers/tests/explicit-skill-requests/prompts/use-systematic-debugging.txt +1 -0
- package/skills/_superpowers/tests/explicit-skill-requests/run-all.sh +70 -0
- package/skills/_superpowers/tests/explicit-skill-requests/run-claude-describes-sdd.sh +100 -0
- package/skills/_superpowers/tests/explicit-skill-requests/run-extended-multiturn-test.sh +113 -0
- package/skills/_superpowers/tests/explicit-skill-requests/run-haiku-test.sh +144 -0
- package/skills/_superpowers/tests/explicit-skill-requests/run-multiturn-test.sh +143 -0
- package/skills/_superpowers/tests/explicit-skill-requests/run-test.sh +136 -0
- package/skills/_superpowers/tests/opencode/run-tests.sh +163 -0
- package/skills/_superpowers/tests/opencode/setup.sh +73 -0
- package/skills/_superpowers/tests/opencode/test-plugin-loading.sh +72 -0
- package/skills/_superpowers/tests/opencode/test-priority.sh +198 -0
- package/skills/_superpowers/tests/opencode/test-tools.sh +104 -0
- package/skills/_superpowers/tests/skill-triggering/prompts/dispatching-parallel-agents.txt +8 -0
- package/skills/_superpowers/tests/skill-triggering/prompts/executing-plans.txt +1 -0
- package/skills/_superpowers/tests/skill-triggering/prompts/requesting-code-review.txt +3 -0
- package/skills/_superpowers/tests/skill-triggering/prompts/systematic-debugging.txt +11 -0
- package/skills/_superpowers/tests/skill-triggering/prompts/test-driven-development.txt +7 -0
- package/skills/_superpowers/tests/skill-triggering/prompts/writing-plans.txt +10 -0
- package/skills/_superpowers/tests/skill-triggering/run-all.sh +60 -0
- package/skills/_superpowers/tests/skill-triggering/run-test.sh +88 -0
- package/skills/_superpowers/tests/subagent-driven-dev/go-fractals/design.md +81 -0
- package/skills/_superpowers/tests/subagent-driven-dev/go-fractals/plan.md +172 -0
- package/skills/_superpowers/tests/subagent-driven-dev/go-fractals/scaffold.sh +45 -0
- package/skills/_superpowers/tests/subagent-driven-dev/run-test.sh +106 -0
- package/skills/_superpowers/tests/subagent-driven-dev/svelte-todo/design.md +70 -0
- package/skills/_superpowers/tests/subagent-driven-dev/svelte-todo/plan.md +222 -0
- package/skills/_superpowers/tests/subagent-driven-dev/svelte-todo/scaffold.sh +46 -0
- package/skills/ai-project-architecture/SKILL.md +632 -0
- package/skills/ai-project-architecture/reference/structure-rules.md +406 -0
- package/skills/ai-project-architecture/templates/compliance-report.md +300 -0
- package/skills/ai-project-architecture/templates/migration-plan.md +433 -0
- package/skills/ai-project-architecture/templates/verification-checklist.md +408 -0
- package/skills/android-conventions/SKILL.md +125 -0
- package/skills/atool-init/SKILL.md +141 -0
- package/skills/clarify-before-build/SKILL.md +107 -0
- package/skills/code-review/SKILL.md +406 -0
- package/skills/code-review/rules/architecture.md +285 -0
- package/skills/code-review/rules/coupling-cohesion.md +309 -0
- package/skills/code-review/rules/dead-code.md +115 -0
- package/skills/code-review/rules/deprecation-debt.md +279 -0
- package/skills/code-review/rules/duplication.md +104 -0
- package/skills/code-review/rules/error-security.md +143 -0
- package/skills/code-review/rules/maintainability.md +203 -0
- package/skills/code-review/rules/quality.md +158 -0
- package/skills/devops-conventions/SKILL.md +205 -0
- package/skills/doc-coauthoring/SKILL.md +392 -0
- package/skills/doc-standards-enforcer/SKILL.md +290 -0
- package/skills/doc-standards-enforcer/examples/valid-document-example.md +67 -0
- package/skills/doc-standards-enforcer/references/101-standards-summary.md +318 -0
- package/skills/doc-standards-enforcer/scripts/check_references.py +175 -0
- package/skills/doc-standards-enforcer/scripts/fix_common_issues.py +303 -0
- package/skills/doc-standards-enforcer/scripts/validate_doc_standards.py +332 -0
- package/skills/docx/LICENSE.txt +30 -0
- package/skills/docx/SKILL.md +200 -0
- package/skills/docx/docx-js.md +350 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/docx/ooxml/scripts/pack.py +159 -0
- package/skills/docx/ooxml/scripts/unpack.py +29 -0
- package/skills/docx/ooxml/scripts/validate.py +69 -0
- package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
- package/skills/docx/ooxml/scripts/validation/base.py +951 -0
- package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
- package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
- package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
- package/skills/docx/ooxml.md +610 -0
- package/skills/docx/scripts/__init__.py +1 -0
- package/skills/docx/scripts/document.py +1276 -0
- package/skills/docx/scripts/templates/comments.xml +3 -0
- package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/skills/docx/scripts/templates/people.xml +3 -0
- package/skills/docx/scripts/utilities.py +374 -0
- package/skills/flutter-conventions/SKILL.md +70 -0
- package/skills/go-conventions/SKILL.md +230 -0
- package/skills/harmony-conventions/SKILL.md +156 -0
- package/skills/java-conventions/SKILL.md +277 -0
- package/skills/pdf/LICENSE.txt +30 -0
- package/skills/pdf/SKILL.md +297 -0
- package/skills/pdf/forms.md +205 -0
- package/skills/pdf/reference.md +612 -0
- package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
- package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
- package/skills/pdf/scripts/check_fillable_fields.py +12 -0
- package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
- package/skills/pdf/scripts/create_validation_image.py +41 -0
- package/skills/pdf/scripts/extract_form_field_info.py +152 -0
- package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
- package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
- package/skills/pptx/LICENSE.txt +30 -0
- package/skills/pptx/SKILL.md +487 -0
- package/skills/pptx/html2pptx.md +625 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
- package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
- package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
- package/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
- package/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
- package/skills/pptx/ooxml/scripts/pack.py +159 -0
- package/skills/pptx/ooxml/scripts/unpack.py +29 -0
- package/skills/pptx/ooxml/scripts/validate.py +69 -0
- package/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
- package/skills/pptx/ooxml/scripts/validation/base.py +951 -0
- package/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
- package/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
- package/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
- package/skills/pptx/ooxml.md +427 -0
- package/skills/pptx/scripts/html2pptx.js +979 -0
- package/skills/pptx/scripts/inventory.py +1020 -0
- package/skills/pptx/scripts/rearrange.py +231 -0
- package/skills/pptx/scripts/replace.py +385 -0
- package/skills/pptx/scripts/thumbnail.py +450 -0
- package/skills/project-analyze/SKILL.md +270 -0
- package/skills/project-analyze/phases/phase0-discovery.md +278 -0
- package/skills/project-analyze/phases/phase0.5-prescan.md +139 -0
- package/skills/project-analyze/phases/phase1-inventory.md +94 -0
- package/skills/project-analyze/phases/phase2-deep-analysis.md +249 -0
- package/skills/project-analyze/phases/phase2a-l4-analysis.md +94 -0
- package/skills/project-analyze/phases/phase2b-l5-analysis.md +97 -0
- package/skills/project-analyze/phases/phase3-knowledge-graph.md +120 -0
- package/skills/project-analyze/phases/phase3a-multi-dimensional.md +61 -0
- package/skills/project-analyze/phases/phase4-code-quality.md +81 -0
- package/skills/project-analyze/phases/phase5-synthesis.md +284 -0
- package/skills/project-analyze/phases/phase6-validation.md +179 -0
- package/skills/project-analyze/prompts/code-review-agent.md +122 -0
- package/skills/project-analyze/prompts/deep-analysis-agent.md +107 -0
- package/skills/project-analyze/prompts/inventory-agent.md +67 -0
- package/skills/project-analyze/prompts/l4-analysis-agent.md +98 -0
- package/skills/project-analyze/rules/android.md +282 -0
- package/skills/project-analyze/rules/devops.md +443 -0
- package/skills/project-analyze/rules/generic.md +243 -0
- package/skills/project-analyze/rules/go.md +289 -0
- package/skills/project-analyze/rules/harmony.md +257 -0
- package/skills/project-analyze/rules/java.md +507 -0
- package/skills/project-analyze/rules/mobile-flutter.md +315 -0
- package/skills/project-analyze/rules/mobile-react-native.md +283 -0
- package/skills/project-analyze/rules/mobile-swift.md +323 -0
- package/skills/project-analyze/rules/python.md +317 -0
- package/skills/project-analyze/rules/rust-tauri.md +243 -0
- package/skills/project-analyze/rules/rust.md +296 -0
- package/skills/project-analyze/rules/web-nextjs.md +364 -0
- package/skills/project-analyze/rules/web-react.md +298 -0
- package/skills/project-analyze/rules/web-vue.md +378 -0
- package/skills/project-analyze/rules/web.md +390 -0
- package/skills/project-query/SKILL.md +224 -0
- package/skills/project-query/rules/query-templates.md +212 -0
- package/skills/python-conventions/SKILL.md +169 -0
- package/skills/react-native-conventions/SKILL.md +73 -0
- package/skills/requirements-writer/README.md +153 -0
- package/skills/requirements-writer/SKILL.md +341 -0
- package/skills/requirements-writer/examples/prd-outline-example.md +217 -0
- package/skills/requirements-writer/templates/module-prd-template.md +362 -0
- package/skills/requirements-writer/templates/prd-outline-template.md +185 -0
- package/skills/requirements-writer/templates/user-story-template.md +1125 -0
- package/skills/rust-conventions/SKILL.md +361 -0
- package/skills/smart-dispatch/SKILL.md +296 -0
- package/skills/smart-dispatch/implementer-prompt.md +146 -0
- package/skills/smart-dispatch/reviewer-prompt.md +199 -0
- package/skills/software-architecture/SKILL.md +278 -0
- package/skills/swift-conventions/SKILL.md +72 -0
- package/skills/ui-ux-pro/SKILL.md +140 -0
- package/skills/verification-before-completion/SKILL.md +119 -0
- package/skills/web-conventions/SKILL.md +259 -0
- package/skills/webapp-testing/LICENSE.txt +202 -0
- package/skills/webapp-testing/SKILL.md +97 -0
- package/skills/webapp-testing/examples/console_logging.py +35 -0
- package/skills/webapp-testing/examples/element_discovery.py +40 -0
- package/skills/webapp-testing/examples/static_html_automation.py +33 -0
- package/skills/webapp-testing/scripts/with_server.py +106 -0
- package/skills/writing-plans/SKILL.md +144 -0
- package/skills/xlsx/LICENSE.txt +30 -0
- package/skills/xlsx/SKILL.md +292 -0
- package/skills/xlsx/recalc.py +178 -0
- package/templates/CLAUDE.md.android +57 -0
- package/templates/CLAUDE.md.devops +50 -0
- package/templates/CLAUDE.md.generic +34 -0
- package/templates/CLAUDE.md.go +67 -0
- package/templates/CLAUDE.md.harmony +54 -0
- package/templates/CLAUDE.md.java +56 -0
- package/templates/CLAUDE.md.mobile-flutter +38 -0
- package/templates/CLAUDE.md.mobile-react-native +37 -0
- package/templates/CLAUDE.md.mobile-swift +40 -0
- package/templates/CLAUDE.md.python +65 -0
- package/templates/CLAUDE.md.rust +68 -0
- package/templates/CLAUDE.md.rust-tauri +120 -0
- package/templates/CLAUDE.md.web +63 -0
- package/templates/COMPONENT.md.android +58 -0
- package/templates/COMPONENT.md.devops +54 -0
- package/templates/COMPONENT.md.generic +35 -0
- package/templates/COMPONENT.md.go +59 -0
- package/templates/COMPONENT.md.harmony +63 -0
- package/templates/COMPONENT.md.java +69 -0
- package/templates/COMPONENT.md.mobile-flutter +56 -0
- package/templates/COMPONENT.md.mobile-react-native +55 -0
- package/templates/COMPONENT.md.mobile-swift +56 -0
- package/templates/COMPONENT.md.python +67 -0
- package/templates/COMPONENT.md.rust +57 -0
- package/templates/COMPONENT.md.rust-tauri +66 -0
- package/templates/COMPONENT.md.web +39 -0
- package/templates/README.md.android +71 -0
- package/templates/README.md.devops +68 -0
- package/templates/README.md.generic +39 -0
- package/templates/README.md.go +70 -0
- package/templates/README.md.harmony +72 -0
- package/templates/README.md.java +73 -0
- package/templates/README.md.mobile-flutter +69 -0
- package/templates/README.md.mobile-react-native +65 -0
- package/templates/README.md.mobile-swift +69 -0
- package/templates/README.md.monorepo +59 -0
- package/templates/README.md.python +66 -0
- package/templates/README.md.rust +69 -0
- package/templates/README.md.rust-tauri +149 -0
- package/templates/README.md.web +94 -0
- package/templates/UI_STYLE.md.android +74 -0
- package/templates/UI_STYLE.md.devops +50 -0
- package/templates/UI_STYLE.md.generic +31 -0
- package/templates/UI_STYLE.md.go +49 -0
- package/templates/UI_STYLE.md.harmony +71 -0
- package/templates/UI_STYLE.md.java +61 -0
- package/templates/UI_STYLE.md.mobile-flutter +70 -0
- package/templates/UI_STYLE.md.mobile-react-native +71 -0
- package/templates/UI_STYLE.md.mobile-swift +71 -0
- package/templates/UI_STYLE.md.python +58 -0
- package/templates/UI_STYLE.md.rust +52 -0
- package/templates/UI_STYLE.md.rust-tauri +102 -0
- package/templates/UI_STYLE.md.web +92 -0
- package/templates/cursor-rules.android.mdc +33 -0
- package/templates/cursor-rules.devops.mdc +32 -0
- package/templates/cursor-rules.generic.mdc +25 -0
- package/templates/cursor-rules.go.mdc +34 -0
- package/templates/cursor-rules.harmony.mdc +30 -0
- package/templates/cursor-rules.java.mdc +30 -0
- package/templates/cursor-rules.mobile-flutter.mdc +42 -0
- package/templates/cursor-rules.mobile-react-native.mdc +43 -0
- package/templates/cursor-rules.mobile-swift.mdc +42 -0
- package/templates/cursor-rules.python.mdc +33 -0
- package/templates/cursor-rules.rust-tauri.mdc +67 -0
- package/templates/cursor-rules.rust.mdc +30 -0
- package/templates/cursor-rules.web.mdc +30 -0
- package/templates/kiro-steering.android.md +39 -0
- package/templates/kiro-steering.devops.md +32 -0
- package/templates/kiro-steering.generic.md +28 -0
- package/templates/kiro-steering.go.md +41 -0
- package/templates/kiro-steering.harmony.md +36 -0
- package/templates/kiro-steering.java.md +37 -0
- package/templates/kiro-steering.mobile-flutter.md +73 -0
- package/templates/kiro-steering.mobile-react-native.md +71 -0
- package/templates/kiro-steering.mobile-swift.md +62 -0
- package/templates/kiro-steering.python.md +34 -0
- package/templates/kiro-steering.rust-tauri.md +50 -0
- package/templates/kiro-steering.rust.md +36 -0
- package/templates/kiro-steering.web.md +41 -0
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
# Migration Verification Checklist
|
|
2
|
+
|
|
3
|
+
**Project**: [Project Name]
|
|
4
|
+
**Migration Date**: [YYYY-MM-DD]
|
|
5
|
+
**Verified By**: AI Project Architecture Skill
|
|
6
|
+
**Migration Phase**: Phase 4 - Code Verification
|
|
7
|
+
|
|
8
|
+
---
|
|
9
|
+
|
|
10
|
+
## Overview
|
|
11
|
+
|
|
12
|
+
This checklist verifies that migrated code is functionally equivalent to the original and follows LangGraph 1.0+ architecture standards.
|
|
13
|
+
|
|
14
|
+
**Verification Status**: [✓ PASSED | ⚠ NEEDS ATTENTION | ✗ FAILED]
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## 1. Structure Verification
|
|
19
|
+
|
|
20
|
+
### 1.1 Directory Structure
|
|
21
|
+
|
|
22
|
+
#### Tier 1: Mandatory Directories
|
|
23
|
+
|
|
24
|
+
- [ ] `agents/` exists with all agents (Tier 1 - Mandatory)
|
|
25
|
+
- [ ] `apps/` exists with required subdirectories (llms/, utils/, logs/) (Tier 1 - Mandatory)
|
|
26
|
+
- [ ] `core/` exists with required subdirectories (logging/, middleware/) (Tier 1 - Mandatory)
|
|
27
|
+
- [ ] `configs/` exists with all configuration files (Tier 1 - Mandatory)
|
|
28
|
+
|
|
29
|
+
**Severity**: Failure = CRITICAL
|
|
30
|
+
|
|
31
|
+
#### Tier 2: Conditionally Required Directories
|
|
32
|
+
|
|
33
|
+
- [ ] `models/` exists (Tier 2 - Conditional: only if shared ORM models present)
|
|
34
|
+
- **Condition met**: [Yes/No]
|
|
35
|
+
- **Required**: [Yes/No/N/A]
|
|
36
|
+
- **Present**: [Yes/No]
|
|
37
|
+
|
|
38
|
+
**Severity**: Failure = HIGH (if condition met)
|
|
39
|
+
|
|
40
|
+
#### Tier 3: Optional Directories
|
|
41
|
+
|
|
42
|
+
- [ ] `tests/` exists (Tier 3 - Optional but recommended)
|
|
43
|
+
- [ ] `docs/` exists (Tier 3 - Optional)
|
|
44
|
+
- [ ] `bin/` exists (Tier 3 - Optional)
|
|
45
|
+
|
|
46
|
+
**Severity**: Failure = LOW (informational only)
|
|
47
|
+
|
|
48
|
+
#### General Structure Checks
|
|
49
|
+
|
|
50
|
+
- [ ] No temporary `new_` prefixes remain
|
|
51
|
+
- [ ] No old structure directories in root (except archivecodes/)
|
|
52
|
+
|
|
53
|
+
**Issues Found**:
|
|
54
|
+
- [List any structural issues with tier classification]
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
### 1.2 Agent Structure
|
|
59
|
+
|
|
60
|
+
For each agent in `agents/`:
|
|
61
|
+
|
|
62
|
+
#### Agent: [agent_name]
|
|
63
|
+
|
|
64
|
+
**Condition Analysis**:
|
|
65
|
+
- Uses LangGraph: [Yes/No]
|
|
66
|
+
- Uses state persistence: [Yes/No]
|
|
67
|
+
- Exposes HTTP endpoints: [Yes/No]
|
|
68
|
+
- Has independent DB tables: [Yes/No]
|
|
69
|
+
- Uses custom LangGraph state: [Yes/No]
|
|
70
|
+
|
|
71
|
+
##### Tier 1: Mandatory Components
|
|
72
|
+
|
|
73
|
+
- [ ] `agents/[agent_name]/nodes/` exists (Tier 1 - Mandatory)
|
|
74
|
+
- [ ] `agents/[agent_name]/services/` exists (Tier 1 - Mandatory)
|
|
75
|
+
- [ ] `agents/[agent_name]/models/api.py` exists (Tier 1 - Mandatory)
|
|
76
|
+
- [ ] `agents/[agent_name]/tools/` exists (Tier 1 - Mandatory)
|
|
77
|
+
|
|
78
|
+
**Severity**: Any failure = CRITICAL
|
|
79
|
+
|
|
80
|
+
##### Tier 2: Conditionally Required Components
|
|
81
|
+
|
|
82
|
+
- [ ] `graph.py` present (Tier 2 - Required if uses LangGraph)
|
|
83
|
+
- **Condition met**: [Yes/No]
|
|
84
|
+
- **Present**: [Yes/No/N/A]
|
|
85
|
+
|
|
86
|
+
- [ ] `checkpoint.py` present (Tier 2 - Required if uses state persistence)
|
|
87
|
+
- **Condition met**: [Yes/No]
|
|
88
|
+
- **Present**: [Yes/No/N/A]
|
|
89
|
+
|
|
90
|
+
- [ ] `views.py` present (Tier 2 - Required if exposes HTTP endpoints)
|
|
91
|
+
- **Condition met**: [Yes/No]
|
|
92
|
+
- **Present**: [Yes/No/N/A]
|
|
93
|
+
|
|
94
|
+
- [ ] `models/orm.py` present (Tier 2 - Required if has independent DB tables)
|
|
95
|
+
- **Condition met**: [Yes/No]
|
|
96
|
+
- **Present**: [Yes/No/N/A]
|
|
97
|
+
|
|
98
|
+
- [ ] `models/state.py` present (Tier 2 - Required if uses custom LangGraph state)
|
|
99
|
+
- **Condition met**: [Yes/No]
|
|
100
|
+
- **Present**: [Yes/No/N/A]
|
|
101
|
+
|
|
102
|
+
**Severity**: Failure = HIGH (if condition met)
|
|
103
|
+
|
|
104
|
+
##### Tier 3: Optional Components
|
|
105
|
+
|
|
106
|
+
- [ ] `constants.py` present (Tier 3 - Optional)
|
|
107
|
+
- **Present**: [Yes/No]
|
|
108
|
+
|
|
109
|
+
**Severity**: Failure = LOW (informational only)
|
|
110
|
+
|
|
111
|
+
**Issues Found**:
|
|
112
|
+
- [List any agent structural issues with tier classification]
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
## 2. Import Verification
|
|
117
|
+
|
|
118
|
+
### 2.1 Import Statement Updates
|
|
119
|
+
|
|
120
|
+
- [ ] All imports use new structure paths
|
|
121
|
+
- [ ] No imports reference old paths
|
|
122
|
+
- [ ] Absolute imports used where appropriate
|
|
123
|
+
- [ ] Relative imports used for same-package references
|
|
124
|
+
- [ ] No circular import dependencies
|
|
125
|
+
|
|
126
|
+
### 2.2 Import Resolution Tests
|
|
127
|
+
|
|
128
|
+
For each module:
|
|
129
|
+
|
|
130
|
+
| Module | Import Test | Result | Notes |
|
|
131
|
+
|--------|-------------|--------|-------|
|
|
132
|
+
| `core` | `python -c "import core"` | [Pass/Fail] | [Notes] |
|
|
133
|
+
| `apps` | `python -c "import apps"` | [Pass/Fail] | [Notes] |
|
|
134
|
+
| `configs` | `python -c "import configs"` | [Pass/Fail] | [Notes] |
|
|
135
|
+
| `models` | `python -c "import models"` | [Pass/Fail] | [Notes] |
|
|
136
|
+
| `agents.agent1` | `python -c "from agents.agent1 import *"` | [Pass/Fail] | [Notes] |
|
|
137
|
+
| `agents.agent2` | `python -c "from agents.agent2 import *"` | [Pass/Fail] | [Notes] |
|
|
138
|
+
|
|
139
|
+
**Issues Found**:
|
|
140
|
+
- [List any import issues]
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## 3. Code Content Verification
|
|
145
|
+
|
|
146
|
+
### 3.1 Behavioral Preservation
|
|
147
|
+
|
|
148
|
+
For each migrated file:
|
|
149
|
+
|
|
150
|
+
- [ ] File content is identical (except import statements)
|
|
151
|
+
- [ ] No functionality added
|
|
152
|
+
- [ ] No functionality removed
|
|
153
|
+
- [ ] No logic changes
|
|
154
|
+
- [ ] No "improvements" or optimizations
|
|
155
|
+
- [ ] Comments and docstrings preserved
|
|
156
|
+
|
|
157
|
+
**Files Requiring Manual Review**:
|
|
158
|
+
- [List files that need manual verification]
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
### 3.2 Cross-Reference Updates
|
|
163
|
+
|
|
164
|
+
- [ ] Configuration files updated
|
|
165
|
+
- [ ] Documentation files updated
|
|
166
|
+
- [ ] Test files updated
|
|
167
|
+
- [ ] Script files updated
|
|
168
|
+
- [ ] Docker/config files updated
|
|
169
|
+
- [ ] README files updated
|
|
170
|
+
|
|
171
|
+
**References Not Updated**:
|
|
172
|
+
- [List any unreferenced updates]
|
|
173
|
+
|
|
174
|
+
---
|
|
175
|
+
|
|
176
|
+
## 4. Syntax & Compilation Verification
|
|
177
|
+
|
|
178
|
+
### 4.1 Syntax Check
|
|
179
|
+
|
|
180
|
+
For each Python file:
|
|
181
|
+
|
|
182
|
+
```bash
|
|
183
|
+
python -m py_compile [file.py]
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
| File/Directory | Syntax Check | Result | Notes |
|
|
187
|
+
|----------------|--------------|--------|-------|
|
|
188
|
+
| `core/` | `python -m py_compile core/**/*.py` | [Pass/Fail] | [Notes] |
|
|
189
|
+
| `apps/` | `python -m py_compile apps/**/*.py` | [Pass/Fail] | [Notes] |
|
|
190
|
+
| `configs/` | `python -m py_compile configs/**/*.py` | [Pass/Fail] | [Notes] |
|
|
191
|
+
| `models/` | `python -m py_compile models/**/*.py` | [Pass/Fail] | [Notes] |
|
|
192
|
+
| `agents/agent1/` | `python -m py_compile agents/agent1/**/*.py` | [Pass/Fail] | [Notes] |
|
|
193
|
+
|
|
194
|
+
**Syntax Errors Found**:
|
|
195
|
+
- [List any syntax errors]
|
|
196
|
+
|
|
197
|
+
---
|
|
198
|
+
|
|
199
|
+
### 4.2 Linting (Optional)
|
|
200
|
+
|
|
201
|
+
If project uses linting (pylint, flake8, black):
|
|
202
|
+
|
|
203
|
+
- [ ] Run linter on all migrated code
|
|
204
|
+
- [ ] Fix linting issues (if not blocking)
|
|
205
|
+
- [ ] Linting score acceptable
|
|
206
|
+
|
|
207
|
+
**Linting Issues**:
|
|
208
|
+
- [List any linting issues]
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## 5. Functional Verification
|
|
213
|
+
|
|
214
|
+
### 5.1 Existing Tests
|
|
215
|
+
|
|
216
|
+
If project has existing tests:
|
|
217
|
+
|
|
218
|
+
- [ ] All tests run successfully
|
|
219
|
+
- [ ] Test results identical to pre-migration
|
|
220
|
+
- [ ] No test failures
|
|
221
|
+
- [ ] No test errors
|
|
222
|
+
- [ ] Test coverage maintained
|
|
223
|
+
|
|
224
|
+
**Test Results**:
|
|
225
|
+
```
|
|
226
|
+
[Insert test output here]
|
|
227
|
+
pytest tests/ -v
|
|
228
|
+
```
|
|
229
|
+
|
|
230
|
+
**Issues Found**:
|
|
231
|
+
- [List any test failures]
|
|
232
|
+
|
|
233
|
+
---
|
|
234
|
+
|
|
235
|
+
### 5.2 Manual Verification
|
|
236
|
+
|
|
237
|
+
For critical functionality:
|
|
238
|
+
|
|
239
|
+
| Feature | Manual Test | Result | Notes |
|
|
240
|
+
|---------|-------------|--------|-------|
|
|
241
|
+
| [Feature 1] | [Test steps] | [Pass/Fail] | [Notes] |
|
|
242
|
+
| [Feature 2] | [Test steps] | [Pass/Fail] | [Notes] |
|
|
243
|
+
|
|
244
|
+
**Issues Found**:
|
|
245
|
+
- [List any functional issues]
|
|
246
|
+
|
|
247
|
+
---
|
|
248
|
+
|
|
249
|
+
## 6. Integration Verification
|
|
250
|
+
|
|
251
|
+
### 6.1 Inter-Agent Communication
|
|
252
|
+
|
|
253
|
+
If agents communicate with each other:
|
|
254
|
+
|
|
255
|
+
- [ ] Agent-to-agent imports work correctly
|
|
256
|
+
- [ ] Agent-to-agent function calls work
|
|
257
|
+
- [ ] Integration tests pass (if exist)
|
|
258
|
+
|
|
259
|
+
**Integration Issues**:
|
|
260
|
+
- [List any integration issues]
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
### 6.2 External Integrations
|
|
265
|
+
|
|
266
|
+
- [ ] Database connections work (if applicable)
|
|
267
|
+
- [ ] Redis connections work (if applicable)
|
|
268
|
+
- [ ] LLM integrations work (if applicable)
|
|
269
|
+
- [ ] External API calls work (if applicable)
|
|
270
|
+
|
|
271
|
+
**Integration Issues**:
|
|
272
|
+
- [List any external integration issues]
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## 7. Performance Verification
|
|
277
|
+
|
|
278
|
+
### 7.1 Performance Comparison
|
|
279
|
+
|
|
280
|
+
| Metric | Pre-Migration | Post-Migration | Delta | Acceptable |
|
|
281
|
+
|--------|---------------|----------------|-------|------------|
|
|
282
|
+
| [Startup time] | [X]s | [X]s | [±X%] | [Yes/No] |
|
|
283
|
+
| [Memory usage] | [X]MB | [X]MB | [±X%] | [Yes/No] |
|
|
284
|
+
| [Request latency] | [X]ms | [X]ms | [±X%] | [Yes/No] |
|
|
285
|
+
|
|
286
|
+
**Performance Regression Detected**:
|
|
287
|
+
- [List any performance regressions]
|
|
288
|
+
|
|
289
|
+
---
|
|
290
|
+
|
|
291
|
+
## 8. Documentation Verification
|
|
292
|
+
|
|
293
|
+
- [ ] README reflects new structure
|
|
294
|
+
- [ ] API documentation updated
|
|
295
|
+
- [ ] Architecture documentation updated
|
|
296
|
+
- [ ] Migration changelog created
|
|
297
|
+
- [ ] Developer guide updated (if exists)
|
|
298
|
+
|
|
299
|
+
**Documentation Issues**:
|
|
300
|
+
- [List any documentation issues]
|
|
301
|
+
|
|
302
|
+
---
|
|
303
|
+
|
|
304
|
+
## 9. systematic-debugging Review
|
|
305
|
+
|
|
306
|
+
**Quality Gate (MANDATORY)**:
|
|
307
|
+
|
|
308
|
+
- [ ] systematic-debugging skill invoked
|
|
309
|
+
- [ ] Root cause analysis completed for any issues
|
|
310
|
+
- [ ] All code changes validated
|
|
311
|
+
- [ ] No unresolved issues remain
|
|
312
|
+
|
|
313
|
+
**systematic-debugging Findings**:
|
|
314
|
+
- [Insert findings here]
|
|
315
|
+
|
|
316
|
+
---
|
|
317
|
+
|
|
318
|
+
## 10. Final Validation
|
|
319
|
+
|
|
320
|
+
### 10.1 Iron Law Compliance
|
|
321
|
+
|
|
322
|
+
- [ ] NO new features added (Iron Law 2)
|
|
323
|
+
- [ ] NO behavioral changes (Iron Law 2)
|
|
324
|
+
- [ ] Incremental execution followed (Iron Law 3)
|
|
325
|
+
- [ ] Quality gates executed (Iron Law 4)
|
|
326
|
+
- [ ] Required skills invoked (Iron Law 5)
|
|
327
|
+
|
|
328
|
+
**Iron Law Violations**:
|
|
329
|
+
- [List any violations (should be NONE)]
|
|
330
|
+
|
|
331
|
+
---
|
|
332
|
+
|
|
333
|
+
### 10.2 Pre-Archive Checklist
|
|
334
|
+
|
|
335
|
+
Before archiving old structure:
|
|
336
|
+
|
|
337
|
+
- [ ] All verification checks pass
|
|
338
|
+
- [ ] All tests pass
|
|
339
|
+
- [ ] No unresolved issues
|
|
340
|
+
- [ ] Documentation updated
|
|
341
|
+
- [ ] Ready to proceed to Phase 5 (Archive & Test)
|
|
342
|
+
|
|
343
|
+
---
|
|
344
|
+
|
|
345
|
+
## Issues Summary
|
|
346
|
+
|
|
347
|
+
### Critical Issues (Must Fix)
|
|
348
|
+
|
|
349
|
+
1. **[Issue description]**
|
|
350
|
+
- **Location**: [File/Component]
|
|
351
|
+
- **Impact**: [Description]
|
|
352
|
+
- **Fix**: [Required fix]
|
|
353
|
+
|
|
354
|
+
### High Priority Issues (Should Fix)
|
|
355
|
+
|
|
356
|
+
1. **[Issue description]**
|
|
357
|
+
- **Location**: [File/Component]
|
|
358
|
+
- **Impact**: [Description]
|
|
359
|
+
- **Fix**: [Recommended fix]
|
|
360
|
+
|
|
361
|
+
### Medium Priority Issues (Consider Fixing)
|
|
362
|
+
|
|
363
|
+
1. **[Issue description]**
|
|
364
|
+
- **Location**: [File/Component]
|
|
365
|
+
- **Impact**: [Description]
|
|
366
|
+
- **Fix**: [Optional fix]
|
|
367
|
+
|
|
368
|
+
### Low Priority Issues (Nice to Have)
|
|
369
|
+
|
|
370
|
+
1. **[Issue description]**
|
|
371
|
+
- **Location**: [File/Component]
|
|
372
|
+
- **Impact**: [Description]
|
|
373
|
+
- **Fix**: [Optional fix]
|
|
374
|
+
|
|
375
|
+
---
|
|
376
|
+
|
|
377
|
+
## Verification Summary
|
|
378
|
+
|
|
379
|
+
**Overall Status**: [✓ PASSED | ⚠ NEEDS ATTENTION | ✗ FAILED]
|
|
380
|
+
|
|
381
|
+
**Statistics**:
|
|
382
|
+
- Total Checks: [X]
|
|
383
|
+
- Passed: [X]
|
|
384
|
+
- Failed: [X]
|
|
385
|
+
- Pass Rate: [X]%
|
|
386
|
+
|
|
387
|
+
**Decision**:
|
|
388
|
+
- [ ] Proceed to Phase 5 (Archive & Test)
|
|
389
|
+
- [ ] Fix issues and re-verify
|
|
390
|
+
- [ ] Revise migration plan
|
|
391
|
+
|
|
392
|
+
**Verified By**: [AI Project Architecture Skill + systematic-debugging]
|
|
393
|
+
**Verification Date**: [YYYY-MM-DD HH:MM:SS]
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
## Sign-Off
|
|
398
|
+
|
|
399
|
+
**Verification Completed By**: [User/Developer]
|
|
400
|
+
**Verification Date**: [YYYY-MM-DD]
|
|
401
|
+
|
|
402
|
+
**Approval to Proceed**:
|
|
403
|
+
- [ ] Approved - Proceed to Phase 5
|
|
404
|
+
- [ ] Approved with Minor Fixes - Fix issues, then proceed
|
|
405
|
+
- [ ] Not Approved - Fix issues, re-verify
|
|
406
|
+
|
|
407
|
+
**Notes**:
|
|
408
|
+
- [Any additional notes or concerns]
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: android-conventions
|
|
3
|
+
description: Android/Kotlin/Gradle development conventions and best practices
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Android / Kotlin Conventions
|
|
8
|
+
|
|
9
|
+
Use this skill when working on Android projects with Kotlin.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
- Detected Android project (AndroidManifest.xml, build.gradle with android plugin)
|
|
13
|
+
- User asks about Android/Kotlin best practices
|
|
14
|
+
- Writing or reviewing Android code
|
|
15
|
+
|
|
16
|
+
## Code Style
|
|
17
|
+
|
|
18
|
+
### Kotlin
|
|
19
|
+
- Follow Kotlin Coding Conventions
|
|
20
|
+
- Use trailing commas in multi-line expressions
|
|
21
|
+
- Prefer `val` over `var`
|
|
22
|
+
- Use string templates over string concatenation
|
|
23
|
+
- Use named arguments for clarity
|
|
24
|
+
- Prefer data classes for data holders
|
|
25
|
+
- Use sealed classes for restricted class hierarchies
|
|
26
|
+
|
|
27
|
+
### Naming
|
|
28
|
+
- Classes: PascalCase (`UserViewModel`)
|
|
29
|
+
- Functions/Properties: camelCase (`getUser()`)
|
|
30
|
+
- Constants: UPPER_SNAKE_CASE in `companion object`
|
|
31
|
+
- XML IDs: snake_case (`user_name_text`)
|
|
32
|
+
|
|
33
|
+
## Architecture (MVVM)
|
|
34
|
+
|
|
35
|
+
```
|
|
36
|
+
UI (Activity/Fragment/Compose)
|
|
37
|
+
↓
|
|
38
|
+
ViewModel
|
|
39
|
+
↓
|
|
40
|
+
UseCase (optional)
|
|
41
|
+
↓
|
|
42
|
+
Repository
|
|
43
|
+
↓
|
|
44
|
+
Data Source (Remote + Local)
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
### ViewModel
|
|
48
|
+
```kotlin
|
|
49
|
+
@HiltViewModel
|
|
50
|
+
class UserViewModel @Inject constructor(
|
|
51
|
+
private val repository: UserRepository
|
|
52
|
+
) : ViewModel() {
|
|
53
|
+
private val _uiState = MutableStateFlow<UserUiState>(UserUiState.Loading)
|
|
54
|
+
val uiState: StateFlow<UserUiState> = _uiState.asStateFlow()
|
|
55
|
+
|
|
56
|
+
fun loadUser(id: String) {
|
|
57
|
+
viewModelScope.launch {
|
|
58
|
+
repository.getUser(id)
|
|
59
|
+
.catch { _uiState.value = UserUiState.Error(it.message) }
|
|
60
|
+
.collect { _uiState.value = UserUiState.Success(it) }
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### State Representation
|
|
67
|
+
```kotlin
|
|
68
|
+
sealed interface UserUiState {
|
|
69
|
+
object Loading : UserUiState
|
|
70
|
+
data class Success(val user: User) : UserUiState
|
|
71
|
+
data class Error(val message: String?) : UserUiState
|
|
72
|
+
}
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
## Jetpack Compose
|
|
76
|
+
|
|
77
|
+
### Principles
|
|
78
|
+
- Stateless composables preferred
|
|
79
|
+
- State hoisting - lift state to the lowest common parent
|
|
80
|
+
- Use `remember` for mutable state
|
|
81
|
+
- Use `derivedStateOf` for computed state
|
|
82
|
+
- Unidirectional data flow
|
|
83
|
+
|
|
84
|
+
### Composable Structure
|
|
85
|
+
```kotlin
|
|
86
|
+
@Composable
|
|
87
|
+
fun UserScreen(
|
|
88
|
+
viewModel: UserViewModel = hiltViewModel()
|
|
89
|
+
) {
|
|
90
|
+
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
|
|
91
|
+
|
|
92
|
+
when (val state = uiState) {
|
|
93
|
+
is UserUiState.Loading -> LoadingIndicator()
|
|
94
|
+
is UserUiState.Success -> UserContent(state.user)
|
|
95
|
+
is UserUiState.Error -> ErrorMessage(state.message)
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
## Dependency Injection (Hilt)
|
|
101
|
+
- Use `@HiltAndroidApp` on Application class
|
|
102
|
+
- `@AndroidEntryPoint` on Activity/Fragment
|
|
103
|
+
- `@HiltViewModel` for ViewModels
|
|
104
|
+
- `@Inject constructor` for dependencies
|
|
105
|
+
- Use `@Module` + `@Provides` or `@Binds` for bindings
|
|
106
|
+
|
|
107
|
+
## Resource Guidelines
|
|
108
|
+
- Use `strings.xml` for all user-facing text
|
|
109
|
+
- Follow density-independent sizing
|
|
110
|
+
- Use vector drawables over raster images
|
|
111
|
+
- Use themes and Material Design 3 components
|
|
112
|
+
- Support dark mode with `uiMode` qualifier
|
|
113
|
+
|
|
114
|
+
## Testing
|
|
115
|
+
- Unit tests: JUnit 5 + MockK + Turbine (for Flow)
|
|
116
|
+
- Compose UI tests: `@get:Rule ComposeTestRule`
|
|
117
|
+
- Instrumented tests: Espresso
|
|
118
|
+
- Use `@RunWith(RobolectricTestRunner::class)` for Android framework tests
|
|
119
|
+
- Test ViewModels by observing StateFlow with Turbine
|
|
120
|
+
|
|
121
|
+
## Gradle
|
|
122
|
+
- Use version catalogs (`libs.versions.toml`)
|
|
123
|
+
- Configure build types (debug, release)
|
|
124
|
+
- Use build features selectively
|
|
125
|
+
- Keep build times minimal
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: atool-init
|
|
3
|
+
description: "Initialize a project with aTool - one-step setup: auto-detect global install status, run global install if needed, then generate project-level CLAUDE.md, Cursor rules, Kiro steering. Use when user says /atool-init, initialize project, setup aTool. 触发:初始化项目/配置aTool/init project"
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# aTool Project Initialization (One-Step)
|
|
8
|
+
|
|
9
|
+
One-step project initialization: automatically checks global install status, performs global install if needed, then generates all project-level configuration files.
|
|
10
|
+
|
|
11
|
+
## When to Use
|
|
12
|
+
- User starts a new project and wants AI IDE configuration
|
|
13
|
+
- User asks to set up or configure aTool for their project
|
|
14
|
+
- User says "/atool-init", "initialize project", "setup atool", "init project"
|
|
15
|
+
- User says "初始化项目", "配置aTool", "初始化aTool"
|
|
16
|
+
- User wants to generate CLAUDE.md, Cursor rules, or Kiro steering
|
|
17
|
+
|
|
18
|
+
## Steps
|
|
19
|
+
|
|
20
|
+
### Step 1: Detect the project directory
|
|
21
|
+
|
|
22
|
+
- Use the current working directory unless the user specifies a different path
|
|
23
|
+
- Verify the directory exists and is a valid project
|
|
24
|
+
|
|
25
|
+
### Step 2: Check global installation status
|
|
26
|
+
|
|
27
|
+
Before running project init, check if aTool global installation has been completed:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
# Check if global install has been done (skills/hooks/MCP installed)
|
|
31
|
+
# Look for signs of completed global install:
|
|
32
|
+
GLOBAL_INSTALLED=false
|
|
33
|
+
|
|
34
|
+
# Check Claude
|
|
35
|
+
if [[ -d "$HOME/.claude/skills" ]] && ls "$HOME/.claude/skills/"* &>/dev/null; then
|
|
36
|
+
GLOBAL_INSTALLED=true
|
|
37
|
+
fi
|
|
38
|
+
|
|
39
|
+
# Check Cursor staging
|
|
40
|
+
if [[ -d "$HOME/.cursor/rules/.atool-staging" ]] && ls "$HOME/.cursor/rules/.atool-staging/"* &>/dev/null; then
|
|
41
|
+
GLOBAL_INSTALLED=true
|
|
42
|
+
fi
|
|
43
|
+
|
|
44
|
+
# Check Kiro staging
|
|
45
|
+
KIRO_DIR="$(get_kiro_config_dir 2>/dev/null || echo "$HOME/.kiro")"
|
|
46
|
+
if [[ -d "$KIRO_DIR/steering/.atool-staging" ]] && ls "$KIRO_DIR/steering/.atool-staging/"* &>/dev/null; then
|
|
47
|
+
GLOBAL_INSTALLED=true
|
|
48
|
+
fi
|
|
49
|
+
|
|
50
|
+
echo "Global install status: $GLOBAL_INSTALLED"
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
### Step 3: Run global install if needed
|
|
54
|
+
|
|
55
|
+
If `GLOBAL_INSTALLED=false`, run global install first:
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
# Find install.sh
|
|
59
|
+
INSTALL_SH=""
|
|
60
|
+
|
|
61
|
+
# Method 1: Check ATOOL_ROOT env var (set by session-start hook)
|
|
62
|
+
if [[ -n "${ATOOL_ROOT:-}" ]] && [[ -f "${ATOOL_ROOT}/install.sh" ]]; then
|
|
63
|
+
INSTALL_SH="${ATOOL_ROOT}/install.sh"
|
|
64
|
+
fi
|
|
65
|
+
|
|
66
|
+
# Method 2: Search common clone locations
|
|
67
|
+
if [[ -z "$INSTALL_SH" ]]; then
|
|
68
|
+
for candidate in \
|
|
69
|
+
"$HOME/Documents/projects/aTool_package/install.sh" \
|
|
70
|
+
"$HOME/projects/aTool_package/install.sh" \
|
|
71
|
+
"$HOME/aTool/install.sh" \
|
|
72
|
+
"$HOME/.atool/install.sh"; do
|
|
73
|
+
if [[ -f "$candidate" ]]; then
|
|
74
|
+
INSTALL_SH="$candidate"
|
|
75
|
+
break
|
|
76
|
+
fi
|
|
77
|
+
done
|
|
78
|
+
fi
|
|
79
|
+
|
|
80
|
+
# Method 3: Trace from installed lib files
|
|
81
|
+
if [[ -z "$INSTALL_SH" ]]; then
|
|
82
|
+
LIB_FILE="$HOME/.claude/lib/common.sh"
|
|
83
|
+
if [[ -f "$LIB_FILE" ]]; then
|
|
84
|
+
INSTALL_SH="$(dirname "$LIB_FILE")/../install.sh"
|
|
85
|
+
[[ ! -f "$INSTALL_SH" ]] && INSTALL_SH=""
|
|
86
|
+
fi
|
|
87
|
+
fi
|
|
88
|
+
|
|
89
|
+
if [[ -n "$INSTALL_SH" ]]; then
|
|
90
|
+
echo "Running global install: $INSTALL_SH --all --yes"
|
|
91
|
+
"$INSTALL_SH" --all --yes
|
|
92
|
+
else
|
|
93
|
+
echo "WARNING: Cannot find install.sh. Global install skipped."
|
|
94
|
+
echo "Please clone aTool and run: ./install.sh --all"
|
|
95
|
+
fi
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Step 4: Run project-level initialization
|
|
99
|
+
|
|
100
|
+
After confirming global install is complete, run project init:
|
|
101
|
+
|
|
102
|
+
```bash
|
|
103
|
+
if [[ -n "$INSTALL_SH" ]]; then
|
|
104
|
+
"$INSTALL_SH" --project <PROJECT_PATH> --yes
|
|
105
|
+
fi
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
If install.sh cannot be found, perform manual initialization:
|
|
109
|
+
- Source `$HOME/.claude/lib/common.sh` and `$HOME/.claude/lib/detect-stack.sh`
|
|
110
|
+
- Detect the tech stack from signal files
|
|
111
|
+
- Generate files from templates:
|
|
112
|
+
- CLAUDE.md from `templates/CLAUDE.md.{stack}`
|
|
113
|
+
- Cursor rules: copy from `~/.cursor/rules/.atool-staging/` to `<project>/.cursor/rules/`
|
|
114
|
+
- Kiro steering: copy from `$(get_kiro_config_dir)/steering/.atool-staging/` to `<project>/.kiro/steering/`
|
|
115
|
+
|
|
116
|
+
Stack detection signal files:
|
|
117
|
+
- Java: pom.xml, build.gradle
|
|
118
|
+
- Android: AndroidManifest.xml, build.gradle + android plugin
|
|
119
|
+
- HarmonyOS: oh-package.json5, build-profile.json5
|
|
120
|
+
- Web: package.json (check for react, next, vue, svelte)
|
|
121
|
+
- Mobile: package.json + react-native, pubspec.yaml, Package.swift
|
|
122
|
+
- Python: requirements.txt, pyproject.toml, setup.py
|
|
123
|
+
- Rust: Cargo.toml (check for src-tauri/ → rust-tauri)
|
|
124
|
+
- Go: go.mod
|
|
125
|
+
- DevOps: Dockerfile, docker-compose.yml, *.tf
|
|
126
|
+
|
|
127
|
+
### Step 5: Report results to user
|
|
128
|
+
|
|
129
|
+
- Show detected stack and confidence level
|
|
130
|
+
- List all generated files (global + project-level)
|
|
131
|
+
- Suggest next steps:
|
|
132
|
+
1. Restart IDE to load new rules
|
|
133
|
+
2. Verify MCP servers appear in IDE's tool list
|
|
134
|
+
3. Consider running `/project-analyze` for deep analysis (5 depth levels: quick scan → full inventory → deep analysis → knowledge graph → code review)
|
|
135
|
+
|
|
136
|
+
## Notes
|
|
137
|
+
- This skill is idempotent - running it multiple times is safe
|
|
138
|
+
- Existing CLAUDE.md files will be backed up (not overwritten)
|
|
139
|
+
- If no stack is detected, a generic template is used
|
|
140
|
+
- Global install is only run once (detected by checking staging directories)
|
|
141
|
+
- The install.sh location varies by how aTool was installed (git clone, manual copy, etc.)
|