oh-my-claude-sisyphus 3.3.10 → 3.4.1
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/README.md +74 -8
- package/agents/explore-high.md +195 -0
- package/agents/qa-tester-high.md +141 -0
- package/agents/templates/README.md +110 -0
- package/agents/templates/base-agent.md +54 -0
- package/agents/templates/tier-instructions.md +94 -0
- package/commands/cancel-ecomode.md +71 -0
- package/commands/cancel.md +75 -0
- package/commands/ecomode.md +60 -0
- package/commands/help.md +1 -1
- package/commands/mcp-setup.md +7 -6
- package/commands/pipeline.md +231 -0
- package/commands/planner.md +174 -0
- package/commands/ralplan.md +8 -1
- package/commands/swarm.md +280 -0
- package/commands/ultrapilot.md +158 -0
- package/commands/ultrawork.md +1 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts +6 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcer-integration.test.js +136 -0
- package/dist/__tests__/delegation-enforcer-integration.test.js.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.d.ts +5 -0
- package/dist/__tests__/delegation-enforcer.test.d.ts.map +1 -0
- package/dist/__tests__/delegation-enforcer.test.js +208 -0
- package/dist/__tests__/delegation-enforcer.test.js.map +1 -0
- package/dist/__tests__/hooks.test.js +2 -2
- package/dist/__tests__/hooks.test.js.map +1 -1
- package/dist/__tests__/installer.test.js +4 -6
- package/dist/__tests__/installer.test.js.map +1 -1
- package/dist/__tests__/ralph-prd.test.js +1 -1
- package/dist/__tests__/ralph-prd.test.js.map +1 -1
- package/dist/__tests__/ralph-progress.test.js +1 -1
- package/dist/__tests__/ralph-progress.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +31 -24
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/agents/analyst.d.ts.map +1 -1
- package/dist/agents/analyst.js +1 -0
- package/dist/agents/analyst.js.map +1 -1
- package/dist/agents/architect.d.ts.map +1 -1
- package/dist/agents/architect.js +1 -0
- package/dist/agents/architect.js.map +1 -1
- package/dist/agents/critic.d.ts.map +1 -1
- package/dist/agents/critic.js +1 -0
- package/dist/agents/critic.js.map +1 -1
- package/dist/agents/definitions.d.ts +5 -1
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +53 -155
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/designer.d.ts.map +1 -1
- package/dist/agents/designer.js +1 -0
- package/dist/agents/designer.js.map +1 -1
- package/dist/agents/executor.d.ts.map +1 -1
- package/dist/agents/executor.js +1 -0
- package/dist/agents/executor.js.map +1 -1
- package/dist/agents/explore.d.ts.map +1 -1
- package/dist/agents/explore.js +1 -0
- package/dist/agents/explore.js.map +1 -1
- package/dist/agents/planner.d.ts.map +1 -1
- package/dist/agents/planner.js +1 -0
- package/dist/agents/planner.js.map +1 -1
- package/dist/agents/qa-tester.d.ts.map +1 -1
- package/dist/agents/qa-tester.js +1 -0
- package/dist/agents/qa-tester.js.map +1 -1
- package/dist/agents/researcher.d.ts.map +1 -1
- package/dist/agents/researcher.js +1 -0
- package/dist/agents/researcher.js.map +1 -1
- package/dist/agents/scientist.d.ts.map +1 -1
- package/dist/agents/scientist.js +1 -0
- package/dist/agents/scientist.js.map +1 -1
- package/dist/agents/types.d.ts +2 -0
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/agents/types.js.map +1 -1
- package/dist/agents/vision.d.ts.map +1 -1
- package/dist/agents/vision.js +1 -0
- package/dist/agents/vision.js.map +1 -1
- package/dist/agents/writer.d.ts.map +1 -1
- package/dist/agents/writer.js +1 -0
- package/dist/agents/writer.js.map +1 -1
- package/dist/analytics/cost-estimator.d.ts +14 -0
- package/dist/analytics/cost-estimator.d.ts.map +1 -0
- package/dist/analytics/cost-estimator.js +70 -0
- package/dist/analytics/cost-estimator.js.map +1 -0
- package/dist/analytics/export.d.ts +7 -0
- package/dist/analytics/export.d.ts.map +1 -0
- package/dist/analytics/export.js +93 -0
- package/dist/analytics/export.js.map +1 -0
- package/dist/analytics/index.d.ts +14 -0
- package/dist/analytics/index.d.ts.map +1 -0
- package/dist/analytics/index.js +14 -0
- package/dist/analytics/index.js.map +1 -0
- package/dist/analytics/metrics-collector.d.ts +30 -0
- package/dist/analytics/metrics-collector.d.ts.map +1 -0
- package/dist/analytics/metrics-collector.js +96 -0
- package/dist/analytics/metrics-collector.js.map +1 -0
- package/dist/analytics/query-engine.d.ts +32 -0
- package/dist/analytics/query-engine.d.ts.map +1 -0
- package/dist/analytics/query-engine.js +151 -0
- package/dist/analytics/query-engine.js.map +1 -0
- package/dist/analytics/session-manager.d.ts +26 -0
- package/dist/analytics/session-manager.d.ts.map +1 -0
- package/dist/analytics/session-manager.js +201 -0
- package/dist/analytics/session-manager.js.map +1 -0
- package/dist/analytics/session-types.d.ts +37 -0
- package/dist/analytics/session-types.d.ts.map +1 -0
- package/dist/analytics/session-types.js +2 -0
- package/dist/analytics/session-types.js.map +1 -0
- package/dist/analytics/token-tracker.d.ts +24 -0
- package/dist/analytics/token-tracker.d.ts.map +1 -0
- package/dist/analytics/token-tracker.js +161 -0
- package/dist/analytics/token-tracker.js.map +1 -0
- package/dist/analytics/types.d.ts +37 -0
- package/dist/analytics/types.d.ts.map +1 -0
- package/dist/analytics/types.js +21 -0
- package/dist/analytics/types.js.map +1 -0
- package/dist/cli/analytics.d.ts +3 -0
- package/dist/cli/analytics.d.ts.map +1 -0
- package/dist/cli/analytics.js +74 -0
- package/dist/cli/analytics.js.map +1 -0
- package/dist/cli/commands/agents.d.ts +5 -0
- package/dist/cli/commands/agents.d.ts.map +1 -0
- package/dist/cli/commands/agents.js +29 -0
- package/dist/cli/commands/agents.js.map +1 -0
- package/dist/cli/commands/cleanup.d.ts +4 -0
- package/dist/cli/commands/cleanup.d.ts.map +1 -0
- package/dist/cli/commands/cleanup.js +17 -0
- package/dist/cli/commands/cleanup.js.map +1 -0
- package/dist/cli/commands/cost.d.ts +4 -0
- package/dist/cli/commands/cost.d.ts.map +1 -0
- package/dist/cli/commands/cost.js +53 -0
- package/dist/cli/commands/cost.js.map +1 -0
- package/dist/cli/commands/export.d.ts +5 -0
- package/dist/cli/commands/export.d.ts.map +1 -0
- package/dist/cli/commands/export.js +30 -0
- package/dist/cli/commands/export.js.map +1 -0
- package/dist/cli/commands/sessions.d.ts +5 -0
- package/dist/cli/commands/sessions.d.ts.map +1 -0
- package/dist/cli/commands/sessions.js +37 -0
- package/dist/cli/commands/sessions.js.map +1 -0
- package/dist/cli/commands/stats.d.ts +4 -0
- package/dist/cli/commands/stats.d.ts.map +1 -0
- package/dist/cli/commands/stats.js +43 -0
- package/dist/cli/commands/stats.js.map +1 -0
- package/dist/cli/index.js +0 -3
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/utils/formatting.d.ts +22 -0
- package/dist/cli/utils/formatting.d.ts.map +1 -0
- package/dist/cli/utils/formatting.js +70 -0
- package/dist/cli/utils/formatting.js.map +1 -0
- package/dist/config/loader.d.ts.map +1 -1
- package/dist/config/loader.js +1 -6
- package/dist/config/loader.js.map +1 -1
- package/dist/features/delegation-enforcer.d.ts +71 -0
- package/dist/features/delegation-enforcer.d.ts.map +1 -0
- package/dist/features/delegation-enforcer.js +128 -0
- package/dist/features/delegation-enforcer.js.map +1 -0
- package/dist/features/index.d.ts +3 -0
- package/dist/features/index.d.ts.map +1 -1
- package/dist/features/index.js +18 -0
- package/dist/features/index.js.map +1 -1
- package/dist/features/state-manager/index.d.ts +100 -0
- package/dist/features/state-manager/index.d.ts.map +1 -0
- package/dist/features/state-manager/index.js +407 -0
- package/dist/features/state-manager/index.js.map +1 -0
- package/dist/features/state-manager/types.d.ts +147 -0
- package/dist/features/state-manager/types.d.ts.map +1 -0
- package/dist/features/state-manager/types.js +30 -0
- package/dist/features/state-manager/types.js.map +1 -0
- package/dist/features/task-decomposer/index.d.ts +33 -0
- package/dist/features/task-decomposer/index.d.ts.map +1 -0
- package/dist/features/task-decomposer/index.js +698 -0
- package/dist/features/task-decomposer/index.js.map +1 -0
- package/dist/features/task-decomposer/types.d.ts +133 -0
- package/dist/features/task-decomposer/types.d.ts.map +1 -0
- package/dist/features/task-decomposer/types.js +8 -0
- package/dist/features/task-decomposer/types.js.map +1 -0
- package/dist/features/verification/example.d.ts +49 -0
- package/dist/features/verification/example.d.ts.map +1 -0
- package/dist/features/verification/example.js +235 -0
- package/dist/features/verification/example.js.map +1 -0
- package/dist/features/verification/index.d.ts +97 -0
- package/dist/features/verification/index.d.ts.map +1 -0
- package/dist/features/verification/index.js +439 -0
- package/dist/features/verification/index.js.map +1 -0
- package/dist/features/verification/types.d.ts +142 -0
- package/dist/features/verification/types.d.ts.map +1 -0
- package/dist/features/verification/types.js +7 -0
- package/dist/features/verification/types.js.map +1 -0
- package/dist/hooks/agent-usage-reminder/constants.d.ts.map +1 -1
- package/dist/hooks/agent-usage-reminder/constants.js +0 -1
- package/dist/hooks/agent-usage-reminder/constants.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/cancel.test.js +4 -4
- package/dist/hooks/autopilot/__tests__/cancel.test.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/summary.test.js +1 -1
- package/dist/hooks/autopilot/__tests__/summary.test.js.map +1 -1
- package/dist/hooks/autopilot/__tests__/transition.test.js +1 -2
- package/dist/hooks/autopilot/__tests__/transition.test.js.map +1 -1
- package/dist/hooks/autopilot/cancel.js +2 -2
- package/dist/hooks/autopilot/cancel.js.map +1 -1
- package/dist/hooks/autopilot/enforcement.d.ts +16 -2
- package/dist/hooks/autopilot/enforcement.d.ts.map +1 -1
- package/dist/hooks/autopilot/enforcement.js +78 -4
- package/dist/hooks/autopilot/enforcement.js.map +1 -1
- package/dist/hooks/autopilot/index.d.ts +3 -6
- package/dist/hooks/autopilot/index.d.ts.map +1 -1
- package/dist/hooks/autopilot/index.js +6 -12
- package/dist/hooks/autopilot/index.js.map +1 -1
- package/dist/hooks/autopilot/state.d.ts +36 -2
- package/dist/hooks/autopilot/state.d.ts.map +1 -1
- package/dist/hooks/autopilot/state.js +216 -2
- package/dist/hooks/autopilot/state.js.map +1 -1
- package/dist/hooks/autopilot/validation.d.ts +23 -2
- package/dist/hooks/autopilot/validation.d.ts.map +1 -1
- package/dist/hooks/autopilot/validation.js +158 -1
- package/dist/hooks/autopilot/validation.js.map +1 -1
- package/dist/hooks/bridge.js +3 -3
- package/dist/hooks/bridge.js.map +1 -1
- package/dist/hooks/index.d.ts +5 -9
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +31 -21
- package/dist/hooks/index.js.map +1 -1
- package/dist/hooks/learner/promotion.js +1 -1
- package/dist/hooks/learner/promotion.js.map +1 -1
- package/dist/hooks/persistent-mode/index.d.ts.map +1 -1
- package/dist/hooks/persistent-mode/index.js +2 -3
- package/dist/hooks/persistent-mode/index.js.map +1 -1
- package/dist/hooks/ralph/index.d.ts +11 -0
- package/dist/hooks/ralph/index.d.ts.map +1 -0
- package/dist/hooks/ralph/index.js +53 -0
- package/dist/hooks/ralph/index.js.map +1 -0
- package/dist/hooks/ralph/loop.d.ts +116 -0
- package/dist/hooks/ralph/loop.d.ts.map +1 -0
- package/dist/hooks/ralph/loop.js +322 -0
- package/dist/hooks/ralph/loop.js.map +1 -0
- package/dist/hooks/ralph/prd.d.ts +130 -0
- package/dist/hooks/ralph/prd.d.ts.map +1 -0
- package/dist/hooks/ralph/prd.js +310 -0
- package/dist/hooks/ralph/prd.js.map +1 -0
- package/dist/hooks/ralph/progress.d.ts +102 -0
- package/dist/hooks/ralph/progress.d.ts.map +1 -0
- package/dist/hooks/ralph/progress.js +408 -0
- package/dist/hooks/ralph/progress.js.map +1 -0
- package/dist/hooks/ralph/verifier.d.ts +72 -0
- package/dist/hooks/ralph/verifier.d.ts.map +1 -0
- package/dist/hooks/ralph/verifier.js +223 -0
- package/dist/hooks/ralph/verifier.js.map +1 -0
- package/dist/hooks/recovery/constants.d.ts +114 -0
- package/dist/hooks/recovery/constants.d.ts.map +1 -0
- package/dist/hooks/recovery/constants.js +227 -0
- package/dist/hooks/recovery/constants.js.map +1 -0
- package/dist/hooks/recovery/context-window.d.ts +24 -0
- package/dist/hooks/recovery/context-window.d.ts.map +1 -0
- package/dist/hooks/recovery/context-window.js +321 -0
- package/dist/hooks/recovery/context-window.js.map +1 -0
- package/dist/hooks/recovery/edit-error.d.ts +24 -0
- package/dist/hooks/recovery/edit-error.d.ts.map +1 -0
- package/dist/hooks/recovery/edit-error.js +56 -0
- package/dist/hooks/recovery/edit-error.js.map +1 -0
- package/dist/hooks/recovery/index.d.ts +102 -0
- package/dist/hooks/recovery/index.d.ts.map +1 -0
- package/dist/hooks/recovery/index.js +166 -0
- package/dist/hooks/recovery/index.js.map +1 -0
- package/dist/hooks/recovery/session-recovery.d.ts +24 -0
- package/dist/hooks/recovery/session-recovery.d.ts.map +1 -0
- package/dist/hooks/recovery/session-recovery.js +281 -0
- package/dist/hooks/recovery/session-recovery.js.map +1 -0
- package/dist/hooks/recovery/storage.d.ts +75 -0
- package/dist/hooks/recovery/storage.d.ts.map +1 -0
- package/dist/hooks/recovery/storage.js +382 -0
- package/dist/hooks/recovery/storage.js.map +1 -0
- package/dist/hooks/recovery/types.d.ts +196 -0
- package/dist/hooks/recovery/types.d.ts.map +1 -0
- package/dist/hooks/recovery/types.js +32 -0
- package/dist/hooks/recovery/types.js.map +1 -0
- package/dist/hooks/ultrapilot/index.d.ts +90 -0
- package/dist/hooks/ultrapilot/index.d.ts.map +1 -0
- package/dist/hooks/ultrapilot/index.js +310 -0
- package/dist/hooks/ultrapilot/index.js.map +1 -0
- package/dist/hooks/ultrapilot/state.d.ts +72 -0
- package/dist/hooks/ultrapilot/state.d.ts.map +1 -0
- package/dist/hooks/ultrapilot/state.js +258 -0
- package/dist/hooks/ultrapilot/state.js.map +1 -0
- package/dist/hooks/ultrapilot/types.d.ts +113 -0
- package/dist/hooks/ultrapilot/types.d.ts.map +1 -0
- package/dist/hooks/ultrapilot/types.js +36 -0
- package/dist/hooks/ultrapilot/types.js.map +1 -0
- package/dist/hooks/ultraqa/index.d.ts +94 -0
- package/dist/hooks/ultraqa/index.d.ts.map +1 -0
- package/dist/hooks/ultraqa/index.js +216 -0
- package/dist/hooks/ultraqa/index.js.map +1 -0
- package/dist/hooks/ultrawork/index.d.ts +62 -0
- package/dist/hooks/ultrawork/index.d.ts.map +1 -0
- package/dist/hooks/ultrawork/index.js +208 -0
- package/dist/hooks/ultrawork/index.js.map +1 -0
- package/dist/hud/analytics-display.d.ts +28 -0
- package/dist/hud/analytics-display.d.ts.map +1 -0
- package/dist/hud/analytics-display.js +105 -0
- package/dist/hud/analytics-display.js.map +1 -0
- package/dist/hud/background-cleanup.d.ts +28 -0
- package/dist/hud/background-cleanup.d.ts.map +1 -0
- package/dist/hud/background-cleanup.js +92 -0
- package/dist/hud/background-cleanup.js.map +1 -0
- package/dist/hud/index.js +4 -2
- package/dist/hud/index.js.map +1 -1
- package/dist/hud/render.d.ts +1 -1
- package/dist/hud/render.d.ts.map +1 -1
- package/dist/hud/render.js +32 -1
- package/dist/hud/render.js.map +1 -1
- package/dist/hud/state.d.ts +5 -0
- package/dist/hud/state.d.ts.map +1 -1
- package/dist/hud/state.js +13 -0
- package/dist/hud/state.js.map +1 -1
- package/dist/hud/types.d.ts +11 -1
- package/dist/hud/types.d.ts.map +1 -1
- package/dist/hud/types.js +19 -0
- package/dist/hud/types.js.map +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/installer/index.d.ts +1 -1
- package/dist/installer/index.d.ts.map +1 -1
- package/dist/installer/index.js +1 -1
- package/dist/installer/index.js.map +1 -1
- package/dist/mcp/index.d.ts +1 -1
- package/dist/mcp/index.d.ts.map +1 -1
- package/dist/mcp/index.js +1 -1
- package/dist/mcp/index.js.map +1 -1
- package/dist/mcp/servers.d.ts +2 -18
- package/dist/mcp/servers.d.ts.map +1 -1
- package/dist/mcp/servers.js +4 -36
- package/dist/mcp/servers.js.map +1 -1
- package/dist/shared/types.d.ts +1 -3
- package/dist/shared/types.d.ts.map +1 -1
- package/docs/CLAUDE.md +170 -44
- package/docs/DELEGATION-ENFORCER.md +282 -0
- package/docs/FULL-README.md +130 -16
- package/docs/LOCAL_PLUGIN_INSTALL.md +1 -1
- package/docs/MIGRATION.md +513 -98
- package/docs/SYNC-SYSTEM.md +528 -0
- package/package.json +9 -3
- package/scripts/sync-metadata.ts +363 -0
- package/scripts/test-mutual-exclusion.ts +1 -1
- package/skills/analyze/SKILL.md +0 -1
- package/skills/autopilot/SKILL.md +0 -1
- package/skills/build-fix/SKILL.md +123 -0
- package/skills/cancel/SKILL.md +580 -0
- package/skills/cancel-autopilot/SKILL.md +0 -1
- package/skills/cancel-ecomode/SKILL.md +41 -0
- package/skills/cancel-ralph/SKILL.md +0 -1
- package/skills/cancel-ultraqa/SKILL.md +0 -1
- package/skills/cancel-ultrawork/SKILL.md +0 -1
- package/skills/code-review/SKILL.md +179 -0
- package/skills/deepinit/SKILL.md +0 -1
- package/skills/deepsearch/SKILL.md +0 -1
- package/skills/doctor/SKILL.md +0 -1
- package/skills/ecomode/SKILL.md +128 -0
- package/skills/frontend-ui-ux/SKILL.md +0 -1
- package/skills/git-master/SKILL.md +0 -1
- package/skills/help/SKILL.md +1 -2
- package/skills/hud/SKILL.md +0 -1
- package/skills/learner/SKILL.md +0 -1
- package/skills/mcp-setup/SKILL.md +8 -7
- package/skills/note/SKILL.md +0 -1
- package/skills/omc-default/SKILL.md +0 -1
- package/skills/omc-default-global/SKILL.md +0 -1
- package/skills/omc-setup/SKILL.md +176 -10
- package/skills/orchestrate/SKILL.md +0 -1
- package/skills/pipeline/SKILL.md +417 -0
- package/skills/plan/SKILL.md +138 -21
- package/skills/planner/SKILL.md +0 -1
- package/skills/ralph/SKILL.md +65 -1
- package/skills/ralph-init/SKILL.md +0 -1
- package/skills/ralplan/SKILL.md +0 -1
- package/skills/release/SKILL.md +0 -1
- package/skills/research/SKILL.md +0 -1
- package/skills/review/SKILL.md +0 -1
- package/skills/security-review/SKILL.md +254 -0
- package/skills/swarm/SKILL.md +349 -0
- package/skills/tdd/SKILL.md +0 -1
- package/skills/ultrapilot/SKILL.md +563 -0
- package/skills/ultraqa/SKILL.md +0 -1
- package/skills/ultrawork/SKILL.md +0 -1
- package/docs/MIGRATION-v3.md +0 -186
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: Run a comprehensive code review
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Review Skill
|
|
7
|
+
|
|
8
|
+
Conduct a thorough code review for quality, security, and maintainability with severity-rated feedback.
|
|
9
|
+
|
|
10
|
+
## When to Use
|
|
11
|
+
|
|
12
|
+
This skill activates when:
|
|
13
|
+
- User requests "review this code", "code review"
|
|
14
|
+
- Before merging a pull request
|
|
15
|
+
- After implementing a major feature
|
|
16
|
+
- User wants quality assessment
|
|
17
|
+
|
|
18
|
+
## What It Does
|
|
19
|
+
|
|
20
|
+
Delegates to the `code-reviewer` agent (Opus model) for deep analysis:
|
|
21
|
+
|
|
22
|
+
1. **Identify Changes**
|
|
23
|
+
- Run `git diff` to find changed files
|
|
24
|
+
- Determine scope of review (specific files or entire PR)
|
|
25
|
+
|
|
26
|
+
2. **Review Categories**
|
|
27
|
+
- **Security** - Hardcoded secrets, injection risks, XSS, CSRF
|
|
28
|
+
- **Code Quality** - Function size, complexity, nesting depth
|
|
29
|
+
- **Performance** - Algorithm efficiency, N+1 queries, caching
|
|
30
|
+
- **Best Practices** - Naming, documentation, error handling
|
|
31
|
+
- **Maintainability** - Duplication, coupling, testability
|
|
32
|
+
|
|
33
|
+
3. **Severity Rating**
|
|
34
|
+
- **CRITICAL** - Security vulnerability (must fix before merge)
|
|
35
|
+
- **HIGH** - Bug or major code smell (should fix before merge)
|
|
36
|
+
- **MEDIUM** - Minor issue (fix when possible)
|
|
37
|
+
- **LOW** - Style/suggestion (consider fixing)
|
|
38
|
+
|
|
39
|
+
4. **Specific Recommendations**
|
|
40
|
+
- File:line locations for each issue
|
|
41
|
+
- Concrete fix suggestions
|
|
42
|
+
- Code examples where applicable
|
|
43
|
+
|
|
44
|
+
## Agent Delegation
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
Task(
|
|
48
|
+
subagent_type="oh-my-claudecode:code-reviewer",
|
|
49
|
+
model="opus",
|
|
50
|
+
prompt="CODE REVIEW TASK
|
|
51
|
+
|
|
52
|
+
Review code changes for quality, security, and maintainability.
|
|
53
|
+
|
|
54
|
+
Scope: [git diff or specific files]
|
|
55
|
+
|
|
56
|
+
Review Checklist:
|
|
57
|
+
- Security vulnerabilities (OWASP Top 10)
|
|
58
|
+
- Code quality (complexity, duplication)
|
|
59
|
+
- Performance issues (N+1, inefficient algorithms)
|
|
60
|
+
- Best practices (naming, documentation, error handling)
|
|
61
|
+
- Maintainability (coupling, testability)
|
|
62
|
+
|
|
63
|
+
Output: Code review report with:
|
|
64
|
+
- Files reviewed count
|
|
65
|
+
- Issues by severity (CRITICAL, HIGH, MEDIUM, LOW)
|
|
66
|
+
- Specific file:line locations
|
|
67
|
+
- Fix recommendations
|
|
68
|
+
- Approval recommendation (APPROVE / REQUEST CHANGES / COMMENT)"
|
|
69
|
+
)
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Output Format
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
CODE REVIEW REPORT
|
|
76
|
+
==================
|
|
77
|
+
|
|
78
|
+
Files Reviewed: 8
|
|
79
|
+
Total Issues: 15
|
|
80
|
+
|
|
81
|
+
CRITICAL (0)
|
|
82
|
+
-----------
|
|
83
|
+
(none)
|
|
84
|
+
|
|
85
|
+
HIGH (3)
|
|
86
|
+
--------
|
|
87
|
+
1. src/api/auth.ts:42
|
|
88
|
+
Issue: User input not sanitized before SQL query
|
|
89
|
+
Risk: SQL injection vulnerability
|
|
90
|
+
Fix: Use parameterized queries or ORM
|
|
91
|
+
|
|
92
|
+
2. src/components/UserProfile.tsx:89
|
|
93
|
+
Issue: Password displayed in plain text in logs
|
|
94
|
+
Risk: Credential exposure
|
|
95
|
+
Fix: Remove password from log statements
|
|
96
|
+
|
|
97
|
+
3. src/utils/validation.ts:15
|
|
98
|
+
Issue: Email regex allows invalid formats
|
|
99
|
+
Risk: Accepts malformed emails
|
|
100
|
+
Fix: Use proven email validation library
|
|
101
|
+
|
|
102
|
+
MEDIUM (7)
|
|
103
|
+
----------
|
|
104
|
+
...
|
|
105
|
+
|
|
106
|
+
LOW (5)
|
|
107
|
+
-------
|
|
108
|
+
...
|
|
109
|
+
|
|
110
|
+
RECOMMENDATION: REQUEST CHANGES
|
|
111
|
+
|
|
112
|
+
Critical security issues must be addressed before merge.
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
## Review Checklist
|
|
116
|
+
|
|
117
|
+
The code-reviewer agent checks:
|
|
118
|
+
|
|
119
|
+
### Security
|
|
120
|
+
- [ ] No hardcoded secrets (API keys, passwords, tokens)
|
|
121
|
+
- [ ] All user inputs sanitized
|
|
122
|
+
- [ ] SQL/NoSQL injection prevention
|
|
123
|
+
- [ ] XSS prevention (escaped outputs)
|
|
124
|
+
- [ ] CSRF protection on state-changing operations
|
|
125
|
+
- [ ] Authentication/authorization properly enforced
|
|
126
|
+
|
|
127
|
+
### Code Quality
|
|
128
|
+
- [ ] Functions < 50 lines (guideline)
|
|
129
|
+
- [ ] Cyclomatic complexity < 10
|
|
130
|
+
- [ ] No deeply nested code (> 4 levels)
|
|
131
|
+
- [ ] No duplicate logic (DRY principle)
|
|
132
|
+
- [ ] Clear, descriptive naming
|
|
133
|
+
|
|
134
|
+
### Performance
|
|
135
|
+
- [ ] No N+1 query patterns
|
|
136
|
+
- [ ] Appropriate caching where applicable
|
|
137
|
+
- [ ] Efficient algorithms (avoid O(n²) when O(n) possible)
|
|
138
|
+
- [ ] No unnecessary re-renders (React/Vue)
|
|
139
|
+
|
|
140
|
+
### Best Practices
|
|
141
|
+
- [ ] Error handling present and appropriate
|
|
142
|
+
- [ ] Logging at appropriate levels
|
|
143
|
+
- [ ] Documentation for public APIs
|
|
144
|
+
- [ ] Tests for critical paths
|
|
145
|
+
- [ ] No commented-out code
|
|
146
|
+
|
|
147
|
+
## Approval Criteria
|
|
148
|
+
|
|
149
|
+
**APPROVE** - No CRITICAL or HIGH issues, minor improvements only
|
|
150
|
+
**REQUEST CHANGES** - CRITICAL or HIGH issues present
|
|
151
|
+
**COMMENT** - Only LOW/MEDIUM issues, no blocking concerns
|
|
152
|
+
|
|
153
|
+
## Use with Other Skills
|
|
154
|
+
|
|
155
|
+
**With Pipeline:**
|
|
156
|
+
```
|
|
157
|
+
/pipeline review "implement user authentication"
|
|
158
|
+
```
|
|
159
|
+
Includes code review as part of implementation workflow.
|
|
160
|
+
|
|
161
|
+
**With Ralph:**
|
|
162
|
+
```
|
|
163
|
+
/ralph code-review then fix all issues
|
|
164
|
+
```
|
|
165
|
+
Review code, get feedback, fix until approved.
|
|
166
|
+
|
|
167
|
+
**With Ultrawork:**
|
|
168
|
+
```
|
|
169
|
+
/ultrawork review all files in src/
|
|
170
|
+
```
|
|
171
|
+
Parallel code review across multiple files.
|
|
172
|
+
|
|
173
|
+
## Best Practices
|
|
174
|
+
|
|
175
|
+
- **Review early** - Catch issues before they compound
|
|
176
|
+
- **Review often** - Small, frequent reviews better than huge ones
|
|
177
|
+
- **Address CRITICAL/HIGH first** - Fix security and bugs immediately
|
|
178
|
+
- **Consider context** - Some "issues" may be intentional trade-offs
|
|
179
|
+
- **Learn from reviews** - Use feedback to improve coding practices
|
package/skills/deepinit/SKILL.md
CHANGED
package/skills/doctor/SKILL.md
CHANGED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: ecomode
|
|
3
|
+
description: Token-efficient parallel execution mode using Haiku and Sonnet agents
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Ecomode Skill
|
|
7
|
+
|
|
8
|
+
Activates token-efficient parallel execution for pro-plan users who prioritize cost efficiency.
|
|
9
|
+
|
|
10
|
+
## When Activated
|
|
11
|
+
|
|
12
|
+
This skill enhances Claude's capabilities by:
|
|
13
|
+
|
|
14
|
+
1. **Parallel Execution**: Running multiple agents simultaneously for independent tasks
|
|
15
|
+
2. **Token-Conscious Routing**: Preferring Haiku and Sonnet agents, avoiding Opus
|
|
16
|
+
3. **Background Operations**: Using `run_in_background: true` for long operations
|
|
17
|
+
4. **Persistence Enforcement**: Never stopping until all tasks are verified complete
|
|
18
|
+
5. **Cost Optimization**: Minimizing token usage while maintaining quality
|
|
19
|
+
|
|
20
|
+
## Ecomode Routing Rules (CRITICAL)
|
|
21
|
+
|
|
22
|
+
**ALWAYS prefer lower tiers. Only escalate when task genuinely requires it.**
|
|
23
|
+
|
|
24
|
+
| Decision | Rule |
|
|
25
|
+
|----------|------|
|
|
26
|
+
| DEFAULT | Use LOW tier (Haiku) for all tasks |
|
|
27
|
+
| UPGRADE | Use MEDIUM (Sonnet) only when task complexity warrants |
|
|
28
|
+
| AVOID | HIGH tier (Opus) - only use for planning/critique if explicitly essential |
|
|
29
|
+
|
|
30
|
+
## Smart Model Routing (PREFER LOW TIER)
|
|
31
|
+
|
|
32
|
+
**Choose tier based on task complexity: LOW (haiku) preferred → MEDIUM (sonnet) fallback → HIGH (opus) AVOID**
|
|
33
|
+
|
|
34
|
+
### Agent Routing Table
|
|
35
|
+
|
|
36
|
+
| Domain | PREFERRED (Haiku) | FALLBACK (Sonnet) | AVOID (Opus) |
|
|
37
|
+
|--------|-------------------|-------------------|--------------|
|
|
38
|
+
| **Analysis** | `architect-low` | `architect-medium` | ~~`architect`~~ |
|
|
39
|
+
| **Execution** | `executor-low` | `executor` | ~~`executor-high`~~ |
|
|
40
|
+
| **Search** | `explore` | `explore-medium` | ~~`explore-high`~~ |
|
|
41
|
+
| **Research** | `researcher-low` | `researcher` | - |
|
|
42
|
+
| **Frontend** | `designer-low` | `designer` | ~~`designer-high`~~ |
|
|
43
|
+
| **Docs** | `writer` | - | - |
|
|
44
|
+
| **Visual** | - | `vision` | - |
|
|
45
|
+
| **Planning** | - | - | `planner` (if essential) |
|
|
46
|
+
| **Critique** | - | - | `critic` (if essential) |
|
|
47
|
+
| **Testing** | - | `qa-tester` | ~~`qa-tester-high`~~ |
|
|
48
|
+
| **Security** | `security-reviewer-low` | - | ~~`security-reviewer`~~ |
|
|
49
|
+
| **Build** | `build-fixer-low` | `build-fixer` | - |
|
|
50
|
+
| **TDD** | `tdd-guide-low` | `tdd-guide` | - |
|
|
51
|
+
| **Code Review** | `code-reviewer-low` | - | ~~`code-reviewer`~~ |
|
|
52
|
+
| **Data Science** | `scientist-low` | `scientist` | ~~`scientist-high`~~ |
|
|
53
|
+
|
|
54
|
+
### Tier Selection Guide (Token-Conscious)
|
|
55
|
+
|
|
56
|
+
| Task Complexity | Tier | Examples |
|
|
57
|
+
|-----------------|------|----------|
|
|
58
|
+
| Simple lookups | LOW | "What does this function return?", "Find where X is defined" |
|
|
59
|
+
| Standard work | LOW first, MEDIUM if fails | "Add error handling", "Implement this feature" |
|
|
60
|
+
| Complex analysis | MEDIUM | "Debug this issue", "Refactor this module" |
|
|
61
|
+
| Planning only | HIGH (if essential) | "Design architecture for new system" |
|
|
62
|
+
|
|
63
|
+
### Routing Examples
|
|
64
|
+
|
|
65
|
+
**CRITICAL: Always pass `model` parameter explicitly - Claude Code does NOT auto-apply models from agent definitions!**
|
|
66
|
+
|
|
67
|
+
```
|
|
68
|
+
// Simple question → LOW tier (DEFAULT)
|
|
69
|
+
Task(subagent_type="oh-my-claudecode:architect-low", model="haiku", prompt="What does this function return?")
|
|
70
|
+
|
|
71
|
+
// Standard implementation → TRY LOW first
|
|
72
|
+
Task(subagent_type="oh-my-claudecode:executor-low", model="haiku", prompt="Add validation to login form")
|
|
73
|
+
|
|
74
|
+
// If LOW fails, escalate to MEDIUM
|
|
75
|
+
Task(subagent_type="oh-my-claudecode:executor", model="sonnet", prompt="Add error handling to login")
|
|
76
|
+
|
|
77
|
+
// File lookup → ALWAYS LOW
|
|
78
|
+
Task(subagent_type="oh-my-claudecode:explore", model="haiku", prompt="Find where UserService is defined")
|
|
79
|
+
|
|
80
|
+
// Only use MEDIUM for complex patterns
|
|
81
|
+
Task(subagent_type="oh-my-claudecode:explore-medium", model="sonnet", prompt="Find all authentication patterns in the codebase")
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## DELEGATION ENFORCEMENT (CRITICAL)
|
|
85
|
+
|
|
86
|
+
**YOU ARE AN ORCHESTRATOR, NOT AN IMPLEMENTER.**
|
|
87
|
+
|
|
88
|
+
| Action | YOU Do | DELEGATE |
|
|
89
|
+
|--------|--------|----------|
|
|
90
|
+
| Read files for context | ✓ | |
|
|
91
|
+
| Track progress (TODO) | ✓ | |
|
|
92
|
+
| Spawn parallel agents | ✓ | |
|
|
93
|
+
| **ANY code change** | ✗ NEVER | executor-low/executor |
|
|
94
|
+
| **UI work** | ✗ NEVER | designer-low/designer |
|
|
95
|
+
| **Docs** | ✗ NEVER | writer |
|
|
96
|
+
|
|
97
|
+
**Path Exception**: Only write to `.omc/`, `.claude/`, `CLAUDE.md`, `AGENTS.md`
|
|
98
|
+
|
|
99
|
+
## Background Execution Rules
|
|
100
|
+
|
|
101
|
+
**Run in Background** (set `run_in_background: true`):
|
|
102
|
+
- Package installation: npm install, pip install, cargo build
|
|
103
|
+
- Build processes: npm run build, make, tsc
|
|
104
|
+
- Test suites: npm test, pytest, cargo test
|
|
105
|
+
- Docker operations: docker build, docker pull
|
|
106
|
+
|
|
107
|
+
**Run Blocking** (foreground):
|
|
108
|
+
- Quick status checks: git status, ls, pwd
|
|
109
|
+
- File reads (NOT edits - delegate edits to executor-low)
|
|
110
|
+
- Simple commands
|
|
111
|
+
|
|
112
|
+
## Verification Checklist
|
|
113
|
+
|
|
114
|
+
Before stopping, verify:
|
|
115
|
+
- [ ] TODO LIST: Zero pending/in_progress tasks
|
|
116
|
+
- [ ] FUNCTIONALITY: All requested features work
|
|
117
|
+
- [ ] TESTS: All tests pass (if applicable)
|
|
118
|
+
- [ ] ERRORS: Zero unaddressed errors
|
|
119
|
+
|
|
120
|
+
**If ANY checkbox is unchecked, CONTINUE WORKING.**
|
|
121
|
+
|
|
122
|
+
## Token Savings Tips
|
|
123
|
+
|
|
124
|
+
1. **Batch similar tasks** to one agent instead of spawning many
|
|
125
|
+
2. **Use explore (haiku)** for file discovery, not architect
|
|
126
|
+
3. **Prefer executor-low** for simple changes - only upgrade if it fails
|
|
127
|
+
4. **Avoid opus agents** unless the task genuinely requires deep reasoning
|
|
128
|
+
5. **Use writer (haiku)** for all documentation tasks
|
package/skills/help/SKILL.md
CHANGED
package/skills/hud/SKILL.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: hud
|
|
3
3
|
description: Configure HUD display options (layout, presets, display elements)
|
|
4
|
-
user-invocable: true
|
|
5
4
|
role: config-writer # DOCUMENTATION ONLY - This skill writes to ~/.claude/ paths
|
|
6
5
|
scope: ~/.claude/** # DOCUMENTATION ONLY - Allowed write scope
|
|
7
6
|
---
|
package/skills/learner/SKILL.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: mcp-setup
|
|
3
3
|
description: Configure popular MCP servers for enhanced agent capabilities
|
|
4
|
-
user-invocable: true
|
|
5
4
|
---
|
|
6
5
|
|
|
7
6
|
# MCP Setup
|
|
@@ -66,7 +65,7 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
66
65
|
"mcpServers": {
|
|
67
66
|
"context7": {
|
|
68
67
|
"command": "npx",
|
|
69
|
-
"args": ["-y", "@context7
|
|
68
|
+
"args": ["-y", "@upstash/context7-mcp"]
|
|
70
69
|
}
|
|
71
70
|
}
|
|
72
71
|
}
|
|
@@ -78,7 +77,7 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
78
77
|
"mcpServers": {
|
|
79
78
|
"exa": {
|
|
80
79
|
"command": "npx",
|
|
81
|
-
"args": ["-y", "
|
|
80
|
+
"args": ["-y", "exa-mcp-server"],
|
|
82
81
|
"env": {
|
|
83
82
|
"EXA_API_KEY": "<user-provided-key>"
|
|
84
83
|
}
|
|
@@ -93,7 +92,7 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
93
92
|
"mcpServers": {
|
|
94
93
|
"filesystem": {
|
|
95
94
|
"command": "npx",
|
|
96
|
-
"args": ["-y", "@
|
|
95
|
+
"args": ["-y", "@modelcontextprotocol/server-filesystem", "<allowed-directories>"]
|
|
97
96
|
}
|
|
98
97
|
}
|
|
99
98
|
}
|
|
@@ -104,16 +103,18 @@ Read the current `~/.claude/settings.json` and add/update the `mcpServers` secti
|
|
|
104
103
|
{
|
|
105
104
|
"mcpServers": {
|
|
106
105
|
"github": {
|
|
107
|
-
"command": "
|
|
108
|
-
"args": ["-
|
|
106
|
+
"command": "docker",
|
|
107
|
+
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
|
|
109
108
|
"env": {
|
|
110
|
-
"
|
|
109
|
+
"GITHUB_PERSONAL_ACCESS_TOKEN": "<user-provided-token>"
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
}
|
|
114
113
|
}
|
|
115
114
|
```
|
|
116
115
|
|
|
116
|
+
> Note: GitHub MCP requires Docker. Alternatively, configure as a remote URL: https://api.githubcopilot.com/mcp/
|
|
117
|
+
|
|
117
118
|
## Step 4: Merge Configuration
|
|
118
119
|
|
|
119
120
|
When updating settings.json:
|
package/skills/note/SKILL.md
CHANGED