oh-my-customcode 0.63.0 → 0.64.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/dist/cli/index.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/.claude/agents/sec-codeql-expert.md +1 -0
- package/templates/.claude/rules/MUST-agent-design.md +44 -3
- package/templates/.claude/rules/MUST-permissions.md +6 -4
- package/templates/.claude/skills/alembic-best-practices/SKILL.md +1 -0
- package/templates/.claude/skills/analysis/SKILL.md +1 -0
- package/templates/.claude/skills/audit-agents/SKILL.md +1 -0
- package/templates/.claude/skills/claude-code-bible/SKILL.md +1 -0
- package/templates/.claude/skills/codex-exec/SKILL.md +1 -0
- package/templates/.claude/skills/create-agent/SKILL.md +1 -0
- package/templates/.claude/skills/dag-orchestration/SKILL.md +1 -0
- package/templates/.claude/skills/dev-refactor/SKILL.md +1 -0
- package/templates/.claude/skills/dev-review/SKILL.md +1 -0
- package/templates/.claude/skills/fix-refs/SKILL.md +1 -0
- package/templates/.claude/skills/help/SKILL.md +1 -0
- package/templates/.claude/skills/lists/SKILL.md +1 -0
- package/templates/.claude/skills/memory-recall/SKILL.md +1 -0
- package/templates/.claude/skills/memory-save/SKILL.md +1 -0
- package/templates/.claude/skills/model-escalation/SKILL.md +1 -0
- package/templates/.claude/skills/monitoring-setup/SKILL.md +1 -0
- package/templates/.claude/skills/npm-audit/SKILL.md +1 -0
- package/templates/.claude/skills/npm-publish/SKILL.md +1 -0
- package/templates/.claude/skills/npm-version/SKILL.md +28 -0
- package/templates/.claude/skills/optimize-analyze/SKILL.md +1 -0
- package/templates/.claude/skills/optimize-bundle/SKILL.md +1 -0
- package/templates/.claude/skills/optimize-report/SKILL.md +1 -0
- package/templates/.claude/skills/pipeline-guards/SKILL.md +1 -0
- package/templates/.claude/skills/pr-auto-improve/SKILL.md +1 -0
- package/templates/.claude/skills/sauron-watch/SKILL.md +1 -0
- package/templates/.claude/skills/skills-sh-search/SKILL.md +1 -0
- package/templates/.claude/skills/status/SKILL.md +1 -0
- package/templates/.claude/skills/stuck-recovery/SKILL.md +1 -0
- package/templates/.claude/skills/task-decomposition/SKILL.md +1 -0
- package/templates/.claude/skills/update-docs/SKILL.md +1 -0
- package/templates/.claude/skills/update-external/SKILL.md +1 -0
- package/templates/.claude/skills/vercel-deploy/SKILL.md +1 -0
- package/templates/.claude/skills/worker-reviewer-pipeline/SKILL.md +1 -0
- package/templates/.claude/skills/workflow/SKILL.md +25 -6
- package/templates/.claude/skills/workflow-resume/SKILL.md +3 -3
- package/templates/.claude/skills/writing-clearly-and-concisely/SKILL.md +1 -0
- package/templates/manifest.json +1 -1
package/dist/cli/index.js
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: sec-codeql-expert
|
|
3
3
|
description: Expert security code analyst using CodeQL for vulnerability detection, call graph analysis, and SARIF output. Use for security audits, CVE triage, code pattern analysis, and vulnerability validation.
|
|
4
4
|
model: sonnet
|
|
5
|
+
effort: high
|
|
5
6
|
domain: devops
|
|
6
7
|
memory: project
|
|
7
8
|
isolation: sandbox
|
|
@@ -11,15 +11,26 @@ Location: `.claude/agents/{name}.md` (single file, kebab-case)
|
|
|
11
11
|
```yaml
|
|
12
12
|
name: agent-name # Unique identifier (kebab-case)
|
|
13
13
|
description: Brief desc # One-line summary
|
|
14
|
-
model: sonnet # sonnet | opus | haiku (or full ID: claude-sonnet-4-6)
|
|
14
|
+
model: sonnet # sonnet | opus | haiku | opusplan (or full ID: claude-sonnet-4-6, claude-opus-4-6[1m])
|
|
15
15
|
tools: [Read, Write, ...] # Allowed tools
|
|
16
16
|
```
|
|
17
17
|
|
|
18
|
+
### Model Aliases
|
|
19
|
+
|
|
20
|
+
| Alias | Full ID | Use Case |
|
|
21
|
+
|-------|---------|----------|
|
|
22
|
+
| `haiku` | claude-haiku-4-5 | Fast, cheap tasks (search, simple edits) |
|
|
23
|
+
| `sonnet` | claude-sonnet-4-6 | General tasks, code generation (default) |
|
|
24
|
+
| `opus` | claude-opus-4-6 | Complex reasoning, architecture |
|
|
25
|
+
| `opusplan` | claude-opus-4-6 + plan mode | Architecture planning with approval gates |
|
|
26
|
+
|
|
27
|
+
Extended context suffix: `[1m]` (e.g., `claude-opus-4-6[1m]`) — enables 1M token context window.
|
|
28
|
+
|
|
18
29
|
### Optional Frontmatter
|
|
19
30
|
|
|
20
31
|
```yaml
|
|
21
32
|
memory: project # user | project | local
|
|
22
|
-
effort: high # low | medium | high
|
|
33
|
+
effort: high # low | medium | high | default | max
|
|
23
34
|
skills: [skill-1, ...] # Skill name references
|
|
24
35
|
source: # For external agents
|
|
25
36
|
type: external
|
|
@@ -144,6 +155,26 @@ Skills persist output to `.claude/outputs/sessions/{YYYY-MM-DD}/{skill-name}-{HH
|
|
|
144
155
|
|
|
145
156
|
Agent body: purpose, capabilities overview, workflow. NOT detailed instructions or reference docs.
|
|
146
157
|
|
|
158
|
+
## Fast Mode
|
|
159
|
+
|
|
160
|
+
Fast Mode uses the same model with faster output. Activated via `/fast` toggle or `fastMode` setting. Does NOT switch to a different model.
|
|
161
|
+
|
|
162
|
+
| Aspect | Normal | Fast Mode |
|
|
163
|
+
|--------|--------|-----------|
|
|
164
|
+
| Model | As configured | Same model |
|
|
165
|
+
| Output speed | Standard | ~2.5x faster |
|
|
166
|
+
| Reasoning depth | Full | Reduced |
|
|
167
|
+
|
|
168
|
+
### Activation
|
|
169
|
+
|
|
170
|
+
- `/fast` — toggle in current session
|
|
171
|
+
- `fastMode: true` in settings.json
|
|
172
|
+
- `CLAUDE_CODE_DISABLE_FAST_MODE=1` — env var to disable
|
|
173
|
+
|
|
174
|
+
### Interaction with Effort
|
|
175
|
+
|
|
176
|
+
When Fast Mode is active, it reduces effective reasoning depth but does NOT override the `effort` frontmatter field. The effort field controls task complexity allocation; Fast Mode controls output generation speed.
|
|
177
|
+
|
|
147
178
|
## Skill Frontmatter
|
|
148
179
|
|
|
149
180
|
Location: `.claude/skills/{name}/SKILL.md`
|
|
@@ -163,7 +194,17 @@ context: fork # Forked context for isolated execution
|
|
|
163
194
|
version: 1.0.0 # Semantic version
|
|
164
195
|
user-invocable: false # Whether user can invoke directly
|
|
165
196
|
disable-model-invocation: true # Prevent model from auto-invoking
|
|
166
|
-
effort: medium # low | medium | high — overrides model effort level when invoked
|
|
197
|
+
effort: medium # low | medium | high | default | max — overrides model effort level when invoked
|
|
198
|
+
argument-hint: "<arg> [--flag]" # CLI-style usage hint displayed in /help and command listings
|
|
199
|
+
model: sonnet # Override spawned model when skill is invoked via Agent
|
|
200
|
+
agent: mgr-creator # Preferred agent to execute this skill
|
|
201
|
+
hooks: # Skill-specific hooks (same syntax as agent hooks)
|
|
202
|
+
PreToolUse:
|
|
203
|
+
- matcher: "Bash"
|
|
204
|
+
command: "echo hook"
|
|
205
|
+
paths: ["src/**/*.ts"] # Conditional loading — skill auto-injected when matching files are open
|
|
206
|
+
shell: "bash" # Shell for embedded script execution
|
|
207
|
+
allowed-tools: [Read, Write, Bash] # Restrict tools available during skill execution
|
|
167
208
|
```
|
|
168
209
|
|
|
169
210
|
When both an agent and its invoked skill specify `effort`, the skill's value takes precedence (more specific invocation-time setting).
|
|
@@ -6,10 +6,12 @@
|
|
|
6
6
|
|
|
7
7
|
| Tier | Tools | Policy |
|
|
8
8
|
|------|-------|--------|
|
|
9
|
-
| 1: Always | Read, Glob, Grep | Free use |
|
|
10
|
-
| 2: Default | Write, Edit | State changes explicitly, notify before modifying important files |
|
|
11
|
-
| 3:
|
|
12
|
-
| 4:
|
|
9
|
+
| 1: Always | Read, Glob, Grep, ToolSearch | Free use, read-only |
|
|
10
|
+
| 2: Default | Write, Edit, NotebookEdit | State changes explicitly, notify before modifying important files |
|
|
11
|
+
| 3: Context | Agent, Skill, EnterPlanMode, ExitPlanMode, EnterWorktree, ExitWorktree, LSP, TodoWrite, AskUserQuestion | Context-dependent, no user approval needed |
|
|
12
|
+
| 4: Approval | Bash, WebFetch, WebSearch | Request user approval on first use |
|
|
13
|
+
| 5: Conditional | TeamCreate, TeamDelete, SendMessage, TaskCreate, TaskGet, TaskList, TaskUpdate, TaskStop, TaskOutput | Available when Agent Teams enabled |
|
|
14
|
+
| 6: MCP | ListMcpResourcesTool, ReadMcpResourceTool, CronCreate, CronDelete, CronList, RemoteTrigger | MCP/extension tools, available when servers configured |
|
|
13
15
|
|
|
14
16
|
## File Access
|
|
15
17
|
|
|
@@ -4,6 +4,7 @@ description: Manage semantic versions for npm packages
|
|
|
4
4
|
scope: package
|
|
5
5
|
argument-hint: "<major|minor|patch> [--no-tag] [--no-commit]"
|
|
6
6
|
disable-model-invocation: true
|
|
7
|
+
user-invocable: true
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# NPM Version Management Skill
|
|
@@ -74,3 +75,30 @@ npm-version major
|
|
|
74
75
|
# Update version without creating git tag
|
|
75
76
|
npm-version patch --no-tag
|
|
76
77
|
```
|
|
78
|
+
|
|
79
|
+
## Release Branch Integration
|
|
80
|
+
|
|
81
|
+
When working with `auto-tag.yml` (automatic tag creation on release PR merge):
|
|
82
|
+
|
|
83
|
+
1. `.npmrc` has `git-tag-version=false` — prevents local tag creation during `npm version`
|
|
84
|
+
2. `auto-tag.yml` creates the tag on the **merge commit** when a `release/*` PR is merged to `develop`
|
|
85
|
+
3. Do NOT manually push tags — let the CI workflow handle tag creation
|
|
86
|
+
|
|
87
|
+
### Release Workflow
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
1. Create release branch: release/vX.Y.Z
|
|
91
|
+
2. Run version bump (npm version / manual edit) ← no local tag created
|
|
92
|
+
3. Build dist, commit, push
|
|
93
|
+
4. Create PR → merge to develop
|
|
94
|
+
5. auto-tag.yml creates vX.Y.Z tag on merge commit ← correct tag target
|
|
95
|
+
6. release.yml triggers on tag → GitHub Release + npm publish
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Troubleshooting
|
|
99
|
+
|
|
100
|
+
If a tag already exists on remote (from a previous failed attempt):
|
|
101
|
+
```bash
|
|
102
|
+
git push origin :refs/tags/vX.Y.Z # delete remote tag
|
|
103
|
+
# Then re-merge or let auto-tag.yml handle it
|
|
104
|
+
```
|
|
@@ -19,13 +19,32 @@ argument-hint: "<workflow-name> | (no args to list available)"
|
|
|
19
19
|
|
|
20
20
|
## Behavior
|
|
21
21
|
|
|
22
|
-
### List Mode (no arguments)
|
|
22
|
+
### List Mode (no arguments or --list flag)
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
```
|
|
24
|
+
Execute these steps to display available workflows:
|
|
25
|
+
|
|
26
|
+
1. **Scan built-in workflows**: Use `Glob("workflows/*.yaml")` (NOT templates/) to find all workflow definitions
|
|
27
|
+
2. **Extract metadata**: For each YAML file found, use `Bash` to extract name and description:
|
|
28
|
+
```bash
|
|
29
|
+
for f in workflows/*.yaml; do
|
|
30
|
+
name=$(grep -m1 '^name:' "$f" | sed 's/^name: *//' | tr -d '"')
|
|
31
|
+
desc=$(grep -m1 '^description:' "$f" | sed 's/^description: *//' | tr -d '"')
|
|
32
|
+
echo " $name — $desc"
|
|
33
|
+
done
|
|
34
|
+
```
|
|
35
|
+
3. **Scan template workflows**: Use `Glob("templates/workflows/*.yaml")` for template examples
|
|
36
|
+
4. **Extract template metadata**: Same extraction as step 2 for `templates/workflows/*.yaml`
|
|
37
|
+
5. **Display formatted output**:
|
|
38
|
+
```
|
|
39
|
+
Available workflows:
|
|
40
|
+
{name} — {description}
|
|
41
|
+
{name} — {description}
|
|
42
|
+
|
|
43
|
+
Template workflows (in templates/workflows/):
|
|
44
|
+
{name} — {description}
|
|
45
|
+
```
|
|
46
|
+
6. If no workflows found, display: "No workflows found in workflows/ directory."
|
|
47
|
+
7. If YAML parsing fails for a file, skip it and show: ` {filename} — (parse error, skipped)`
|
|
29
48
|
|
|
30
49
|
### Run Mode (with workflow name)
|
|
31
50
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: workflow
|
|
2
|
+
name: omcustom:workflow:resume
|
|
3
3
|
description: Resume a halted workflow from its last failure point
|
|
4
4
|
scope: harness
|
|
5
5
|
user-invocable: true
|
|
6
6
|
effort: medium
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
# /workflow:resume — Resume Halted Workflow
|
|
9
|
+
# /omcustom:workflow:resume — Resume Halted Workflow
|
|
10
10
|
|
|
11
11
|
## Usage
|
|
12
12
|
|
|
13
13
|
```
|
|
14
|
-
/workflow:resume # Find and resume the most recent halted workflow
|
|
14
|
+
/omcustom:workflow:resume # Find and resume the most recent halted workflow
|
|
15
15
|
```
|
|
16
16
|
|
|
17
17
|
## Behavior
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
name: writing-clearly-and-concisely
|
|
3
3
|
description: Apply Strunk's timeless writing rules to ANY prose humans will read—documentation, commit messages, error messages, explanations, reports, or UI text. Makes your writing clearer, stronger, and more professional.
|
|
4
4
|
scope: core
|
|
5
|
+
user-invocable: false
|
|
5
6
|
---
|
|
6
7
|
|
|
7
8
|
# Writing Clearly and Concisely
|
package/templates/manifest.json
CHANGED