oh-my-codex-cli 0.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/.agent/skills/agent-kb/HOW_TO_USE.md +428 -0
- package/.agent/skills/agent-kb/README.md +46 -0
- package/.agent/skills/agent-kb/SKILL.md +128 -0
- package/.agent/skills/agent-kb/references/intelligent-analysis-explained.md +333 -0
- package/.agent/skills/agent-kb/references/query-optimization.md +225 -0
- package/.agent/skills/aireview/SKILL.md +704 -0
- package/.agent/skills/analyze/SKILL.md +81 -0
- package/.agent/skills/architect-planner/HOW_TO_USE.md +238 -0
- package/.agent/skills/architect-planner/README.md +41 -0
- package/.agent/skills/architect-planner/SKILL.md +539 -0
- package/.agent/skills/auto-mbti/SKILL.md +291 -0
- package/.agent/skills/autopilot/SKILL.md +222 -0
- package/.agent/skills/backend-patterns/SKILL.md +602 -0
- package/.agent/skills/bdd-generator/README.md +78 -0
- package/.agent/skills/bdd-generator/SKILL.md +436 -0
- package/.agent/skills/brainstorming/HOW_TO_USE.md +289 -0
- package/.agent/skills/brainstorming/README.md +41 -0
- package/.agent/skills/brainstorming/SKILL.md +165 -0
- package/.agent/skills/build-fix/SKILL.md +190 -0
- package/.agent/skills/cancel/SKILL.md +658 -0
- package/.agent/skills/checkpoint/SKILL.md +94 -0
- package/.agent/skills/code-review/SKILL.md +273 -0
- package/.agent/skills/coding-standards/SKILL.md +535 -0
- package/.agent/skills/conductor/SKILL.md +128 -0
- package/.agent/skills/conductor/commands/conductor/implement.toml +358 -0
- package/.agent/skills/conductor/commands/conductor/newTrack.toml +142 -0
- package/.agent/skills/conductor/commands/conductor/revert.toml +123 -0
- package/.agent/skills/conductor/commands/conductor/setup.toml +429 -0
- package/.agent/skills/conductor/commands/conductor/status.toml +57 -0
- package/.agent/skills/conductor/scripts/install.sh +89 -0
- package/.agent/skills/conductor/templates/code_styleguides/csharp.md +115 -0
- package/.agent/skills/conductor/templates/code_styleguides/dart.md +238 -0
- package/.agent/skills/conductor/templates/code_styleguides/general.md +23 -0
- package/.agent/skills/conductor/templates/code_styleguides/go.md +48 -0
- package/.agent/skills/conductor/templates/code_styleguides/html-css.md +49 -0
- package/.agent/skills/conductor/templates/code_styleguides/javascript.md +51 -0
- package/.agent/skills/conductor/templates/code_styleguides/python.md +37 -0
- package/.agent/skills/conductor/templates/code_styleguides/typescript.md +43 -0
- package/.agent/skills/conductor/templates/rules/README.md +23 -0
- package/.agent/skills/conductor/templates/rules/agents.md +49 -0
- package/.agent/skills/conductor/templates/rules/coding-style.md +70 -0
- package/.agent/skills/conductor/templates/rules/dev.md +20 -0
- package/.agent/skills/conductor/templates/rules/git-workflow.md +45 -0
- package/.agent/skills/conductor/templates/rules/hooks.md +6 -0
- package/.agent/skills/conductor/templates/rules/patterns.md +55 -0
- package/.agent/skills/conductor/templates/rules/performance.md +47 -0
- package/.agent/skills/conductor/templates/rules/research.md +26 -0
- package/.agent/skills/conductor/templates/rules/review.md +22 -0
- package/.agent/skills/conductor/templates/rules/security.md +36 -0
- package/.agent/skills/conductor/templates/rules/testing.md +30 -0
- package/.agent/skills/conductor/templates/workflow.md +333 -0
- package/.agent/skills/consensus/HOW_TO_USE.md +191 -0
- package/.agent/skills/consensus/README.md +41 -0
- package/.agent/skills/consensus/SKILL.md +317 -0
- package/.agent/skills/content-research-writer/SKILL.md +537 -0
- package/.agent/skills/debug-analysis/SKILL.md +331 -0
- package/.agent/skills/deepinit/SKILL.md +347 -0
- package/.agent/skills/deepsearch/SKILL.md +56 -0
- package/.agent/skills/doctor/SKILL.md +158 -0
- package/.agent/skills/drawio/EXAMPLES.md +382 -0
- package/.agent/skills/drawio/QUICK_START.md +237 -0
- package/.agent/skills/drawio/README.md +315 -0
- package/.agent/skills/drawio/SETUP_GUIDE.md +254 -0
- package/.agent/skills/drawio/SKILL.md +1176 -0
- package/.agent/skills/e2e/SKILL.md +396 -0
- package/.agent/skills/ecomode/SKILL.md +160 -0
- package/.agent/skills/electron-driver/SKILL.md +144 -0
- package/.agent/skills/electron-driver/scripts/driver-template.js +71 -0
- package/.agent/skills/eval/SKILL.md +140 -0
- package/.agent/skills/eval-harness/SKILL.md +242 -0
- package/.agent/skills/evolve/SKILL.md +213 -0
- package/.agent/skills/frontend-design/SKILL.md +42 -0
- package/.agent/skills/frontend-patterns/SKILL.md +646 -0
- package/.agent/skills/frontend-ui-ux/SKILL.md +70 -0
- package/.agent/skills/git-master/SKILL.md +75 -0
- package/.agent/skills/help/SKILL.md +89 -0
- package/.agent/skills/iterative-retrieval/SKILL.md +217 -0
- package/.agent/skills/local-skills-setup/SKILL.md +483 -0
- package/.agent/skills/log-analyzer/SKILL.md +187 -0
- package/.agent/skills/mcp-setup/SKILL.md +226 -0
- package/.agent/skills/multi-model-research/HOW_TO_USE.md +614 -0
- package/.agent/skills/multi-model-research/README.md +233 -0
- package/.agent/skills/multi-model-research/SKILL.md +541 -0
- package/.agent/skills/multi-model-research/references/troubleshooting.md +415 -0
- package/.agent/skills/note/SKILL.md +80 -0
- package/.agent/skills/omc-setup/SKILL.md +219 -0
- package/.agent/skills/orchestrate/SKILL.md +620 -0
- package/.agent/skills/patent-workflow/IMPLEMENTATION_SUMMARY.md +500 -0
- package/.agent/skills/patent-workflow/README.md +455 -0
- package/.agent/skills/patent-workflow/SKILL.md +1036 -0
- package/.agent/skills/patent-workflow/tools/irr_checker.py +260 -0
- package/.agent/skills/patent-workflow/tools/sample_terminology.json +49 -0
- package/.agent/skills/patent-workflow/tools/term_checker.py +355 -0
- package/.agent/skills/pattern-recognition/SKILL.md +792 -0
- package/.agent/skills/pipeline/SKILL.md +448 -0
- package/.agent/skills/plan/SKILL.md +309 -0
- package/.agent/skills/planning-methodology/SKILL.md +370 -0
- package/.agent/skills/planning-with-files/SKILL.md +210 -0
- package/.agent/skills/planning-with-files/examples.md +202 -0
- package/.agent/skills/planning-with-files/reference.md +218 -0
- package/.agent/skills/planning-with-files/scripts/check-complete.ps1 +42 -0
- package/.agent/skills/planning-with-files/scripts/check-complete.sh +44 -0
- package/.agent/skills/planning-with-files/scripts/init-session.ps1 +120 -0
- package/.agent/skills/planning-with-files/scripts/init-session.sh +120 -0
- package/.agent/skills/planning-with-files/scripts/session-catchup.py +208 -0
- package/.agent/skills/planning-with-files/templates/findings.md +95 -0
- package/.agent/skills/planning-with-files/templates/progress.md +114 -0
- package/.agent/skills/planning-with-files/templates/task_plan.md +132 -0
- package/.agent/skills/project-analyze/CLAUDE.md +18 -0
- package/.agent/skills/project-analyze/HOW_TO_USE.md +145 -0
- package/.agent/skills/project-analyze/README.md +42 -0
- package/.agent/skills/project-analyze/SKILL.md +289 -0
- package/.agent/skills/project-analyze/SKILL.md.backup +287 -0
- package/.agent/skills/project-analyze/SKILL.md.backup_20260105_093646 +287 -0
- package/.agent/skills/project-analyze/assets/analysis-report-template.md +433 -0
- package/.agent/skills/project-analyze/references/analysis-patterns.md +422 -0
- package/.agent/skills/project-analyze/references/projectmind-explained.md +535 -0
- package/.agent/skills/project-session-manager/SKILL.md +428 -0
- package/.agent/skills/project-session-manager/lib/config.sh +86 -0
- package/.agent/skills/project-session-manager/lib/parse.sh +121 -0
- package/.agent/skills/project-session-manager/lib/session.sh +132 -0
- package/.agent/skills/project-session-manager/lib/tmux.sh +103 -0
- package/.agent/skills/project-session-manager/lib/worktree.sh +171 -0
- package/.agent/skills/project-session-manager/psm.sh +629 -0
- package/.agent/skills/project-session-manager/templates/feature.md +56 -0
- package/.agent/skills/project-session-manager/templates/issue-fix.md +57 -0
- package/.agent/skills/project-session-manager/templates/pr-review.md +65 -0
- package/.agent/skills/project-session-manager/templates/projects.json +19 -0
- package/.agent/skills/quality-check/HOW_TO_USE.md +171 -0
- package/.agent/skills/quality-check/README.md +50 -0
- package/.agent/skills/quality-check/SKILL.md +240 -0
- package/.agent/skills/quality-check/SKILL.md.backup +238 -0
- package/.agent/skills/quality-check/SKILL.md.backup_20260105_093646 +238 -0
- package/.agent/skills/quality-check/assets/quality-report-template.md +437 -0
- package/.agent/skills/quality-check/references/refactoring-patterns.md +550 -0
- package/.agent/skills/quality-check/references/scoring-criteria.md +454 -0
- package/.agent/skills/quality-validation/SKILL.md +519 -0
- package/.agent/skills/quality-validation/SKILL.md.backup +573 -0
- package/.agent/skills/quality-validation/SKILL.md.backup_20260105_093646 +573 -0
- package/.agent/skills/ralph/SKILL.md +236 -0
- package/.agent/skills/ralph-init/SKILL.md +78 -0
- package/.agent/skills/ralplan/SKILL.md +58 -0
- package/.agent/skills/refactor-clean/SKILL.md +49 -0
- package/.agent/skills/release/SKILL.md +84 -0
- package/.agent/skills/research/SKILL.md +526 -0
- package/.agent/skills/research-methodology/SKILL.md +268 -0
- package/.agent/skills/review/SKILL.md +53 -0
- package/.agent/skills/security-review/SKILL.md +509 -0
- package/.agent/skills/security-review/cloud-infrastructure-security.md +361 -0
- package/.agent/skills/setup-pm/SKILL.md +102 -0
- package/.agent/skills/skill/SKILL.md +424 -0
- package/.agent/skills/skill-create/SKILL.md +209 -0
- package/.agent/skills/skill-debugger/HOW_TO_USE.md +244 -0
- package/.agent/skills/skill-debugger/README.md +44 -0
- package/.agent/skills/skill-debugger/SKILL.md +326 -0
- package/.agent/skills/skill-debugger/diagnostic_checklist.md +115 -0
- package/.agent/skills/skill-development/SKILL.md +661 -0
- package/.agent/skills/skill-development/references/skill-creator-original.md +209 -0
- package/.agent/skills/skill-doc-generator/README.md +37 -0
- package/.agent/skills/skill-doc-generator/SKILL.md +331 -0
- package/.agent/skills/skill-quality-analyzer/HOW_TO_USE.md +243 -0
- package/.agent/skills/skill-quality-analyzer/README.md +61 -0
- package/.agent/skills/skill-quality-analyzer/SKILL.md +247 -0
- package/.agent/skills/skill-quality-analyzer/analyzer.py +209 -0
- package/.agent/skills/skill-quality-analyzer/expected_output.json +81 -0
- package/.agent/skills/skill-quality-analyzer/sample_input.json +9 -0
- package/.agent/skills/skill-tester/README.md +46 -0
- package/.agent/skills/skill-tester/SKILL.md +345 -0
- package/.agent/skills/start-dev/SKILL.md +701 -0
- package/.agent/skills/swarm/SKILL.md +691 -0
- package/.agent/skills/task-kb-lookup/SKILL.md +211 -0
- package/.agent/skills/task-kb-record/SKILL.md +417 -0
- package/.agent/skills/tdd/SKILL.md +446 -0
- package/.agent/skills/tdd-generator/DEMO.md +516 -0
- package/.agent/skills/tdd-generator/README.md +89 -0
- package/.agent/skills/tdd-generator/SKILL.md +278 -0
- package/.agent/skills/tdd-workflow/SKILL.md +424 -0
- package/.agent/skills/test-coverage/SKILL.md +48 -0
- package/.agent/skills/thinkdeep/HOW_TO_USE.md +183 -0
- package/.agent/skills/thinkdeep/README.md +41 -0
- package/.agent/skills/thinkdeep/SKILL.md +343 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +236 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +61 -0
- package/.agent/skills/ultrapilot/SKILL.md +647 -0
- package/.agent/skills/ultraqa/SKILL.md +152 -0
- package/.agent/skills/ultrawork/SKILL.md +123 -0
- package/.agent/skills/update-codemaps/SKILL.md +38 -0
- package/.agent/skills/update-docs/SKILL.md +52 -0
- package/.agent/skills/verification-loop/SKILL.md +140 -0
- package/.agent/skills/verify/SKILL.md +80 -0
- package/.agent/skills/writer-memory/SKILL.md +459 -0
- package/.agent/skills/writer-memory/lib/character-tracker.ts +338 -0
- package/.agent/skills/writer-memory/lib/memory-manager.ts +804 -0
- package/.agent/skills/writer-memory/lib/relationship-graph.ts +400 -0
- package/.agent/skills/writer-memory/lib/scene-organizer.ts +544 -0
- package/.agent/skills/writer-memory/lib/synopsis-builder.ts +339 -0
- package/.agent/skills/writer-memory/templates/synopsis-template.md +46 -0
- package/.governance/skill-lint.allowlist +4 -0
- package/.governance/skill-llm.allowlist +4 -0
- package/AGENTS.md +59 -0
- package/LICENSE +21 -0
- package/README.md +169 -0
- package/README.zh.md +145 -0
- package/bin/omcodex.js +8 -0
- package/commands/conductor/implement.toml +358 -0
- package/commands/conductor/newTrack.toml +142 -0
- package/commands/conductor/revert.toml +123 -0
- package/commands/conductor/setup.toml +429 -0
- package/commands/conductor/status.toml +57 -0
- package/docs/ALIGNMENT.md +40 -0
- package/docs/CODEX.md +133 -0
- package/docs/NOTIFY.md +81 -0
- package/docs/SKILL_GOVERNANCE.md +72 -0
- package/docs/SKILL_GOVERNANCE_FRAMEWORK.md +182 -0
- package/docs/SKILL_GOVERNANCE_FRAMEWORK.zh.md +170 -0
- package/package.json +50 -0
- package/prompts/architect.md +105 -0
- package/prompts/executor.md +134 -0
- package/prompts/planner.md +113 -0
- package/scripts/check-skill-governance.sh +84 -0
- package/scripts/check-skill-llm-governance.js +302 -0
- package/scripts/eval-skills.js +217 -0
- package/scripts/generate-catalog-docs.js +95 -0
- package/scripts/generate-codex-mcp-config.sh +22 -0
- package/scripts/install-codex-force.sh +5 -0
- package/scripts/install-codex-incremental.sh +5 -0
- package/scripts/install-codex.sh +79 -0
- package/scripts/notify-dispatch.js +15 -0
- package/scripts/setup-package-manager.js +137 -0
- package/src/catalog/generated/public-catalog.json +547 -0
- package/src/catalog/manifest.json +542 -0
- package/src/catalog/reader.js +43 -0
- package/src/catalog/schema.js +79 -0
- package/src/cli/doctor.js +62 -0
- package/src/cli/index.js +85 -0
- package/src/cli/notify.js +127 -0
- package/src/cli/route.js +43 -0
- package/src/cli/setup.js +155 -0
- package/src/cli/team.js +125 -0
- package/src/config/generator.js +119 -0
- package/src/mcp/memory-server.js +241 -0
- package/src/mcp/state-server.js +112 -0
- package/src/mcp/trace-server.js +168 -0
- package/src/notify/dispatch.js +74 -0
- package/src/notify/extensibility/dispatcher.js +113 -0
- package/src/notify/extensibility/events.js +15 -0
- package/src/notify/extensibility/loader.js +54 -0
- package/src/router/skill-router.js +90 -0
- package/src/team/auto-advance.js +72 -0
- package/src/team/orchestrator.js +82 -0
- package/src/team/state-store.js +33 -0
- package/src/utils/paths.js +33 -0
- package/templates/AGENTS.md +15 -0
- package/templates/catalog-manifest.json +542 -0
- package/templates/code_styleguides/csharp.md +115 -0
- package/templates/code_styleguides/dart.md +238 -0
- package/templates/code_styleguides/general.md +23 -0
- package/templates/code_styleguides/go.md +48 -0
- package/templates/code_styleguides/html-css.md +49 -0
- package/templates/code_styleguides/javascript.md +51 -0
- package/templates/code_styleguides/python.md +37 -0
- package/templates/code_styleguides/typescript.md +43 -0
- package/templates/rules/README.md +23 -0
- package/templates/rules/agents.md +49 -0
- package/templates/rules/coding-style.md +70 -0
- package/templates/rules/dev.md +20 -0
- package/templates/rules/git-workflow.md +45 -0
- package/templates/rules/notify.md +6 -0
- package/templates/rules/patterns.md +55 -0
- package/templates/rules/performance.md +47 -0
- package/templates/rules/research.md +26 -0
- package/templates/rules/review.md +22 -0
- package/templates/rules/security.md +36 -0
- package/templates/rules/testing.md +30 -0
- package/templates/workflow.md +333 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
# Task Plan: [Brief Description]
|
|
2
|
+
<!--
|
|
3
|
+
WHAT: This is your roadmap for the entire task. Think of it as your "working memory on disk."
|
|
4
|
+
WHY: After 50+ tool calls, your original goals can get forgotten. This file keeps them fresh.
|
|
5
|
+
WHEN: Create this FIRST, before starting any work. Update after each phase completes.
|
|
6
|
+
-->
|
|
7
|
+
|
|
8
|
+
## Goal
|
|
9
|
+
<!--
|
|
10
|
+
WHAT: One clear sentence describing what you're trying to achieve.
|
|
11
|
+
WHY: This is your north star. Re-reading this keeps you focused on the end state.
|
|
12
|
+
EXAMPLE: "Create a Python CLI todo app with add, list, and delete functionality."
|
|
13
|
+
-->
|
|
14
|
+
[One sentence describing the end state]
|
|
15
|
+
|
|
16
|
+
## Current Phase
|
|
17
|
+
<!--
|
|
18
|
+
WHAT: Which phase you're currently working on (e.g., "Phase 1", "Phase 3").
|
|
19
|
+
WHY: Quick reference for where you are in the task. Update this as you progress.
|
|
20
|
+
-->
|
|
21
|
+
Phase 1
|
|
22
|
+
|
|
23
|
+
## Phases
|
|
24
|
+
<!--
|
|
25
|
+
WHAT: Break your task into 3-7 logical phases. Each phase should be completable.
|
|
26
|
+
WHY: Breaking work into phases prevents overwhelm and makes progress visible.
|
|
27
|
+
WHEN: Update status after completing each phase: pending → in_progress → complete
|
|
28
|
+
-->
|
|
29
|
+
|
|
30
|
+
### Phase 1: Requirements & Discovery
|
|
31
|
+
<!--
|
|
32
|
+
WHAT: Understand what needs to be done and gather initial information.
|
|
33
|
+
WHY: Starting without understanding leads to wasted effort. This phase prevents that.
|
|
34
|
+
-->
|
|
35
|
+
- [ ] Understand user intent
|
|
36
|
+
- [ ] Identify constraints and requirements
|
|
37
|
+
- [ ] Document findings in findings.md
|
|
38
|
+
- **Status:** in_progress
|
|
39
|
+
<!--
|
|
40
|
+
STATUS VALUES:
|
|
41
|
+
- pending: Not started yet
|
|
42
|
+
- in_progress: Currently working on this
|
|
43
|
+
- complete: Finished this phase
|
|
44
|
+
-->
|
|
45
|
+
|
|
46
|
+
### Phase 2: Planning & Structure
|
|
47
|
+
<!--
|
|
48
|
+
WHAT: Decide how you'll approach the problem and what structure you'll use.
|
|
49
|
+
WHY: Good planning prevents rework. Document decisions so you remember why you chose them.
|
|
50
|
+
-->
|
|
51
|
+
- [ ] Define technical approach
|
|
52
|
+
- [ ] Create project structure if needed
|
|
53
|
+
- [ ] Document decisions with rationale
|
|
54
|
+
- **Status:** pending
|
|
55
|
+
|
|
56
|
+
### Phase 3: Implementation
|
|
57
|
+
<!--
|
|
58
|
+
WHAT: Actually build/create/write the solution.
|
|
59
|
+
WHY: This is where the work happens. Break into smaller sub-tasks if needed.
|
|
60
|
+
-->
|
|
61
|
+
- [ ] Execute the plan step by step
|
|
62
|
+
- [ ] Write code to files before executing
|
|
63
|
+
- [ ] Test incrementally
|
|
64
|
+
- **Status:** pending
|
|
65
|
+
|
|
66
|
+
### Phase 4: Testing & Verification
|
|
67
|
+
<!--
|
|
68
|
+
WHAT: Verify everything works and meets requirements.
|
|
69
|
+
WHY: Catching issues early saves time. Document test results in progress.md.
|
|
70
|
+
-->
|
|
71
|
+
- [ ] Verify all requirements met
|
|
72
|
+
- [ ] Document test results in progress.md
|
|
73
|
+
- [ ] Fix any issues found
|
|
74
|
+
- **Status:** pending
|
|
75
|
+
|
|
76
|
+
### Phase 5: Delivery
|
|
77
|
+
<!--
|
|
78
|
+
WHAT: Final review and handoff to user.
|
|
79
|
+
WHY: Ensures nothing is forgotten and deliverables are complete.
|
|
80
|
+
-->
|
|
81
|
+
- [ ] Review all output files
|
|
82
|
+
- [ ] Ensure deliverables are complete
|
|
83
|
+
- [ ] Deliver to user
|
|
84
|
+
- **Status:** pending
|
|
85
|
+
|
|
86
|
+
## Key Questions
|
|
87
|
+
<!--
|
|
88
|
+
WHAT: Important questions you need to answer during the task.
|
|
89
|
+
WHY: These guide your research and decision-making. Answer them as you go.
|
|
90
|
+
EXAMPLE:
|
|
91
|
+
1. Should tasks persist between sessions? (Yes - need file storage)
|
|
92
|
+
2. What format for storing tasks? (JSON file)
|
|
93
|
+
-->
|
|
94
|
+
1. [Question to answer]
|
|
95
|
+
2. [Question to answer]
|
|
96
|
+
|
|
97
|
+
## Decisions Made
|
|
98
|
+
<!--
|
|
99
|
+
WHAT: Technical and design decisions you've made, with the reasoning behind them.
|
|
100
|
+
WHY: You'll forget why you made choices. This table helps you remember and justify decisions.
|
|
101
|
+
WHEN: Update whenever you make a significant choice (technology, approach, structure).
|
|
102
|
+
EXAMPLE:
|
|
103
|
+
| Use JSON for storage | Simple, human-readable, built-in Python support |
|
|
104
|
+
-->
|
|
105
|
+
| Decision | Rationale |
|
|
106
|
+
|----------|-----------|
|
|
107
|
+
| | |
|
|
108
|
+
|
|
109
|
+
## Errors Encountered
|
|
110
|
+
<!--
|
|
111
|
+
WHAT: Every error you encounter, what attempt number it was, and how you resolved it.
|
|
112
|
+
WHY: Logging errors prevents repeating the same mistakes. This is critical for learning.
|
|
113
|
+
WHEN: Add immediately when an error occurs, even if you fix it quickly.
|
|
114
|
+
EXAMPLE:
|
|
115
|
+
| FileNotFoundError | 1 | Check if file exists, create empty list if not |
|
|
116
|
+
| JSONDecodeError | 2 | Handle empty file case explicitly |
|
|
117
|
+
-->
|
|
118
|
+
| Error | Attempt | Resolution |
|
|
119
|
+
|-------|---------|------------|
|
|
120
|
+
| | 1 | |
|
|
121
|
+
|
|
122
|
+
## Notes
|
|
123
|
+
<!--
|
|
124
|
+
REMINDERS:
|
|
125
|
+
- Update phase status as you progress: pending → in_progress → complete
|
|
126
|
+
- Re-read this plan before major decisions (attention manipulation)
|
|
127
|
+
- Log ALL errors - they help avoid repetition
|
|
128
|
+
- Never repeat a failed action - mutate your approach instead
|
|
129
|
+
-->
|
|
130
|
+
- Update phase status as you progress: pending → in_progress → complete
|
|
131
|
+
- Re-read this plan before major decisions (attention manipulation)
|
|
132
|
+
- Log ALL errors - they help avoid repetition
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
<claude-mem-context>
|
|
2
|
+
# Recent Activity
|
|
3
|
+
|
|
4
|
+
<!-- This section is auto-generated by claude-mem. Edit content outside the tags. -->
|
|
5
|
+
|
|
6
|
+
### Dec 30, 2025
|
|
7
|
+
|
|
8
|
+
| ID | Time | T | Title | Read |
|
|
9
|
+
|----|------|---|-------|------|
|
|
10
|
+
| #830 | 5:27 PM | ✅ | Generated comprehensive HOW_TO_USE documentation for three core development skills | ~643 |
|
|
11
|
+
| #827 | 5:23 PM | ✅ | Phase 1 README Files Added to Three Core Skills | ~589 |
|
|
12
|
+
|
|
13
|
+
### Jan 10, 2026
|
|
14
|
+
|
|
15
|
+
| ID | Time | T | Title | Read |
|
|
16
|
+
|----|------|---|-------|------|
|
|
17
|
+
| #1785 | 11:14 AM | 🔵 | Confirmed Obsidian-Skills Already Installed | ~266 |
|
|
18
|
+
</claude-mem-context>
|
|
@@ -0,0 +1,145 @@
|
|
|
1
|
+
# Project Analyze - Detailed Usage Guide
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
ProjectMind-powered intelligent project analysis providing 40-second architectural understanding through dependency graphs and pattern detection.
|
|
6
|
+
|
|
7
|
+
## Usage Scenarios
|
|
8
|
+
|
|
9
|
+
### Scenario 1: Quick Project Understanding
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
"Analyze this project structure"
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
**Output**:
|
|
16
|
+
- Architecture pattern (MVC, microservices, layered)
|
|
17
|
+
- Technology stack
|
|
18
|
+
- Dependency graph
|
|
19
|
+
- Key components and their relationships
|
|
20
|
+
- Potential issues
|
|
21
|
+
|
|
22
|
+
### Scenario 2: Onboarding New Developers
|
|
23
|
+
|
|
24
|
+
```
|
|
25
|
+
"Generate project overview for new team member"
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
Creates comprehensive onboarding document with:
|
|
29
|
+
- Codebase structure
|
|
30
|
+
- Module responsibilities
|
|
31
|
+
- Entry points and flows
|
|
32
|
+
- Development setup guide
|
|
33
|
+
|
|
34
|
+
### Scenario 3: Impact Analysis
|
|
35
|
+
|
|
36
|
+
```
|
|
37
|
+
"Analyze impact of changing UserService"
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
Shows:
|
|
41
|
+
- Direct dependents
|
|
42
|
+
- Transitive dependencies
|
|
43
|
+
- Affected test files
|
|
44
|
+
- Risk assessment
|
|
45
|
+
|
|
46
|
+
## Output Format
|
|
47
|
+
|
|
48
|
+
```markdown
|
|
49
|
+
## 📊 Project Analysis Report
|
|
50
|
+
|
|
51
|
+
### Overview
|
|
52
|
+
- **Architecture Pattern**: Layered Architecture (Backend)
|
|
53
|
+
- **Primary Language**: TypeScript (95%)
|
|
54
|
+
- **Framework**: Express.js + React
|
|
55
|
+
- **Build System**: Webpack + Jest
|
|
56
|
+
|
|
57
|
+
### Structure
|
|
58
|
+
```
|
|
59
|
+
src/
|
|
60
|
+
├── controllers/ # HTTP request handlers
|
|
61
|
+
├── services/ # Business logic
|
|
62
|
+
├── models/ # Data models (Sequelize)
|
|
63
|
+
├── utils/ # Shared utilities
|
|
64
|
+
└── config/ # Configuration
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Dependency Graph
|
|
68
|
+
```
|
|
69
|
+
controllers → services → models
|
|
70
|
+
↘ utils ↗
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### Key Insights
|
|
74
|
+
1. **Layering**: Clean separation of concerns ✅
|
|
75
|
+
2. **Circular Dependencies**: None detected ✅
|
|
76
|
+
3. **Unused Modules**: 3 files in src/legacy/ ⚠️
|
|
77
|
+
4. **Test Coverage**: 72% (target: 80%) ⚠️
|
|
78
|
+
|
|
79
|
+
### Recommendations
|
|
80
|
+
1. Remove unused legacy files
|
|
81
|
+
2. Increase test coverage for services layer
|
|
82
|
+
3. Consider splitting large UserService (450 lines)
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
## Advanced Features
|
|
86
|
+
|
|
87
|
+
### Dependency Visualization
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
"Show dependency graph for authentication flow"
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
ASCII graph or recommendations for visualization tools.
|
|
94
|
+
|
|
95
|
+
### Architecture Pattern Detection
|
|
96
|
+
|
|
97
|
+
Automatically identifies:
|
|
98
|
+
- MVC
|
|
99
|
+
- Microservices
|
|
100
|
+
- Layered architecture
|
|
101
|
+
- Event-driven
|
|
102
|
+
- Hexagonal/Clean architecture
|
|
103
|
+
|
|
104
|
+
### Change Impact Prediction
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
"What breaks if I change PaymentService.processPayment?"
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
Lists all affected:
|
|
111
|
+
- Direct callers
|
|
112
|
+
- Tests
|
|
113
|
+
- Dependent modules
|
|
114
|
+
|
|
115
|
+
## Real-World Examples
|
|
116
|
+
|
|
117
|
+
### Example 1: Code Review Prep
|
|
118
|
+
|
|
119
|
+
```
|
|
120
|
+
"Analyze files changed in feature/auth-refactor"
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
Understand architectural impact before reviewing.
|
|
124
|
+
|
|
125
|
+
### Example 2: Refactoring Planning
|
|
126
|
+
|
|
127
|
+
```
|
|
128
|
+
"Identify tightly coupled modules"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
Find refactoring opportunities to improve modularity.
|
|
132
|
+
|
|
133
|
+
### Example 3: Documentation Generation
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
"Generate architecture diagram documentation"
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Auto-generate architecture docs from codebase analysis.
|
|
140
|
+
|
|
141
|
+
## Related Skills
|
|
142
|
+
|
|
143
|
+
- **quality-check**: Combines structure analysis with quality metrics
|
|
144
|
+
- **code-review**: Use insights to guide review focus
|
|
145
|
+
- **brainstorming**: Inform architectural brainstorming with current state
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Project Analyze (ProjectMind)
|
|
2
|
+
|
|
3
|
+
Analyze project architecture, dependencies, and structure using ProjectMind knowledge graph for intelligent project understanding.
|
|
4
|
+
|
|
5
|
+
## Quick Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
# Already installed at:
|
|
9
|
+
~/.claude/skills/project-analyze/
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Usage
|
|
13
|
+
|
|
14
|
+
```
|
|
15
|
+
"Analyze project structure"
|
|
16
|
+
"Show dependency graph"
|
|
17
|
+
"Identify architectural issues"
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## What It Does
|
|
21
|
+
|
|
22
|
+
- ✅ 40-second intelligent project understanding
|
|
23
|
+
- ✅ Architecture pattern detection
|
|
24
|
+
- ✅ Dependency analysis and visualization
|
|
25
|
+
- ✅ Impact analysis for changes
|
|
26
|
+
- ✅ Knowledge graph generation
|
|
27
|
+
|
|
28
|
+
## Files
|
|
29
|
+
|
|
30
|
+
- `SKILL.md` - Complete analysis methodology
|
|
31
|
+
- `README.md` - This quick start guide
|
|
32
|
+
- `HOW_TO_USE.md` - Detailed analysis guide
|
|
33
|
+
- `references/` - Analysis patterns (Phase 2)
|
|
34
|
+
- `assets/` - Report templates (Phase 2)
|
|
35
|
+
|
|
36
|
+
## When to Use
|
|
37
|
+
|
|
38
|
+
- Understanding new codebases
|
|
39
|
+
- Onboarding new team members
|
|
40
|
+
- Before making large changes
|
|
41
|
+
- Identifying refactoring opportunities
|
|
42
|
+
- Architecture documentation
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: project-analyze
|
|
3
|
+
description: Analyze project architecture and dependencies using ProjectMind knowledge graph. Provides 40s intelligent understanding and impact analysis.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
> Codex CLI: Manual invocation only (`$project-analyze`). No hooks or auto-run.
|
|
7
|
+
|
|
8
|
+
# Project Intelligence Analysis Skill
|
|
9
|
+
|
|
10
|
+
## When to Use This Skill
|
|
11
|
+
|
|
12
|
+
Automatically invoke this Skill when:
|
|
13
|
+
- User asks "explain this project", "how does this work?"
|
|
14
|
+
- User wants to understand architecture or module structure
|
|
15
|
+
- User needs impact analysis before refactoring
|
|
16
|
+
- User asks about dependencies or file relationships
|
|
17
|
+
- User mentions "high-risk files", "critical modules"
|
|
18
|
+
- Keywords: "project structure", "architecture", "dependencies", "impact", "understand codebase"
|
|
19
|
+
|
|
20
|
+
## What This Skill Does
|
|
21
|
+
|
|
22
|
+
**ProjectMind Intelligence** provides:
|
|
23
|
+
1. **Knowledge Graph Analysis** - Deep project structure understanding
|
|
24
|
+
2. **Dependency Mapping** - Complete relationship visualization
|
|
25
|
+
3. **Risk Assessment** - High-risk file identification
|
|
26
|
+
4. **Impact Prediction** - Change impact estimation
|
|
27
|
+
5. **Smart Caching** - 40s first run, <1s subsequent queries
|
|
28
|
+
|
|
29
|
+
## Instructions
|
|
30
|
+
|
|
31
|
+
When this Skill is invoked:
|
|
32
|
+
|
|
33
|
+
### Step 1: Extract the Query and Project Path
|
|
34
|
+
|
|
35
|
+
Identify:
|
|
36
|
+
- **User's Question**: What they want to know
|
|
37
|
+
- **Project Path**: Usually current directory `$(pwd)` or user-specified path
|
|
38
|
+
|
|
39
|
+
### Step 2: Execute the Analysis
|
|
40
|
+
|
|
41
|
+
**IMPORTANT**: You MUST execute this Python command:
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
python /Users/WangQiao/claude-enhanced-quality/hybrid_intelligent_system_v2.py "user's question" [project_path]
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
If project path is not specified, use current directory:
|
|
48
|
+
```bash
|
|
49
|
+
python /Users/WangQiao/claude-enhanced-quality/hybrid_intelligent_system_v2.py "user's question" $(pwd)
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### Step 3: Present Results
|
|
53
|
+
|
|
54
|
+
Format the output as:
|
|
55
|
+
|
|
56
|
+
```markdown
|
|
57
|
+
## 🧠 Project Intelligence Analysis
|
|
58
|
+
|
|
59
|
+
**Query**: [User's Question]
|
|
60
|
+
**Project**: [Project Path]
|
|
61
|
+
**Analysis Time**: [Cached/40s] ⚡
|
|
62
|
+
|
|
63
|
+
### 📊 Project Overview
|
|
64
|
+
|
|
65
|
+
- **Total Files**: XXX
|
|
66
|
+
- **Lines of Code**: XXX,XXX
|
|
67
|
+
- **Main Technologies**: [React, TypeScript, Node.js, etc.]
|
|
68
|
+
- **Architecture Pattern**: [MVC, Microservices, Monolith, etc.]
|
|
69
|
+
|
|
70
|
+
### 🎯 Answer to Your Question
|
|
71
|
+
|
|
72
|
+
[Direct answer to the user's specific question based on ProjectMind analysis]
|
|
73
|
+
|
|
74
|
+
### 🏗️ Architecture Insights
|
|
75
|
+
|
|
76
|
+
**Module Structure**:
|
|
77
|
+
```
|
|
78
|
+
Core Modules:
|
|
79
|
+
├── [Module 1] (XX files, core business logic)
|
|
80
|
+
├── [Module 2] (XX files, data layer)
|
|
81
|
+
└── [Module 3] (XX files, API layer)
|
|
82
|
+
|
|
83
|
+
Supporting Modules:
|
|
84
|
+
├── [Utils] (XX files)
|
|
85
|
+
└── [Components] (XX files)
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
**Key Relationships**:
|
|
89
|
+
- [Module A] depends heavily on [Module B]
|
|
90
|
+
- [File X] is central hub (XX dependencies)
|
|
91
|
+
- [Component Y] is isolated (low coupling)
|
|
92
|
+
|
|
93
|
+
### ⚠️ High-Risk Areas
|
|
94
|
+
|
|
95
|
+
| File/Module | Risk Level | Reason | Dependencies |
|
|
96
|
+
|-------------|------------|--------|--------------|
|
|
97
|
+
| [Path 1] | 🔴 Critical | Core auth logic, 45 dependencies | 45 files |
|
|
98
|
+
| [Path 2] | 🟠 High | Payment processing | 32 files |
|
|
99
|
+
| [Path 3] | 🟡 Medium | Complex business rules | 18 files |
|
|
100
|
+
|
|
101
|
+
### 💡 Recommendations
|
|
102
|
+
|
|
103
|
+
**If Planning Changes**:
|
|
104
|
+
1. **[Specific Module]**
|
|
105
|
+
- Files Affected: XX files
|
|
106
|
+
- Risk Level: [Low/Medium/High]
|
|
107
|
+
- Test Requirements: [Unit/Integration/E2E]
|
|
108
|
+
- Estimated Effort: X hours
|
|
109
|
+
|
|
110
|
+
2. **[Another Module]**
|
|
111
|
+
- Impact: [Detailed impact analysis]
|
|
112
|
+
- Mitigation: [How to reduce risk]
|
|
113
|
+
|
|
114
|
+
**Architecture Improvements**:
|
|
115
|
+
- [Specific decoupling opportunity]
|
|
116
|
+
- [Specific pattern improvement]
|
|
117
|
+
- [Specific technical debt reduction]
|
|
118
|
+
|
|
119
|
+
### 🔍 Dependency Visualization
|
|
120
|
+
|
|
121
|
+
```mermaid
|
|
122
|
+
graph TD
|
|
123
|
+
A[Core Module] --> B[Feature 1]
|
|
124
|
+
A --> C[Feature 2]
|
|
125
|
+
B --> D[Util 1]
|
|
126
|
+
C --> D
|
|
127
|
+
B --> E[DB Layer]
|
|
128
|
+
C --> E
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
(Note: Mermaid diagram representing key dependencies)
|
|
132
|
+
|
|
133
|
+
### 🚨 Change Impact Assessment
|
|
134
|
+
|
|
135
|
+
**Before modifying [specific file/module]**:
|
|
136
|
+
- ✅ Test these files: [List]
|
|
137
|
+
- ⚠️ Watch for side effects in: [List]
|
|
138
|
+
- 🔍 Review integration points: [List]
|
|
139
|
+
- ⏱️ Estimated impact: [Low/Medium/High]
|
|
140
|
+
|
|
141
|
+
### 📈 Technical Metrics
|
|
142
|
+
|
|
143
|
+
- **Modularity Score**: XX/100
|
|
144
|
+
- **Coupling Level**: [Low/Medium/High]
|
|
145
|
+
- **Code Churn**: [Files frequently changed]
|
|
146
|
+
- **Critical Path**: [Most important business logic files]
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Step 4: Provide Actionable Guidance
|
|
150
|
+
|
|
151
|
+
Offer specific next steps:
|
|
152
|
+
- Code locations to examine
|
|
153
|
+
- Tests to run before changes
|
|
154
|
+
- Files to backup before refactoring
|
|
155
|
+
- Team members to consult (if AI annotations present)
|
|
156
|
+
|
|
157
|
+
## Examples
|
|
158
|
+
|
|
159
|
+
### Example 1: Understanding Architecture
|
|
160
|
+
**User**: "Explain how the authentication system works"
|
|
161
|
+
|
|
162
|
+
**You execute**:
|
|
163
|
+
```bash
|
|
164
|
+
python ~/claude-enhanced-quality/hybrid_intelligent_system_v2.py "authentication system flow" $(pwd)
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**You present**: Architecture explanation with module relationships, file paths, and authentication flow diagram.
|
|
168
|
+
|
|
169
|
+
### Example 2: Refactoring Impact
|
|
170
|
+
**User**: "I want to refactor the database layer, what's the impact?"
|
|
171
|
+
|
|
172
|
+
**You execute**:
|
|
173
|
+
```bash
|
|
174
|
+
python ~/claude-enhanced-quality/hybrid_intelligent_system_v2.py "database layer refactoring impact" $(pwd)
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**You present**: Impact analysis showing XX affected files, risk assessment, and refactoring strategy.
|
|
178
|
+
|
|
179
|
+
### Example 3: Finding High-Risk Code
|
|
180
|
+
**User**: "What are the most critical files in this project?"
|
|
181
|
+
|
|
182
|
+
**You execute**:
|
|
183
|
+
```bash
|
|
184
|
+
python ~/claude-enhanced-quality/hybrid_intelligent_system_v2.py "identify critical and high-risk files" $(pwd)
|
|
185
|
+
```
|
|
186
|
+
|
|
187
|
+
**You present**: List of high-risk files with dependency counts, complexity scores, and business criticality.
|
|
188
|
+
|
|
189
|
+
## Performance Characteristics
|
|
190
|
+
|
|
191
|
+
- **First Analysis**: ~40 seconds (deep project scan)
|
|
192
|
+
- **Cached Queries**: <1 second (instant response)
|
|
193
|
+
- **File Limit**: 300 files deep analysis
|
|
194
|
+
- **Cache Invalidation**: Automatic on file changes
|
|
195
|
+
|
|
196
|
+
## Smart Caching System
|
|
197
|
+
|
|
198
|
+
The system automatically caches:
|
|
199
|
+
- ✅ Project structure analysis
|
|
200
|
+
- ✅ Dependency mappings
|
|
201
|
+
- ✅ Code entity relationships
|
|
202
|
+
- ✅ Risk assessments
|
|
203
|
+
|
|
204
|
+
Cache updates when:
|
|
205
|
+
- Files are modified
|
|
206
|
+
- Dependencies change
|
|
207
|
+
- Project structure updates
|
|
208
|
+
|
|
209
|
+
## Integration with Other Systems
|
|
210
|
+
|
|
211
|
+
### Git Memory Integration
|
|
212
|
+
- Tracks commit intentions automatically
|
|
213
|
+
- Analyzes team collaboration patterns
|
|
214
|
+
- Detects potentially conflicting changes
|
|
215
|
+
|
|
216
|
+
### CodeDNA Integration
|
|
217
|
+
- Project-level quality scoring
|
|
218
|
+
- Hotspot identification with quality metrics
|
|
219
|
+
- ROI-optimized refactoring prioritization
|
|
220
|
+
|
|
221
|
+
### AI-Specific Annotations
|
|
222
|
+
|
|
223
|
+
Recognizes and utilizes:
|
|
224
|
+
```typescript
|
|
225
|
+
/*@ai:risk=1-5|deps=file1,file2|core=true|chain=auth*/
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
Annotation fields:
|
|
229
|
+
- `risk`: 1 (safe) to 5 (critical)
|
|
230
|
+
- `deps`: Key dependencies
|
|
231
|
+
- `core`: Core functionality flag
|
|
232
|
+
- `chain`: Business logic chain identifier
|
|
233
|
+
- `api`: API type (internal/external)
|
|
234
|
+
- `auth`: Authentication requirements
|
|
235
|
+
|
|
236
|
+
## Important Notes
|
|
237
|
+
|
|
238
|
+
- **Always execute** the Python command, don't simulate analysis
|
|
239
|
+
- **Use current directory** as default project path
|
|
240
|
+
- **Explain relationships**, not just list files
|
|
241
|
+
- **Provide visual diagrams** when helpful
|
|
242
|
+
- **Assess real impact**, not theoretical concerns
|
|
243
|
+
- **Offer specific actions**, not generic advice
|
|
244
|
+
|
|
245
|
+
## Common Analysis Queries
|
|
246
|
+
|
|
247
|
+
### Architecture Understanding
|
|
248
|
+
- "How does [feature] work?"
|
|
249
|
+
- "What's the data flow for [process]?"
|
|
250
|
+
- "Explain the module structure"
|
|
251
|
+
|
|
252
|
+
### Impact Analysis
|
|
253
|
+
- "Impact of changing [file/module]?"
|
|
254
|
+
- "What depends on [component]?"
|
|
255
|
+
- "Risk of refactoring [area]?"
|
|
256
|
+
|
|
257
|
+
### Code Navigation
|
|
258
|
+
- "Where is [functionality] implemented?"
|
|
259
|
+
- "Which files handle [feature]?"
|
|
260
|
+
- "What are the entry points?"
|
|
261
|
+
|
|
262
|
+
### Quality Assessment
|
|
263
|
+
- "What are the problem areas?"
|
|
264
|
+
- "Where should we focus refactoring?"
|
|
265
|
+
- "What's the technical debt?"
|
|
266
|
+
|
|
267
|
+
## Prerequisites
|
|
268
|
+
|
|
269
|
+
- Python environment
|
|
270
|
+
- ProjectMind V2 system installed
|
|
271
|
+
- Read access to project files
|
|
272
|
+
- Write access for caching (automatic)
|
|
273
|
+
|
|
274
|
+
## Fallback Strategy
|
|
275
|
+
|
|
276
|
+
**DO NOT use V1** (`hybrid_intelligent_system.py`) - it's deprecated
|
|
277
|
+
|
|
278
|
+
If V2 fails:
|
|
279
|
+
1. Check project path is correct
|
|
280
|
+
2. Verify Python environment
|
|
281
|
+
3. Examine error message
|
|
282
|
+
4. Report the issue
|
|
283
|
+
|
|
284
|
+
## Performance Tips
|
|
285
|
+
|
|
286
|
+
- First query takes 40s to build knowledge graph
|
|
287
|
+
- Subsequent queries are instant (cached)
|
|
288
|
+
- Narrow queries get faster responses
|
|
289
|
+
- Broader queries provide more context
|