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,152 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ultraqa
|
|
3
|
+
description: QA cycling workflow - test, verify, fix, repeat until goal met
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# UltraQA 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 `$ultraqa ...` or `ultraqa: ...`
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
[ULTRAQA ACTIVATED - AUTONOMOUS QA CYCLING]
|
|
26
|
+
|
|
27
|
+
## Overview
|
|
28
|
+
|
|
29
|
+
You are now in **ULTRAQA** mode - an autonomous QA cycling workflow that runs until your quality goal is met.
|
|
30
|
+
|
|
31
|
+
**Cycle**: qa-tester → architect verification → fix → repeat
|
|
32
|
+
|
|
33
|
+
## Goal Parsing
|
|
34
|
+
|
|
35
|
+
Parse the goal from arguments. Supported formats:
|
|
36
|
+
|
|
37
|
+
| Invocation | Goal Type | What to Check |
|
|
38
|
+
|------------|-----------|---------------|
|
|
39
|
+
| `$ultraqa --tests` | tests | All test suites pass |
|
|
40
|
+
| `$ultraqa --build` | build | Build succeeds with exit 0 |
|
|
41
|
+
| `$ultraqa --lint` | lint | No lint errors |
|
|
42
|
+
| `$ultraqa --typecheck` | typecheck | No TypeScript errors |
|
|
43
|
+
| `$ultraqa --custom "pattern"` | custom | Custom success pattern in output |
|
|
44
|
+
|
|
45
|
+
If no structured goal provided, interpret the argument as a custom goal.
|
|
46
|
+
|
|
47
|
+
## Cycle Workflow
|
|
48
|
+
|
|
49
|
+
### Cycle N (Max 5)
|
|
50
|
+
|
|
51
|
+
1. **RUN QA**: Execute verification based on goal type
|
|
52
|
+
- `--tests`: Run `npm test` or equivalent
|
|
53
|
+
- `--build`: Run `npm run build` or equivalent
|
|
54
|
+
- `--lint`: Run `npm run lint` or equivalent
|
|
55
|
+
- `--typecheck`: Run `npm run typecheck` or `tsc --noEmit`
|
|
56
|
+
- `--custom`: Run appropriate command and check for pattern
|
|
57
|
+
- `--interactive`: Use qa-tester for interactive CLI/service testing:
|
|
58
|
+
```
|
|
59
|
+
[QA-TESTER | sonnet] TEST:
|
|
60
|
+
Goal: [describe what to verify]
|
|
61
|
+
Service: [how to start]
|
|
62
|
+
Test cases: [specific scenarios to verify]
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
2. **CHECK RESULT**: Did the goal pass?
|
|
66
|
+
- **YES** → Exit with success message
|
|
67
|
+
- **NO** → Continue to step 3
|
|
68
|
+
|
|
69
|
+
3. **ARCHITECT DIAGNOSIS**: Spawn architect to analyze failure
|
|
70
|
+
```
|
|
71
|
+
[ARCHITECT | opus] DIAGNOSE FAILURE:
|
|
72
|
+
Goal: [goal type]
|
|
73
|
+
Output: [test/build output]
|
|
74
|
+
Provide root cause and specific fix recommendations.
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
4. **FIX ISSUES**: Apply architect's recommendations
|
|
78
|
+
```
|
|
79
|
+
[EXECUTOR | sonnet] FIX:
|
|
80
|
+
Issue: [architect diagnosis]
|
|
81
|
+
Files: [affected files]
|
|
82
|
+
Apply the fix precisely as recommended.
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
5. **REPEAT**: Go back to step 1
|
|
86
|
+
|
|
87
|
+
## Exit Conditions
|
|
88
|
+
|
|
89
|
+
| Condition | Action |
|
|
90
|
+
|-----------|--------|
|
|
91
|
+
| **Goal Met** | Exit with success: "ULTRAQA COMPLETE: Goal met after N cycles" |
|
|
92
|
+
| **Cycle 5 Reached** | Exit with diagnosis: "ULTRAQA STOPPED: Max cycles. Diagnosis: ..." |
|
|
93
|
+
| **Same Failure 3x** | Exit early: "ULTRAQA STOPPED: Same failure detected 3 times. Root cause: ..." |
|
|
94
|
+
| **Environment Error** | Exit: "ULTRAQA ERROR: [tmux/port/dependency issue]" |
|
|
95
|
+
|
|
96
|
+
## Observability
|
|
97
|
+
|
|
98
|
+
Output progress each cycle:
|
|
99
|
+
```
|
|
100
|
+
[ULTRAQA Cycle 1/5] Running tests...
|
|
101
|
+
[ULTRAQA Cycle 1/5] FAILED - 3 tests failing
|
|
102
|
+
[ULTRAQA Cycle 1/5] Architect diagnosing...
|
|
103
|
+
[ULTRAQA Cycle 1/5] Fixing: auth.test.ts - missing mock
|
|
104
|
+
[ULTRAQA Cycle 2/5] Running tests...
|
|
105
|
+
[ULTRAQA Cycle 2/5] PASSED - All 47 tests pass
|
|
106
|
+
[ULTRAQA COMPLETE] Goal met after 2 cycles
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## State Tracking
|
|
110
|
+
|
|
111
|
+
Track state in `.omc/ultraqa-state.json`:
|
|
112
|
+
```json
|
|
113
|
+
{
|
|
114
|
+
"active": true,
|
|
115
|
+
"goal_type": "tests",
|
|
116
|
+
"goal_pattern": null,
|
|
117
|
+
"cycle": 1,
|
|
118
|
+
"max_cycles": 5,
|
|
119
|
+
"failures": ["3 tests failing: auth.test.ts"],
|
|
120
|
+
"started_at": "2024-01-18T12:00:00Z",
|
|
121
|
+
"session_id": "uuid"
|
|
122
|
+
}
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
## Cancellation
|
|
126
|
+
|
|
127
|
+
User can cancel with `$cancel` which clears the state file.
|
|
128
|
+
|
|
129
|
+
## Important Rules
|
|
130
|
+
|
|
131
|
+
1. **PARALLEL when possible** - Run diagnosis while preparing potential fixes
|
|
132
|
+
2. **TRACK failures** - Record each failure to detect patterns
|
|
133
|
+
3. **EARLY EXIT on pattern** - 3x same failure = stop and surface
|
|
134
|
+
4. **CLEAR OUTPUT** - User should always know current cycle and status
|
|
135
|
+
5. **CLEAN UP** - Clear state file on completion or cancellation
|
|
136
|
+
|
|
137
|
+
## STATE CLEANUP ON COMPLETION
|
|
138
|
+
|
|
139
|
+
**IMPORTANT: Delete state files on completion - do NOT just set `active: false`**
|
|
140
|
+
|
|
141
|
+
When goal is met OR max cycles reached OR exiting early:
|
|
142
|
+
|
|
143
|
+
```bash
|
|
144
|
+
# Delete ultraqa state file
|
|
145
|
+
rm -f .omc/state/ultraqa-state.json
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
This ensures clean state for future sessions. Stale state files with `active: false` should not be left behind.
|
|
149
|
+
|
|
150
|
+
---
|
|
151
|
+
|
|
152
|
+
Begin ULTRAQA cycling now. Parse the goal and start cycle 1.
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ultrawork
|
|
3
|
+
description: Activate maximum performance mode with parallel agent orchestration for high-throughput task completion
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ultrawork 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 `$ultrawork ...` or `ultrawork: ...`
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
Activates maximum performance mode with parallel agent orchestration.
|
|
26
|
+
|
|
27
|
+
## When Activated
|
|
28
|
+
|
|
29
|
+
This skill enhances Codex's capabilities by:
|
|
30
|
+
|
|
31
|
+
1. **Parallel Execution**: Running multiple agents simultaneously for independent tasks
|
|
32
|
+
2. **Aggressive Delegation**: Routing tasks to specialist agents immediately
|
|
33
|
+
3. **Background Operations**: Using `run_in_background: true` for long operations
|
|
34
|
+
4. **Persistence Enforcement**: Never stopping until all tasks are verified complete
|
|
35
|
+
5. **Smart Model Routing**: Using tiered agents to save tokens
|
|
36
|
+
|
|
37
|
+
## Smart Model Routing (CRITICAL - SAVE TOKENS)
|
|
38
|
+
|
|
39
|
+
**Choose tier based on task complexity: LOW (haiku) → MEDIUM (sonnet) → HIGH (opus)**
|
|
40
|
+
|
|
41
|
+
### Available Agents by Tier
|
|
42
|
+
|
|
43
|
+
| Domain | LOW (Haiku) | MEDIUM (Sonnet) | HIGH (Opus) |
|
|
44
|
+
|--------|-------------|-----------------|-------------|
|
|
45
|
+
| **Analysis** | `architect-low` | `architect-medium` | `architect` |
|
|
46
|
+
| **Execution** | `executor-low` | `executor` | `executor-high` |
|
|
47
|
+
| **Search** | `explore` | `explore-medium` | - |
|
|
48
|
+
| **Research** | `researcher-low` | `researcher` | - |
|
|
49
|
+
| **Frontend** | `designer-low` | `designer` | `designer-high` |
|
|
50
|
+
| **Docs** | `writer` | - | - |
|
|
51
|
+
| **Visual** | - | `vision` | - |
|
|
52
|
+
| **Planning** | - | - | `planner`, `critic`, `analyst` |
|
|
53
|
+
| **Testing** | - | `qa-tester` | - |
|
|
54
|
+
| **Security** | `security-reviewer-low` | - | `security-reviewer` |
|
|
55
|
+
| **Build** | `build-fixer-low` | `build-fixer` | - |
|
|
56
|
+
| **TDD** | `tdd-guide-low` | `tdd-guide` | - |
|
|
57
|
+
| **Code Review** | `code-reviewer-low` | - | `code-reviewer` |
|
|
58
|
+
|
|
59
|
+
### Tier Selection Guide
|
|
60
|
+
|
|
61
|
+
| Task Complexity | Tier | Examples |
|
|
62
|
+
|-----------------|------|----------|
|
|
63
|
+
| Simple lookups | LOW | "What does this function return?", "Find where X is defined" |
|
|
64
|
+
| Standard work | MEDIUM | "Add error handling", "Implement this feature" |
|
|
65
|
+
| Complex analysis | HIGH | "Debug this race condition", "Refactor auth module across 5 files" |
|
|
66
|
+
|
|
67
|
+
### Routing Examples
|
|
68
|
+
|
|
69
|
+
**CRITICAL: Always pass `model` parameter explicitly - Codex does NOT auto-apply models from agent definitions!**
|
|
70
|
+
|
|
71
|
+
```
|
|
72
|
+
// Simple question → LOW tier (saves tokens!)
|
|
73
|
+
[ARCHITECT-LOW | haiku] "What does this function return?"
|
|
74
|
+
|
|
75
|
+
// Standard implementation → MEDIUM tier
|
|
76
|
+
[EXECUTOR | sonnet] "Add error handling to login"
|
|
77
|
+
|
|
78
|
+
// Complex refactoring → HIGH tier
|
|
79
|
+
[EXECUTOR-HIGH | opus] "Refactor auth module using JWT across 5 files"
|
|
80
|
+
|
|
81
|
+
// Quick file lookup → LOW tier
|
|
82
|
+
[EXPLORE-LOW | haiku] "Find where UserService is defined"
|
|
83
|
+
|
|
84
|
+
// Thorough search → MEDIUM tier
|
|
85
|
+
[EXPLORE | sonnet] "Find all authentication patterns in the codebase"
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
## Background Execution Rules
|
|
89
|
+
|
|
90
|
+
**Run in Background** (set `run_in_background: true`):
|
|
91
|
+
- Package installation: npm install, pip install, cargo build
|
|
92
|
+
- Build processes: npm run build, make, tsc
|
|
93
|
+
- Test suites: npm test, pytest, cargo test
|
|
94
|
+
- Docker operations: docker build, docker pull
|
|
95
|
+
|
|
96
|
+
**Run Blocking** (foreground):
|
|
97
|
+
- Quick status checks: git status, ls, pwd
|
|
98
|
+
- File reads, edits
|
|
99
|
+
- Simple commands
|
|
100
|
+
|
|
101
|
+
## Verification Checklist
|
|
102
|
+
|
|
103
|
+
Before stopping, verify:
|
|
104
|
+
- [ ] TODO LIST: Zero pending/in_progress tasks
|
|
105
|
+
- [ ] FUNCTIONALITY: All requested features work
|
|
106
|
+
- [ ] TESTS: All tests pass (if applicable)
|
|
107
|
+
- [ ] ERRORS: Zero unaddressed errors
|
|
108
|
+
|
|
109
|
+
**If ANY checkbox is unchecked, CONTINUE WORKING.**
|
|
110
|
+
|
|
111
|
+
## STATE CLEANUP ON COMPLETION
|
|
112
|
+
|
|
113
|
+
**IMPORTANT: Delete state files on completion - do NOT just set `active: false`**
|
|
114
|
+
|
|
115
|
+
When all verification passes and work is complete:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
# Delete ultrawork state files
|
|
119
|
+
rm -f .omc/state/ultrawork-state.json
|
|
120
|
+
rm -f ~/.codex/ultrawork-state.json
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
This ensures clean state for future sessions. Stale state files with `active: false` should not be left behind.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update-codemaps
|
|
3
|
+
description: Imported from everything-codex command update-codemaps
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Update Codemaps
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Native Subagent Protocol (Codex)
|
|
10
|
+
|
|
11
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
12
|
+
|
|
13
|
+
Execution preference:
|
|
14
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
15
|
+
2. Merge results in main thread and run final verification.
|
|
16
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
17
|
+
|
|
18
|
+
Minimal orchestration pattern:
|
|
19
|
+
```text
|
|
20
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Analyze the codebase structure and update architecture documentation:
|
|
24
|
+
|
|
25
|
+
1. Scan all source files for imports, exports, and dependencies
|
|
26
|
+
2. Generate token-lean codemaps in the following format:
|
|
27
|
+
- codemaps/architecture.md - Overall architecture
|
|
28
|
+
- codemaps/backend.md - Backend structure
|
|
29
|
+
- codemaps/frontend.md - Frontend structure
|
|
30
|
+
- codemaps/data.md - Data models and schemas
|
|
31
|
+
|
|
32
|
+
3. Calculate diff percentage from previous version
|
|
33
|
+
4. If changes > 30%, request user approval before updating
|
|
34
|
+
5. Add freshness timestamp to each codemap
|
|
35
|
+
6. Save reports to .reports/codemap-diff.txt
|
|
36
|
+
|
|
37
|
+
Use TypeScript/Node.js for analysis. Focus on high-level structure, not implementation details.
|
|
38
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: update-docs
|
|
3
|
+
description: Imported from everything-codex command update-docs
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Update Documentation
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Native Subagent Protocol (Codex)
|
|
10
|
+
|
|
11
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
12
|
+
|
|
13
|
+
Execution preference:
|
|
14
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
15
|
+
2. Merge results in main thread and run final verification.
|
|
16
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
17
|
+
|
|
18
|
+
Minimal orchestration pattern:
|
|
19
|
+
```text
|
|
20
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Sync documentation from source-of-truth:
|
|
24
|
+
|
|
25
|
+
1. Read package.json scripts section
|
|
26
|
+
- Generate scripts reference table
|
|
27
|
+
- Include descriptions from comments
|
|
28
|
+
|
|
29
|
+
2. Read .env.example
|
|
30
|
+
- Extract all environment variables
|
|
31
|
+
- Document purpose and format
|
|
32
|
+
|
|
33
|
+
3. Generate docs/CONTRIB.md with:
|
|
34
|
+
- Development workflow
|
|
35
|
+
- Available scripts
|
|
36
|
+
- Environment setup
|
|
37
|
+
- Testing procedures
|
|
38
|
+
|
|
39
|
+
4. Generate docs/RUNBOOK.md with:
|
|
40
|
+
- Deployment procedures
|
|
41
|
+
- Monitoring and alerts
|
|
42
|
+
- Common issues and fixes
|
|
43
|
+
- Rollback procedures
|
|
44
|
+
|
|
45
|
+
5. Identify obsolete documentation:
|
|
46
|
+
- Find docs not modified in 90+ days
|
|
47
|
+
- List for manual review
|
|
48
|
+
|
|
49
|
+
6. Show diff summary
|
|
50
|
+
|
|
51
|
+
Single source of truth: package.json and .env.example
|
|
52
|
+
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verification-loop
|
|
3
|
+
description: Verification workflow with build/type/lint/test/security checks
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verification Loop Skill
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Native Subagent Protocol (Codex)
|
|
10
|
+
|
|
11
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
12
|
+
|
|
13
|
+
Execution preference:
|
|
14
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
15
|
+
2. Merge results in main thread and run final verification.
|
|
16
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
17
|
+
|
|
18
|
+
Minimal orchestration pattern:
|
|
19
|
+
```text
|
|
20
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
A comprehensive verification system for Codex sessions.
|
|
24
|
+
|
|
25
|
+
## When to Use
|
|
26
|
+
|
|
27
|
+
Invoke this skill:
|
|
28
|
+
- After completing a feature or significant code change
|
|
29
|
+
- Before creating a PR
|
|
30
|
+
- When you want to ensure quality gates pass
|
|
31
|
+
- After refactoring
|
|
32
|
+
|
|
33
|
+
## Verification Phases
|
|
34
|
+
|
|
35
|
+
### Phase 1: Build Verification
|
|
36
|
+
```bash
|
|
37
|
+
# Check if project builds
|
|
38
|
+
npm run build 2>&1 | tail -20
|
|
39
|
+
# OR
|
|
40
|
+
pnpm build 2>&1 | tail -20
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
If build fails, STOP and fix before continuing.
|
|
44
|
+
|
|
45
|
+
### Phase 2: Type Check
|
|
46
|
+
```bash
|
|
47
|
+
# TypeScript projects
|
|
48
|
+
npx tsc --noEmit 2>&1 | head -30
|
|
49
|
+
|
|
50
|
+
# Python projects
|
|
51
|
+
pyright . 2>&1 | head -30
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Report all type errors. Fix critical ones before continuing.
|
|
55
|
+
|
|
56
|
+
### Phase 3: Lint Check
|
|
57
|
+
```bash
|
|
58
|
+
# JavaScript/TypeScript
|
|
59
|
+
npm run lint 2>&1 | head -30
|
|
60
|
+
|
|
61
|
+
# Python
|
|
62
|
+
ruff check . 2>&1 | head -30
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
### Phase 4: Test Suite
|
|
66
|
+
```bash
|
|
67
|
+
# Run tests with coverage
|
|
68
|
+
npm run test -- --coverage 2>&1 | tail -50
|
|
69
|
+
|
|
70
|
+
# Check coverage threshold
|
|
71
|
+
# Target: 80% minimum
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Report:
|
|
75
|
+
- Total tests: X
|
|
76
|
+
- Passed: X
|
|
77
|
+
- Failed: X
|
|
78
|
+
- Coverage: X%
|
|
79
|
+
|
|
80
|
+
### Phase 5: Security Scan
|
|
81
|
+
```bash
|
|
82
|
+
# Check for secrets
|
|
83
|
+
grep -rn "sk-" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
|
|
84
|
+
grep -rn "api_key" --include="*.ts" --include="*.js" . 2>/dev/null | head -10
|
|
85
|
+
|
|
86
|
+
# Check for console.log
|
|
87
|
+
grep -rn "console.log" --include="*.ts" --include="*.tsx" src/ 2>/dev/null | head -10
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
### Phase 6: Diff Review
|
|
91
|
+
```bash
|
|
92
|
+
# Show what changed
|
|
93
|
+
git diff --stat
|
|
94
|
+
git diff HEAD~1 --name-only
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
Review each changed file for:
|
|
98
|
+
- Unintended changes
|
|
99
|
+
- Missing error handling
|
|
100
|
+
- Potential edge cases
|
|
101
|
+
|
|
102
|
+
## Output Format
|
|
103
|
+
|
|
104
|
+
After running all phases, produce a verification report:
|
|
105
|
+
|
|
106
|
+
```
|
|
107
|
+
VERIFICATION REPORT
|
|
108
|
+
==================
|
|
109
|
+
|
|
110
|
+
Build: [PASS/FAIL]
|
|
111
|
+
Types: [PASS/FAIL] (X errors)
|
|
112
|
+
Lint: [PASS/FAIL] (X warnings)
|
|
113
|
+
Tests: [PASS/FAIL] (X/Y passed, Z% coverage)
|
|
114
|
+
Security: [PASS/FAIL] (X issues)
|
|
115
|
+
Diff: [X files changed]
|
|
116
|
+
|
|
117
|
+
Overall: [READY/NOT READY] for PR
|
|
118
|
+
|
|
119
|
+
Issues to Fix:
|
|
120
|
+
1. ...
|
|
121
|
+
2. ...
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Continuous Mode
|
|
125
|
+
|
|
126
|
+
For long sessions, run verification every 15 minutes or after major changes:
|
|
127
|
+
|
|
128
|
+
```markdown
|
|
129
|
+
Set a mental checkpoint:
|
|
130
|
+
- After completing each function
|
|
131
|
+
- After finishing a component
|
|
132
|
+
- Before moving to next task
|
|
133
|
+
|
|
134
|
+
Run: `$verify`
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
## Integration with Hooks
|
|
138
|
+
|
|
139
|
+
This skill complements any available tool hooks but provides deeper verification.
|
|
140
|
+
Hooks catch issues immediately; this skill provides comprehensive review.
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verify
|
|
3
|
+
description: Imported from everything-codex command verify
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verification Command
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## Native Subagent Protocol (Codex)
|
|
10
|
+
|
|
11
|
+
Codex supports native subagents. Delegate with `spawn_agent`, coordinate with `send_input`, collect via `wait`, and clean up with `close_agent`.
|
|
12
|
+
|
|
13
|
+
Execution preference:
|
|
14
|
+
1. Use native subagents first for independent workstreams (parallel when possible).
|
|
15
|
+
2. Merge results in main thread and run final verification.
|
|
16
|
+
3. Fallback only when delegation is blocked: use the `[ANALYST]`/`[ARCHITECT]`/`[EXECUTOR]`/`[REVIEWER]` structure in a single response.
|
|
17
|
+
|
|
18
|
+
Minimal orchestration pattern:
|
|
19
|
+
```text
|
|
20
|
+
spawn_agent -> send_input (optional) -> wait -> close_agent
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Run comprehensive verification on current codebase state.
|
|
24
|
+
|
|
25
|
+
## Instructions
|
|
26
|
+
|
|
27
|
+
Execute verification in this exact order:
|
|
28
|
+
|
|
29
|
+
1. **Build Check**
|
|
30
|
+
- Run the build command for this project
|
|
31
|
+
- If it fails, report errors and STOP
|
|
32
|
+
|
|
33
|
+
2. **Type Check**
|
|
34
|
+
- Run TypeScript/type checker
|
|
35
|
+
- Report all errors with file:line
|
|
36
|
+
|
|
37
|
+
3. **Lint Check**
|
|
38
|
+
- Run linter
|
|
39
|
+
- Report warnings and errors
|
|
40
|
+
|
|
41
|
+
4. **Test Suite**
|
|
42
|
+
- Run all tests
|
|
43
|
+
- Report pass/fail count
|
|
44
|
+
- Report coverage percentage
|
|
45
|
+
|
|
46
|
+
5. **Console.log Audit**
|
|
47
|
+
- Search for console.log in source files
|
|
48
|
+
- Report locations
|
|
49
|
+
|
|
50
|
+
6. **Git Status**
|
|
51
|
+
- Show uncommitted changes
|
|
52
|
+
- Show files modified since last commit
|
|
53
|
+
|
|
54
|
+
## Output
|
|
55
|
+
|
|
56
|
+
Produce a concise verification report:
|
|
57
|
+
|
|
58
|
+
```
|
|
59
|
+
VERIFICATION: [PASS/FAIL]
|
|
60
|
+
|
|
61
|
+
Build: [OK/FAIL]
|
|
62
|
+
Types: [OK/X errors]
|
|
63
|
+
Lint: [OK/X issues]
|
|
64
|
+
Tests: [X/Y passed, Z% coverage]
|
|
65
|
+
Secrets: [OK/X found]
|
|
66
|
+
Logs: [OK/X console.logs]
|
|
67
|
+
|
|
68
|
+
Ready for PR: [YES/NO]
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
If any critical issues, list them with fix suggestions.
|
|
72
|
+
|
|
73
|
+
## Arguments
|
|
74
|
+
|
|
75
|
+
$ARGUMENTS can be:
|
|
76
|
+
- `quick` - Only build + types
|
|
77
|
+
- `full` - All checks (default)
|
|
78
|
+
- `pre-commit` - Checks relevant for commits
|
|
79
|
+
- `pre-pr` - Full checks plus security scan
|
|
80
|
+
|