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,268 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: research-methodology
|
|
3
|
+
description: Systematic approach for gathering authoritative, version-accurate documentation. Codex invokes this skill when research is needed before implementation. Ensures truth over speed while achieving both.
|
|
4
|
+
auto_invoke: true
|
|
5
|
+
tags: [research, documentation, verification, truth]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Research Methodology Skill
|
|
9
|
+
|
|
10
|
+
This skill provides a systematic methodology for conducting rapid, accurate documentation research to ground implementations in truth rather than potentially stale LLM memory.
|
|
11
|
+
|
|
12
|
+
## When Codex Should Use This Skill
|
|
13
|
+
|
|
14
|
+
Codex will automatically invoke this skill when:
|
|
15
|
+
- User mentions implementing/using a specific library or API
|
|
16
|
+
- User asks about current documentation for a technology
|
|
17
|
+
- User requests verification of API signatures or methods
|
|
18
|
+
- Task requires external dependencies or third-party integrations
|
|
19
|
+
- Updating/upgrading to new versions of frameworks
|
|
20
|
+
|
|
21
|
+
## Core Principles (BRAHMA Constitution)
|
|
22
|
+
|
|
23
|
+
1. **Truth over speed** - But achieve both through systematic approach
|
|
24
|
+
2. **Never guess APIs** - Always retrieve from authoritative sources
|
|
25
|
+
3. **Cite everything** - Include version, URL, and section references
|
|
26
|
+
4. **Deterministic** - Same research query should yield consistent results
|
|
27
|
+
|
|
28
|
+
## Research Methodology Protocol
|
|
29
|
+
|
|
30
|
+
### Step 1: Rapid Assessment (< 30 seconds)
|
|
31
|
+
|
|
32
|
+
**Objectives**:
|
|
33
|
+
- Identify what needs to be researched
|
|
34
|
+
- Detect current versions from project files
|
|
35
|
+
- Clarify any ambiguities
|
|
36
|
+
|
|
37
|
+
**Actions**:
|
|
38
|
+
1. **Parse request** - Extract library/API names mentioned
|
|
39
|
+
2. **Version detection** - Check project dependency files:
|
|
40
|
+
- `package.json` → Node.js projects
|
|
41
|
+
- `requirements.txt`, `pyproject.toml`, `Pipfile` → Python
|
|
42
|
+
- `go.mod` → Go
|
|
43
|
+
- `Cargo.toml` → Rust
|
|
44
|
+
- `build.gradle`, `pom.xml` → Java
|
|
45
|
+
- `*.csproj` → C#/.NET
|
|
46
|
+
- `pubspec.yaml` → Dart/Flutter
|
|
47
|
+
- `composer.json` → PHP
|
|
48
|
+
|
|
49
|
+
3. **Context gathering** - Note runtime, platform, existing dependencies
|
|
50
|
+
|
|
51
|
+
**Output**:
|
|
52
|
+
```
|
|
53
|
+
Target: [library-name]
|
|
54
|
+
Current Version: [X.Y.Z] (detected from [file])
|
|
55
|
+
Platform: [Node.js 20.x / Python 3.11 / etc.]
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
**If unclear**: Ask ONE specific clarifying question rather than proceed with assumptions
|
|
59
|
+
|
|
60
|
+
### Step 2: Source Prioritization (< 10 seconds)
|
|
61
|
+
|
|
62
|
+
**Source hierarchy** (in order of preference):
|
|
63
|
+
|
|
64
|
+
1. **Official documentation** (PRIMARY)
|
|
65
|
+
- Project's official website
|
|
66
|
+
- Official API reference
|
|
67
|
+
- Official getting started guide
|
|
68
|
+
|
|
69
|
+
2. **Official migration/upgrade guides** (if version change)
|
|
70
|
+
- Breaking changes documentation
|
|
71
|
+
- Migration paths
|
|
72
|
+
- Deprecation notices
|
|
73
|
+
|
|
74
|
+
3. **Official release notes/changelog** (for version-specific info)
|
|
75
|
+
- What's new in this version
|
|
76
|
+
- Bug fixes relevant to use case
|
|
77
|
+
- Known issues
|
|
78
|
+
|
|
79
|
+
4. **Official GitHub repository** (if docs sparse)
|
|
80
|
+
- README.md
|
|
81
|
+
- Examples directory
|
|
82
|
+
- Issue tracker (for known problems)
|
|
83
|
+
|
|
84
|
+
5. **Avoid** (unless no alternatives):
|
|
85
|
+
- Blog posts (may be outdated)
|
|
86
|
+
- Stack Overflow (may be for wrong version)
|
|
87
|
+
- AI-generated content (circular hallucination risk)
|
|
88
|
+
|
|
89
|
+
### Step 3: Information Retrieval (< 90 seconds)
|
|
90
|
+
|
|
91
|
+
**Retrieval strategy**:
|
|
92
|
+
|
|
93
|
+
```
|
|
94
|
+
1. Try context7 system (if available)
|
|
95
|
+
└─ Fastest, curated, version-aware docs
|
|
96
|
+
|
|
97
|
+
2. Use WebFetch on known official doc URLs
|
|
98
|
+
└─ Direct fetch from source
|
|
99
|
+
|
|
100
|
+
3. If URL unknown, use WebSearch
|
|
101
|
+
Query format: "[library name] [version] official documentation"
|
|
102
|
+
└─ Find the official site first, then fetch
|
|
103
|
+
|
|
104
|
+
4. Extract only relevant sections
|
|
105
|
+
└─ Don't download entire docs, target specific info needed
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
**What to extract**:
|
|
109
|
+
- **API signatures** - Function names, parameters, return types
|
|
110
|
+
- **Setup/initialization** - How to configure and start using
|
|
111
|
+
- **Code examples** - Minimal working examples (with URLs to source)
|
|
112
|
+
- **Gotchas** - Known issues, breaking changes, version-specific warnings
|
|
113
|
+
- **Best practices** - Recommended usage patterns from docs
|
|
114
|
+
|
|
115
|
+
**Anti-stagnation**:
|
|
116
|
+
- Set 60-second timeout per source
|
|
117
|
+
- If source fetch fails, report and try next source
|
|
118
|
+
- If all sources fail, report what was attempted and suggest manual research
|
|
119
|
+
|
|
120
|
+
### Step 4: Verification & Citation (< 30 seconds)
|
|
121
|
+
|
|
122
|
+
**For every piece of information extracted**:
|
|
123
|
+
|
|
124
|
+
```markdown
|
|
125
|
+
API: someFunction(param1: Type): ReturnType
|
|
126
|
+
Source: official-docs.com/api-reference/someFunction [version X.Y.Z]
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Verification checklist**:
|
|
130
|
+
- ✓ Version matches project dependency
|
|
131
|
+
- ✓ Source is official (not third-party)
|
|
132
|
+
- ✓ URL links to specific section (not just homepage)
|
|
133
|
+
- ✓ Information is current (check doc version/date if shown)
|
|
134
|
+
- ✓ Examples are complete and runnable
|
|
135
|
+
|
|
136
|
+
**Confidence levels**:
|
|
137
|
+
- **HIGH**: Official docs for exact version, multiple sources corroborate
|
|
138
|
+
- **MEDIUM**: Official docs but slight version mismatch, or single source
|
|
139
|
+
- **LOW**: Only unofficial sources, version mismatch, or deprecated docs
|
|
140
|
+
|
|
141
|
+
**Report confidence**: Always indicate confidence level in research output
|
|
142
|
+
|
|
143
|
+
### Step 5: Structured Output (< 30 seconds)
|
|
144
|
+
|
|
145
|
+
**Deliver in ResearchPack format**:
|
|
146
|
+
|
|
147
|
+
```markdown
|
|
148
|
+
# 📋 ResearchPack: [Library Name]
|
|
149
|
+
|
|
150
|
+
## Quick Reference
|
|
151
|
+
- Library: [name] v[X.Y.Z]
|
|
152
|
+
- Official Docs: [URL]
|
|
153
|
+
- Confidence: [HIGH/MEDIUM/LOW]
|
|
154
|
+
|
|
155
|
+
## Key APIs
|
|
156
|
+
[Concise list with signatures and sources]
|
|
157
|
+
|
|
158
|
+
## Setup
|
|
159
|
+
[Essential steps only, not every option]
|
|
160
|
+
|
|
161
|
+
## Gotchas
|
|
162
|
+
[Version-specific issues to avoid]
|
|
163
|
+
|
|
164
|
+
## Example
|
|
165
|
+
[Minimal working code with source link]
|
|
166
|
+
|
|
167
|
+
## Implementation Checklist
|
|
168
|
+
[Files to modify, steps in order]
|
|
169
|
+
|
|
170
|
+
## Sources
|
|
171
|
+
[Numbered list with URLs and versions]
|
|
172
|
+
|
|
173
|
+
## Open Questions
|
|
174
|
+
[Any decisions/clarifications needed]
|
|
175
|
+
```
|
|
176
|
+
|
|
177
|
+
**Keep it concise**:
|
|
178
|
+
- Use bullet points, not paragraphs
|
|
179
|
+
- Include only essential information for implementation
|
|
180
|
+
- Provide links for deeper reading (don't excerpt everything)
|
|
181
|
+
|
|
182
|
+
## Quality Assurance
|
|
183
|
+
|
|
184
|
+
**Before delivering research**:
|
|
185
|
+
|
|
186
|
+
1. **Completeness check**:
|
|
187
|
+
- ✓ Library identified with version
|
|
188
|
+
- ✓ At least 3 key APIs documented
|
|
189
|
+
- ✓ Setup steps provided
|
|
190
|
+
- ✓ At least 1 code example
|
|
191
|
+
- ✓ All claims cited with sources
|
|
192
|
+
|
|
193
|
+
2. **Accuracy check**:
|
|
194
|
+
- ✓ API signatures match docs exactly (not paraphrased)
|
|
195
|
+
- ✓ Version numbers correct
|
|
196
|
+
- ✓ URLs all valid and point to official sources
|
|
197
|
+
- ✓ No hallucinated functions/parameters
|
|
198
|
+
|
|
199
|
+
3. **Usefulness check**:
|
|
200
|
+
- ✓ Implementation checklist actionable
|
|
201
|
+
- ✓ Examples are complete (can be run)
|
|
202
|
+
- ✓ Gotchas relevant to detected version
|
|
203
|
+
- ✓ Open questions identify real decisions needed
|
|
204
|
+
|
|
205
|
+
## Common Pitfalls to Avoid
|
|
206
|
+
|
|
207
|
+
❌ **Don't**:
|
|
208
|
+
- Use docs from wrong version
|
|
209
|
+
- Guess or fill in gaps from LLM memory
|
|
210
|
+
- Copy-paste entire doc pages (extract key info)
|
|
211
|
+
- Trust unofficial blogs/tutorials over official docs
|
|
212
|
+
- Proceed without citing sources
|
|
213
|
+
- Skip version detection step
|
|
214
|
+
|
|
215
|
+
✅ **Do**:
|
|
216
|
+
- Always detect version from project files first
|
|
217
|
+
- Cite every API with source URL + section
|
|
218
|
+
- Extract concise, relevant info only
|
|
219
|
+
- Report confidence level honestly
|
|
220
|
+
- Link to specific doc sections, not just homepage
|
|
221
|
+
- Note version-specific gotchas explicitly
|
|
222
|
+
|
|
223
|
+
## Performance Targets
|
|
224
|
+
|
|
225
|
+
- **Total time**: < 2 minutes for typical library research
|
|
226
|
+
- **Accuracy**: 100% of APIs must match official docs
|
|
227
|
+
- **Citations**: 100% of claims must have sources
|
|
228
|
+
- **Completeness**: 95%+ of info needed for implementation
|
|
229
|
+
|
|
230
|
+
## Example Usage
|
|
231
|
+
|
|
232
|
+
**Scenario**: User says "Add Redis caching to the product service"
|
|
233
|
+
|
|
234
|
+
**Codex (using this skill)**:
|
|
235
|
+
|
|
236
|
+
```
|
|
237
|
+
[Internal: This requires research on Redis client library]
|
|
238
|
+
|
|
239
|
+
🔍 Activating research-methodology skill
|
|
240
|
+
|
|
241
|
+
📦 Detecting Redis version from package.json... Found redis@4.6.0
|
|
242
|
+
|
|
243
|
+
🌐 Fetching official docs from redis.io...
|
|
244
|
+
|
|
245
|
+
[Follows methodology: assess → prioritize → retrieve → verify → output]
|
|
246
|
+
|
|
247
|
+
# 📋 ResearchPack: Redis Client (Node.js)
|
|
248
|
+
|
|
249
|
+
## Quick Reference
|
|
250
|
+
- Library: redis v4.6.0
|
|
251
|
+
- Official Docs: https://redis.io/docs/clients/nodejs/
|
|
252
|
+
- Confidence: HIGH
|
|
253
|
+
|
|
254
|
+
## Key APIs
|
|
255
|
+
1. `createClient(options)` - Initialize connection
|
|
256
|
+
Source: redis.io/docs/clients/nodejs/v4.6#createClient
|
|
257
|
+
|
|
258
|
+
2. `client.get(key: string): Promise<string | null>` - Retrieve value
|
|
259
|
+
Source: redis.io/docs/clients/nodejs/v4.6#get
|
|
260
|
+
|
|
261
|
+
[...rest of ResearchPack]
|
|
262
|
+
|
|
263
|
+
✅ Research complete - Ready for planning phase
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
**This skill ensures all implementations are grounded in current, authoritative documentation rather than potentially outdated LLM knowledge.**
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: review
|
|
3
|
+
description: Review a plan with Critic
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Review Skill
|
|
7
|
+
|
|
8
|
+
## Native Subagent Protocol (Codex)
|
|
9
|
+
|
|
10
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
11
|
+
|
|
12
|
+
Execution preference:
|
|
13
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
14
|
+
2. Merge results in main thread and run final verification.
|
|
15
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
16
|
+
|
|
17
|
+
Minimal orchestration pattern:
|
|
18
|
+
```text
|
|
19
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
> Codex invocation: use `$review ...` or `review: ...`
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
[PLAN REVIEW MODE ACTIVATED]
|
|
26
|
+
|
|
27
|
+
## Role
|
|
28
|
+
|
|
29
|
+
Critically evaluate plans using Critic. No plan passes without meeting rigorous standards.
|
|
30
|
+
|
|
31
|
+
## Review Criteria
|
|
32
|
+
|
|
33
|
+
| Criterion | Standard |
|
|
34
|
+
|-----------|----------|
|
|
35
|
+
| Clarity | 80%+ claims cite file/line |
|
|
36
|
+
| Testability | 90%+ criteria are concrete |
|
|
37
|
+
| Verification | All file refs exist |
|
|
38
|
+
| Specificity | No vague terms |
|
|
39
|
+
|
|
40
|
+
## Verdicts
|
|
41
|
+
|
|
42
|
+
**APPROVED** - Plan meets all criteria, ready for execution
|
|
43
|
+
**REVISE** - Plan has issues needing fixes (with specific feedback)
|
|
44
|
+
**REJECT** - Fundamental problems require replanning
|
|
45
|
+
|
|
46
|
+
## What Gets Checked
|
|
47
|
+
|
|
48
|
+
1. Are requirements clear and unambiguous?
|
|
49
|
+
2. Are acceptance criteria concrete and testable?
|
|
50
|
+
3. Do file references actually exist?
|
|
51
|
+
4. Are implementation steps specific?
|
|
52
|
+
5. Are risks identified with mitigations?
|
|
53
|
+
6. Are verification steps defined?
|