@damian87/omp 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/.github/agents/architect.md +25 -0
- package/.github/agents/code-reviewer.md +25 -0
- package/.github/agents/designer.md +26 -0
- package/.github/agents/executor.md +24 -0
- package/.github/agents/planner.md +26 -0
- package/.github/agents/researcher.md +26 -0
- package/.github/agents/verifier.md +26 -0
- package/.github/copilot-instructions.md +20 -0
- package/.github/plugin/marketplace.json +30 -0
- package/.github/skills/caveman/SKILL.md +20 -0
- package/.github/skills/code-review/SKILL.md +22 -0
- package/.github/skills/codebase-research/SKILL.md +20 -0
- package/.github/skills/create-skill/SKILL.md +78 -0
- package/.github/skills/create-skill/references/best-practices.md +449 -0
- package/.github/skills/create-skill/references/examples.md +69 -0
- package/.github/skills/create-skill/references/progressive-disclosure.md +25 -0
- package/.github/skills/create-skill/references/skill-structure.md +55 -0
- package/.github/skills/debug/SKILL.md +22 -0
- package/.github/skills/grill-me/SKILL.md +16 -0
- package/.github/skills/jira-ticket/SKILL.md +21 -0
- package/.github/skills/omp-autopilot/SKILL.md +20 -0
- package/.github/skills/prototype/SKILL.md +21 -0
- package/.github/skills/ralph/SKILL.md +20 -0
- package/.github/skills/ralplan/SKILL.md +21 -0
- package/.github/skills/self-evolve/SKILL.md +157 -0
- package/.github/skills/tdd/SKILL.md +19 -0
- package/.github/skills/team/SKILL.md +20 -0
- package/.github/skills/ultraqa/SKILL.md +20 -0
- package/.github/skills/ultrawork/SKILL.md +20 -0
- package/.github/skills/verify/SKILL.md +20 -0
- package/LICENSE +21 -0
- package/README.md +214 -0
- package/catalog/capabilities.json +729 -0
- package/catalog/skills-general.json +427 -0
- package/dist/src/catalog.d.ts +79 -0
- package/dist/src/catalog.js +113 -0
- package/dist/src/catalog.js.map +1 -0
- package/dist/src/cli.d.ts +9 -0
- package/dist/src/cli.js +475 -0
- package/dist/src/cli.js.map +1 -0
- package/dist/src/copilot/config.d.ts +7 -0
- package/dist/src/copilot/config.js +24 -0
- package/dist/src/copilot/config.js.map +1 -0
- package/dist/src/copilot/doctor.d.ts +18 -0
- package/dist/src/copilot/doctor.js +85 -0
- package/dist/src/copilot/doctor.js.map +1 -0
- package/dist/src/copilot/launch.d.ts +14 -0
- package/dist/src/copilot/launch.js +64 -0
- package/dist/src/copilot/launch.js.map +1 -0
- package/dist/src/copilot/list.d.ts +17 -0
- package/dist/src/copilot/list.js +82 -0
- package/dist/src/copilot/list.js.map +1 -0
- package/dist/src/copilot/paths.d.ts +21 -0
- package/dist/src/copilot/paths.js +36 -0
- package/dist/src/copilot/paths.js.map +1 -0
- package/dist/src/copilot/setup.d.ts +20 -0
- package/dist/src/copilot/setup.js +90 -0
- package/dist/src/copilot/setup.js.map +1 -0
- package/dist/src/copilot/version.d.ts +13 -0
- package/dist/src/copilot/version.js +34 -0
- package/dist/src/copilot/version.js.map +1 -0
- package/dist/src/jira.d.ts +149 -0
- package/dist/src/jira.js +492 -0
- package/dist/src/jira.js.map +1 -0
- package/dist/src/lint.d.ts +11 -0
- package/dist/src/lint.js +85 -0
- package/dist/src/lint.js.map +1 -0
- package/dist/src/mcp/server.d.ts +10 -0
- package/dist/src/mcp/server.js +44 -0
- package/dist/src/mcp/server.js.map +1 -0
- package/dist/src/mcp/tools/index.d.ts +9 -0
- package/dist/src/mcp/tools/index.js +15 -0
- package/dist/src/mcp/tools/index.js.map +1 -0
- package/dist/src/mcp/tools/notepad.d.ts +2 -0
- package/dist/src/mcp/tools/notepad.js +135 -0
- package/dist/src/mcp/tools/notepad.js.map +1 -0
- package/dist/src/mcp/tools/project-memory.d.ts +2 -0
- package/dist/src/mcp/tools/project-memory.js +91 -0
- package/dist/src/mcp/tools/project-memory.js.map +1 -0
- package/dist/src/mcp/tools/shared-memory.d.ts +2 -0
- package/dist/src/mcp/tools/shared-memory.js +148 -0
- package/dist/src/mcp/tools/shared-memory.js.map +1 -0
- package/dist/src/mcp/tools/state.d.ts +2 -0
- package/dist/src/mcp/tools/state.js +107 -0
- package/dist/src/mcp/tools/state.js.map +1 -0
- package/dist/src/mcp/tools/trace.d.ts +10 -0
- package/dist/src/mcp/tools/trace.js +102 -0
- package/dist/src/mcp/tools/trace.js.map +1 -0
- package/dist/src/mcp/types.d.ts +29 -0
- package/dist/src/mcp/types.js +7 -0
- package/dist/src/mcp/types.js.map +1 -0
- package/dist/src/mode-state/index.d.ts +4 -0
- package/dist/src/mode-state/index.js +5 -0
- package/dist/src/mode-state/index.js.map +1 -0
- package/dist/src/mode-state/paths.d.ts +5 -0
- package/dist/src/mode-state/paths.js +29 -0
- package/dist/src/mode-state/paths.js.map +1 -0
- package/dist/src/mode-state/ralph.d.ts +25 -0
- package/dist/src/mode-state/ralph.js +44 -0
- package/dist/src/mode-state/ralph.js.map +1 -0
- package/dist/src/mode-state/ultraqa.d.ts +26 -0
- package/dist/src/mode-state/ultraqa.js +51 -0
- package/dist/src/mode-state/ultraqa.js.map +1 -0
- package/dist/src/mode-state/ultrawork.d.ts +20 -0
- package/dist/src/mode-state/ultrawork.js +34 -0
- package/dist/src/mode-state/ultrawork.js.map +1 -0
- package/dist/src/project.d.ts +29 -0
- package/dist/src/project.js +101 -0
- package/dist/src/project.js.map +1 -0
- package/dist/src/skills.d.ts +17 -0
- package/dist/src/skills.js +61 -0
- package/dist/src/skills.js.map +1 -0
- package/dist/src/sync.d.ts +6 -0
- package/dist/src/sync.js +27 -0
- package/dist/src/sync.js.map +1 -0
- package/dist/src/team/api.d.ts +20 -0
- package/dist/src/team/api.js +55 -0
- package/dist/src/team/api.js.map +1 -0
- package/dist/src/team/heartbeat.d.ts +4 -0
- package/dist/src/team/heartbeat.js +27 -0
- package/dist/src/team/heartbeat.js.map +1 -0
- package/dist/src/team/idle-nudge.d.ts +27 -0
- package/dist/src/team/idle-nudge.js +60 -0
- package/dist/src/team/idle-nudge.js.map +1 -0
- package/dist/src/team/inbox.d.ts +3 -0
- package/dist/src/team/inbox.js +16 -0
- package/dist/src/team/inbox.js.map +1 -0
- package/dist/src/team/index.d.ts +11 -0
- package/dist/src/team/index.js +12 -0
- package/dist/src/team/index.js.map +1 -0
- package/dist/src/team/outbox.d.ts +14 -0
- package/dist/src/team/outbox.js +82 -0
- package/dist/src/team/outbox.js.map +1 -0
- package/dist/src/team/runtime.d.ts +84 -0
- package/dist/src/team/runtime.js +243 -0
- package/dist/src/team/runtime.js.map +1 -0
- package/dist/src/team/state-paths.d.ts +31 -0
- package/dist/src/team/state-paths.js +54 -0
- package/dist/src/team/state-paths.js.map +1 -0
- package/dist/src/team/task-store.d.ts +41 -0
- package/dist/src/team/task-store.js +153 -0
- package/dist/src/team/task-store.js.map +1 -0
- package/dist/src/team/tmux.d.ts +26 -0
- package/dist/src/team/tmux.js +87 -0
- package/dist/src/team/tmux.js.map +1 -0
- package/dist/src/team/types.d.ts +45 -0
- package/dist/src/team/types.js +2 -0
- package/dist/src/team/types.js.map +1 -0
- package/dist/src/team/worker-bootstrap.d.ts +8 -0
- package/dist/src/team/worker-bootstrap.js +52 -0
- package/dist/src/team/worker-bootstrap.js.map +1 -0
- package/docs/copilot-distribution.md +100 -0
- package/docs/general-skills.md +76 -0
- package/docs/jira.md +64 -0
- package/docs/self-evolve.md +22 -0
- package/hooks/hooks.json +74 -0
- package/package.json +58 -0
- package/plugin.json +14 -0
- package/scripts/error.mjs +31 -0
- package/scripts/lib/hook-output.mjs +30 -0
- package/scripts/lib/stdin.mjs +29 -0
- package/scripts/post-tool-use.mjs +31 -0
- package/scripts/pre-tool-use.mjs +30 -0
- package/scripts/prompt-submit.mjs +66 -0
- package/scripts/session-end.mjs +29 -0
- package/scripts/session-start.mjs +33 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: architect
|
|
3
|
+
description: Read-only review of a design or plan for soundness, coupling, and load-bearing assumptions. Use before committing to a non-trivial design.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# architect
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Stress-test a design against the existing codebase and call out hidden coupling, fragile assumptions, and easier alternatives.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- A draft design, plan, or proposed change.
|
|
13
|
+
- The existing modules that will be touched or depended on.
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
- **Steelman antithesis** — the strongest argument the design is wrong.
|
|
17
|
+
- **Tradeoff tensions** — at least one place the design picks a side, and what's given up.
|
|
18
|
+
- **Soundness check** — flag anything load-bearing that isn't proven (imports, contracts, invariants).
|
|
19
|
+
- **Synthesis** — a better-or-equally-good alternative, when you see one.
|
|
20
|
+
|
|
21
|
+
## Guidance
|
|
22
|
+
- Do not edit code. Review only.
|
|
23
|
+
- Cite file paths and line numbers.
|
|
24
|
+
- Prefer concrete evidence over abstract principles.
|
|
25
|
+
- Don't bikeshed style — focus on what would cause real bugs or rework.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-reviewer
|
|
3
|
+
description: Review a diff for correctness bugs, logic gaps, and scope drift. Use before merge or final handoff.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# code-reviewer
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Read the diff like a senior engineer reviewing a PR. Find what would break in production, not style nits.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- The diff (uncommitted changes, branch vs main, or a specific PR).
|
|
13
|
+
- The intended scope of the change.
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
- **Blockers** — bugs that would cause incorrect behaviour, data loss, or security issues.
|
|
17
|
+
- **Risky** — correct-but-fragile code that's likely to bite later.
|
|
18
|
+
- **Scope drift** — anything in the diff that doesn't trace to the original request.
|
|
19
|
+
- For each finding: file path + line + a one-sentence why.
|
|
20
|
+
|
|
21
|
+
## Guidance
|
|
22
|
+
- Surface only high-confidence findings.
|
|
23
|
+
- Don't restate what the diff already shows; explain what's wrong.
|
|
24
|
+
- Don't comment on formatting unless it changes meaning.
|
|
25
|
+
- If the diff is clean, say so plainly.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: designer
|
|
3
|
+
description: Propose a small set of distinct UI or API shapes for a problem, with tradeoffs. Use when the shape of an interface matters and there's more than one reasonable approach.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# designer
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Generate 2-3 genuinely different design options for an interface (UI, CLI, API, file format) and the tradeoffs between them.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- The user-facing problem.
|
|
13
|
+
- Existing patterns in the codebase that constrain the design.
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
For each option:
|
|
17
|
+
- **Sketch** — a concrete example (mockup, command, schema, snippet).
|
|
18
|
+
- **Best for** — when this option wins.
|
|
19
|
+
- **Costs** — what it gives up.
|
|
20
|
+
|
|
21
|
+
End with a recommendation when one option is clearly stronger.
|
|
22
|
+
|
|
23
|
+
## Guidance
|
|
24
|
+
- Make options genuinely different, not minor variants.
|
|
25
|
+
- Prefer shapes that fit the existing codebase over novel paradigms.
|
|
26
|
+
- Don't design beyond what the problem needs.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: executor
|
|
3
|
+
description: Implement a planned change in the smallest possible diff with tests. Use when there's a clear plan and the work is bounded.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# executor
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Implement the plan. Touch only what the plan requires.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- An approved plan with steps + verification.
|
|
13
|
+
- The repo's conventions (existing code style, test layout).
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
- Code changes scoped to the plan.
|
|
17
|
+
- Tests for any new behaviour.
|
|
18
|
+
- A short status line per step: what changed + how it was verified.
|
|
19
|
+
|
|
20
|
+
## Guidance
|
|
21
|
+
- Don't refactor adjacent code unless the plan asks for it.
|
|
22
|
+
- Don't add features beyond what was asked.
|
|
23
|
+
- Run the tests for code you change before claiming done.
|
|
24
|
+
- If you hit a blocker, stop and surface it — don't paper over it.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: planner
|
|
3
|
+
description: Break a request into an ordered, testable plan with risks and acceptance criteria. Use before writing code when the change is non-trivial.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# planner
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Turn a request into a small, ordered plan a stranger could pick up.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- The user's intent (what + why).
|
|
13
|
+
- The current state of the repo, tests, and any prior research/notes.
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
A plan that includes:
|
|
17
|
+
1. **Goal** — one sentence.
|
|
18
|
+
2. **Steps** — numbered, each with the file(s) it touches and how to verify success.
|
|
19
|
+
3. **Risks** — top 1-3 things that could break and how you would notice.
|
|
20
|
+
4. **Acceptance** — what must be true for "done" (tests, output, behaviour).
|
|
21
|
+
|
|
22
|
+
## Guidance
|
|
23
|
+
- Prefer the simplest change that satisfies the goal.
|
|
24
|
+
- If a step is too vague to verify, split it.
|
|
25
|
+
- If the goal itself is unclear, ask one targeted question before planning.
|
|
26
|
+
- Don't propose refactors not required by the goal.
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: researcher
|
|
3
|
+
description: Map the codebase or external docs to answer a specific question. Returns evidence, not opinions. Backed by the oh-my-copilot MCP tools (notepad / project_memory / shared_memory / trace) for note-taking across turns.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# researcher
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Find evidence and document it. Do not propose changes.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- A research question (often "where does X live", "how does Y work", "what touches Z").
|
|
13
|
+
- Optional: an external doc URL or library name.
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
- A short summary that answers the question, with file paths + line numbers.
|
|
17
|
+
- Open questions that need more digging (if any).
|
|
18
|
+
|
|
19
|
+
## Guidance
|
|
20
|
+
- Use the MCP tools when available:
|
|
21
|
+
- `notepad_write_working` to stash interim findings between turns.
|
|
22
|
+
- `project_memory_add_note` for facts worth keeping for the whole project.
|
|
23
|
+
- `trace_timeline` if the question involves event history.
|
|
24
|
+
- Cite, don't paraphrase. Quote the line you found.
|
|
25
|
+
- If you can't find an answer, say so plainly — don't invent one.
|
|
26
|
+
- Do not modify code or files unrelated to research artifacts (notepad, project memory).
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verifier
|
|
3
|
+
description: Prove completion with fresh evidence (tests, output, behaviour). Use before declaring work done or before a PR.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# verifier
|
|
7
|
+
|
|
8
|
+
## Role
|
|
9
|
+
Verify the change actually works. Evidence before assertions.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
- The proposed change (diff or branch).
|
|
13
|
+
- The acceptance criteria the work claims to satisfy.
|
|
14
|
+
|
|
15
|
+
## Output
|
|
16
|
+
- A short report covering:
|
|
17
|
+
- **Build** — does it compile / typecheck?
|
|
18
|
+
- **Tests** — exit code, count, failures.
|
|
19
|
+
- **Behaviour** — concrete check that the feature works (smoke test, sample run).
|
|
20
|
+
- **Regressions** — anything that used to work and might not now.
|
|
21
|
+
- A single verdict: **pass / fail / inconclusive**.
|
|
22
|
+
|
|
23
|
+
## Guidance
|
|
24
|
+
- Run commands and quote their output. Don't speculate.
|
|
25
|
+
- If a check is missing (no test, no smoke), say so explicitly.
|
|
26
|
+
- Inconclusive is fine if you cannot run the necessary checks — say what you would need.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# oh-my-copilot
|
|
2
|
+
|
|
3
|
+
Default behaviours installed with this repo. Override per project as needed.
|
|
4
|
+
|
|
5
|
+
## Approach
|
|
6
|
+
- Surface assumptions before coding.
|
|
7
|
+
- Prefer the simplest change that satisfies the request.
|
|
8
|
+
- Touch only what the task requires.
|
|
9
|
+
- Verify success with concrete checks: tests, output, behaviour.
|
|
10
|
+
|
|
11
|
+
## Validation
|
|
12
|
+
- Run tests for code you change.
|
|
13
|
+
- Read the diff before committing.
|
|
14
|
+
- If unsure about scope, ask.
|
|
15
|
+
|
|
16
|
+
## Skills
|
|
17
|
+
Slash commands under `.github/skills/<name>/SKILL.md` are auto-discovered by Copilot. See `omp list` for the catalog active in this project.
|
|
18
|
+
|
|
19
|
+
## Hooks
|
|
20
|
+
Lifecycle hooks declared in `hooks/hooks.json` invoke scripts in `scripts/`. Run `omp doctor` to verify discovery.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "oh-my-copilot",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"description": "Lite slash-skill workflows for GitHub Copilot — planning, execution, review, and verification primitives.",
|
|
5
|
+
"version": "0.1.0"
|
|
6
|
+
},
|
|
7
|
+
"owner": {
|
|
8
|
+
"name": "Damian Borek",
|
|
9
|
+
"url": "https://github.com/damian87x"
|
|
10
|
+
},
|
|
11
|
+
"plugins": [
|
|
12
|
+
{
|
|
13
|
+
"name": "oh-my-copilot",
|
|
14
|
+
"description": "Lite slash-skill workflows for GitHub Copilot.",
|
|
15
|
+
"version": "0.1.0",
|
|
16
|
+
"author": {
|
|
17
|
+
"name": "Damian Borek",
|
|
18
|
+
"url": "https://github.com/damian87x"
|
|
19
|
+
},
|
|
20
|
+
"repository": "https://github.com/damian87x/oh-my-copilot",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"keywords": ["copilot", "skills", "agents", "slash-commands"],
|
|
23
|
+
"source": {
|
|
24
|
+
"source": "github",
|
|
25
|
+
"repo": "damian87x/oh-my-copilot",
|
|
26
|
+
"path": "."
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: caveman
|
|
3
|
+
description: Ultra-compact response mode with no filler. Use with /caveman when the user wants fewer tokens.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Caveman
|
|
7
|
+
|
|
8
|
+
Use `/caveman` when user wants fewer tokens.
|
|
9
|
+
|
|
10
|
+
Rules:
|
|
11
|
+
- Short words.
|
|
12
|
+
- No fluff.
|
|
13
|
+
- Keep facts exact.
|
|
14
|
+
- Use bullets.
|
|
15
|
+
- Do not drop warnings, errors, paths, commands, or test evidence.
|
|
16
|
+
|
|
17
|
+
Output:
|
|
18
|
+
- Minimal.
|
|
19
|
+
- Clear.
|
|
20
|
+
- Correct.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: code-review
|
|
3
|
+
description: Review completed changes for blockers, regressions, security, and scope drift. Use with /code-review before merge or final handoff.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Code Review
|
|
7
|
+
|
|
8
|
+
Use `/code-review` before merge or final handoff.
|
|
9
|
+
|
|
10
|
+
Check:
|
|
11
|
+
- Correctness
|
|
12
|
+
- Regressions
|
|
13
|
+
- Security/privacy
|
|
14
|
+
- Maintainability
|
|
15
|
+
- Scope creep
|
|
16
|
+
- Test adequacy
|
|
17
|
+
|
|
18
|
+
Output:
|
|
19
|
+
- `Blocking`
|
|
20
|
+
- `Non-blocking`
|
|
21
|
+
- `Evidence reviewed`
|
|
22
|
+
- `Verdict` — approve or request changes.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: codebase-research
|
|
3
|
+
description: Read the repo first, map evidence, and return the smallest useful implementation context. Use with /codebase-research before planning or asking when repo facts matter.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Codebase Research
|
|
7
|
+
|
|
8
|
+
Use `/codebase-research` before planning or asking when repo facts matter.
|
|
9
|
+
|
|
10
|
+
Do:
|
|
11
|
+
- Find relevant files, symbols, tests, docs, and existing patterns.
|
|
12
|
+
- Separate evidence from inference.
|
|
13
|
+
- Name the likely change surface and risks.
|
|
14
|
+
- Ask nothing if the repo can answer it.
|
|
15
|
+
|
|
16
|
+
Output:
|
|
17
|
+
- `Evidence` — file paths and facts.
|
|
18
|
+
- `Likely path` — what should change.
|
|
19
|
+
- `Unknowns` — blockers only.
|
|
20
|
+
- `Next skill` — usually `/grill-me`, `/ralplan`, `/debug`, or `/tdd`.
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-skill
|
|
3
|
+
description: Guide for creating effective skills following best practices. Use when creating or updating skills that extend agent capabilities.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Create Skill
|
|
7
|
+
|
|
8
|
+
Use `/create-skill` to create or update effective skills that extend agent capabilities with specialized knowledge, workflows, and tool integrations.
|
|
9
|
+
|
|
10
|
+
## About Skills
|
|
11
|
+
|
|
12
|
+
Skills are modular, self-contained packages that extend agent capabilities by providing specialized knowledge, workflows, and tools. Think of them as "onboarding guides" for specific domains or tasks.
|
|
13
|
+
|
|
14
|
+
### What Skills Provide
|
|
15
|
+
|
|
16
|
+
1. Specialized workflows - Multi-step procedures for specific domains
|
|
17
|
+
2. Tool integrations - Instructions for working with specific file formats or APIs
|
|
18
|
+
3. Domain expertise - Company-specific knowledge, schemas, business logic
|
|
19
|
+
4. Bundled resources - Scripts, references, and assets for complex and repetitive tasks
|
|
20
|
+
|
|
21
|
+
## Progressive Disclosure Principle
|
|
22
|
+
|
|
23
|
+
**The 200-line rule is critical.** SKILL.md must be under 200 lines. If you need more, split content into `references/` files.
|
|
24
|
+
|
|
25
|
+
### Three-Level Loading System
|
|
26
|
+
|
|
27
|
+
1. **Metadata (name + description)** - Always in context (~100 words)
|
|
28
|
+
2. **SKILL.md body** - When skill triggers (<200 lines, ideally <500 lines for optimal performance)
|
|
29
|
+
3. **Bundled resources** - As needed by agent (unlimited)
|
|
30
|
+
|
|
31
|
+
### Why Progressive Disclosure Matters
|
|
32
|
+
|
|
33
|
+
- 85% reduction in initial context load
|
|
34
|
+
- Activation times drop from 500ms+ to under 100ms
|
|
35
|
+
- Agent loads only what's needed, when it's needed
|
|
36
|
+
- Skills remain maintainable and focused
|
|
37
|
+
|
|
38
|
+
## Skill Structure
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
skill-name/
|
|
42
|
+
├── SKILL.md (required, <200 lines)
|
|
43
|
+
│ ├── YAML frontmatter metadata (required)
|
|
44
|
+
│ │ ├── name: (required)
|
|
45
|
+
│ │ └── description: (required)
|
|
46
|
+
│ └── Markdown instructions (required)
|
|
47
|
+
└── Bundled Resources (optional)
|
|
48
|
+
├── scripts/ - Executable code
|
|
49
|
+
├── references/ - Documentation loaded as needed
|
|
50
|
+
└── assets/ - Files used in output
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Core Principles
|
|
54
|
+
|
|
55
|
+
### Concise is Key
|
|
56
|
+
|
|
57
|
+
The context window is a shared resource. Your skill shares it with everything else the agent needs. Be concise and challenge each piece of information:
|
|
58
|
+
- Does the agent really need this explanation?
|
|
59
|
+
- Can I assume the agent knows this?
|
|
60
|
+
- Does this paragraph justify its token cost?
|
|
61
|
+
|
|
62
|
+
### Set Appropriate Degrees of Freedom
|
|
63
|
+
|
|
64
|
+
- **High freedom**: Text-based instructions for multiple valid approaches
|
|
65
|
+
- **Medium freedom**: Pseudocode or scripts with parameters
|
|
66
|
+
- **Low freedom**: Specific scripts with few/no parameters for fragile operations
|
|
67
|
+
|
|
68
|
+
### Test with All Models
|
|
69
|
+
|
|
70
|
+
Skills act as additions to models, so effectiveness depends on the underlying model. Test your skill with all models you plan to use it with.
|
|
71
|
+
|
|
72
|
+
## References
|
|
73
|
+
|
|
74
|
+
For detailed guidance, see:
|
|
75
|
+
- `references/progressive-disclosure.md` - 200-line rule and references pattern
|
|
76
|
+
- `references/skill-structure.md` - SKILL.md format and frontmatter details
|
|
77
|
+
- `references/examples.md` - Good skill examples
|
|
78
|
+
- `references/best-practices.md` - Comprehensive best practices guide
|