@dirtydishes/skills 0.1.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 +165 -0
- package/bin/skills.js +408 -0
- package/catalog/skills.json +32 -0
- package/package.json +26 -0
- package/skills/dirtyloops/SKILL.md +67 -0
- package/skills/dirtyloops/examples/README.md +8 -0
- package/skills/dirtyloops/examples/orchestrator-callback/README.md +18 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/00-roadmap.md +26 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/01-foundation.md +51 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/02-integration.md +45 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/IMPLEMENT.md +68 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/loop-state.md +36 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/prompts/implementation-thread.md +30 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/prompts/review-thread.md +35 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/prompts/run-loop.md +33 -0
- package/skills/dirtyloops/examples/orchestrator-callback/docs/implementation/example-stream/turn-docs/01-foundation.md +79 -0
- package/skills/dirtyloops/examples/single-thread-subagent/README.md +14 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/00-roadmap.md +16 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/01-foundation.md +36 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/02-integration.md +23 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/IMPLEMENT.md +50 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/loop-state.md +28 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/prompts/run-loop.md +22 -0
- package/skills/dirtyloops/examples/single-thread-subagent/docs/implementation/example-stream/turn-docs/01-foundation.md +32 -0
- package/skills/dirtyloops/plan.html +587 -0
- package/skills/dirtyloops/references/beads.md +114 -0
- package/skills/dirtyloops/references/common.md +66 -0
- package/skills/dirtyloops/references/create-loop.md +85 -0
- package/skills/dirtyloops/references/help.md +170 -0
- package/skills/dirtyloops/references/inspect-loop.md +11 -0
- package/skills/dirtyloops/references/review-ci.md +37 -0
- package/skills/dirtyloops/references/run-loop.md +41 -0
- package/skills/dirtyloops/references/storyboard.md +64 -0
- package/skills/dirtyloops/references/swarms.md +59 -0
- package/skills/dirtyloops/references/turn-docs.md +29 -0
- package/skills/dirtyloops/references/workflows/orchestrator-callback.md +120 -0
- package/skills/dirtyloops/references/workflows/single-thread-subagent.md +45 -0
- package/skills/dirtyloops/schemas/implementation-callback.schema.json +38 -0
- package/skills/dirtyloops/schemas/review-callback.schema.json +35 -0
- package/skills/dirtyloops/schemas/swarm-report.schema.json +43 -0
- package/skills/dirtyloops/templates/common/00-roadmap.md.template +33 -0
- package/skills/dirtyloops/templates/common/IMPLEMENT.md.template +79 -0
- package/skills/dirtyloops/templates/common/loop-state.md.template +39 -0
- package/skills/dirtyloops/templates/common/phase.md.template +56 -0
- package/skills/dirtyloops/templates/common/run-loop.md.template +46 -0
- package/skills/dirtyloops/templates/common/storyboard-post-run.html.template +77 -0
- package/skills/dirtyloops/templates/common/turn-doc.md.template +61 -0
- package/skills/dirtyloops/templates/workflows/orchestrator-callback/implementation-thread-prompt.md.template +40 -0
- package/skills/dirtyloops/templates/workflows/orchestrator-callback/review-thread-prompt.md.template +38 -0
- package/skills/dirtyloops/templates/workflows/orchestrator-callback/run-loop-addendum.md.template +17 -0
- package/skills/dirtyloops/templates/workflows/single-thread-subagent/run-loop-addendum.md.template +12 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# Implementation Thread Prompt
|
|
2
|
+
|
|
3
|
+
You are the implementation thread for Beads issue `{{PHASE_ISSUE_ID}}`.
|
|
4
|
+
|
|
5
|
+
Callback target:
|
|
6
|
+
|
|
7
|
+
`{{ORCHESTRATOR_THREAD_ID}}`
|
|
8
|
+
|
|
9
|
+
You must send your final callback to the exact orchestrator thread id `{{ORCHESTRATOR_THREAD_ID}}`. Do not interpret this as `current orchestrator thread`, `this thread`, or any implicit wrapper metadata.
|
|
10
|
+
|
|
11
|
+
## Inputs
|
|
12
|
+
|
|
13
|
+
- Beads issue: `{{PHASE_ISSUE_ID}}`
|
|
14
|
+
- Phase doc: `{{PHASE_DOC}}`
|
|
15
|
+
- Implementation index: `{{IMPLEMENT_MD}}`
|
|
16
|
+
- Turn doc: `{{TURN_DOC}}`
|
|
17
|
+
- Branch/worktree instructions: `{{BRANCH_WORKTREE_INSTRUCTIONS}}`
|
|
18
|
+
- Thread default: standard speed/reasoning unless the orchestrator prompt explicitly says otherwise
|
|
19
|
+
|
|
20
|
+
## Rules
|
|
21
|
+
|
|
22
|
+
- Implement exactly this phase.
|
|
23
|
+
- Do not widen scope.
|
|
24
|
+
- Use bounded implementation/scout subagents when useful.
|
|
25
|
+
- Update the existing Markdown turn doc.
|
|
26
|
+
- Run local gates before PR when feasible.
|
|
27
|
+
- Open or update the PR.
|
|
28
|
+
- Do not create the review thread.
|
|
29
|
+
- Call back exactly once to the orchestrator.
|
|
30
|
+
- The callback payload must include `orchestrator_thread_id: "{{ORCHESTRATOR_THREAD_ID}}"` and your `source_thread_id`.
|
|
31
|
+
|
|
32
|
+
## Callback States
|
|
33
|
+
|
|
34
|
+
Call back only when:
|
|
35
|
+
|
|
36
|
+
- PR is open and ready for review
|
|
37
|
+
- task is complete but PR cannot be created, with exact blocker
|
|
38
|
+
- genuinely blocked
|
|
39
|
+
|
|
40
|
+
Use the implementation callback schema from `schemas/implementation-callback.schema.json`.
|
package/skills/dirtyloops/templates/workflows/orchestrator-callback/review-thread-prompt.md.template
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Review Thread Prompt
|
|
2
|
+
|
|
3
|
+
You are the review thread for Beads issue `{{PHASE_ISSUE_ID}}`.
|
|
4
|
+
|
|
5
|
+
Callback target:
|
|
6
|
+
|
|
7
|
+
`{{ORCHESTRATOR_THREAD_ID}}`
|
|
8
|
+
|
|
9
|
+
You must send your final callback to the exact orchestrator thread id `{{ORCHESTRATOR_THREAD_ID}}`. Do not interpret this as `current orchestrator thread`, `this thread`, or any implicit wrapper metadata.
|
|
10
|
+
|
|
11
|
+
## Mandatory Skill
|
|
12
|
+
|
|
13
|
+
Use:
|
|
14
|
+
|
|
15
|
+
`thermo-nuclear-code-quality-review`
|
|
16
|
+
|
|
17
|
+
## Inputs
|
|
18
|
+
|
|
19
|
+
- Beads issue: `{{PHASE_ISSUE_ID}}`
|
|
20
|
+
- Phase doc: `{{PHASE_DOC}}`
|
|
21
|
+
- Turn doc: `{{TURN_DOC}}`
|
|
22
|
+
- PR: `{{PR_URL_OR_ID}}`
|
|
23
|
+
- Branch/commit: `{{BRANCH_OR_COMMIT}}`
|
|
24
|
+
- Required gates: `{{QUALITY_GATES}}`
|
|
25
|
+
- Thread default: standard speed/reasoning unless the orchestrator prompt explicitly says otherwise
|
|
26
|
+
|
|
27
|
+
## Rules
|
|
28
|
+
|
|
29
|
+
- Be ambitious about structural simplification.
|
|
30
|
+
- Use reviewer and CI verification subagents when useful.
|
|
31
|
+
- Own CI through green, repaired-and-green, unavailable-with-evidence, or blocked-with-cause.
|
|
32
|
+
- Apply safe in-scope repairs when assigned by the orchestrator prompt.
|
|
33
|
+
- Update the existing Markdown turn doc.
|
|
34
|
+
- Do not create follow-up implementation threads.
|
|
35
|
+
- Call back exactly once when review and CI are resolved.
|
|
36
|
+
- The callback payload must include `orchestrator_thread_id: "{{ORCHESTRATOR_THREAD_ID}}"` and your `source_thread_id`.
|
|
37
|
+
|
|
38
|
+
Use the review callback schema from `schemas/review-callback.schema.json`.
|
package/skills/dirtyloops/templates/workflows/orchestrator-callback/run-loop-addendum.md.template
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
## Orchestrator Callback Workflow
|
|
2
|
+
|
|
3
|
+
This loop uses a main orchestrator thread plus separate implementation and review threads.
|
|
4
|
+
|
|
5
|
+
- Only the orchestrator creates implementation and review threads.
|
|
6
|
+
- The orchestrator passes its concrete thread id as the callback target.
|
|
7
|
+
- Before launching a worker or reviewer, verify the actual prompt text includes that exact thread id and does not rely on generic wording like `current orchestrator thread` or `this thread`.
|
|
8
|
+
- Worker and reviewer threads default to standard speed/reasoning unless Beads loop metadata explicitly overrides it.
|
|
9
|
+
- Implementation threads update the existing phase turn doc, open the PR, and call back exactly once when PR-ready or blocked.
|
|
10
|
+
- Implementation callback payloads must echo `orchestrator_thread_id` and include `source_thread_id`.
|
|
11
|
+
- Implementation threads do not create review threads.
|
|
12
|
+
- Review threads use `thermo-nuclear-code-quality-review`.
|
|
13
|
+
- Review threads own CI, repairs, reruns, and evidence.
|
|
14
|
+
- Review threads update the existing phase turn doc and call back exactly once when review and CI are resolved.
|
|
15
|
+
- Review callback payloads must echo `orchestrator_thread_id` and include `source_thread_id`.
|
|
16
|
+
- The orchestrator owns Beads closeout and next selector launch.
|
|
17
|
+
- Use a fallback heartbeat around 30 minutes for long-running threads.
|
package/skills/dirtyloops/templates/workflows/single-thread-subagent/run-loop-addendum.md.template
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
## Single-Thread Subagent Workflow
|
|
2
|
+
|
|
3
|
+
This loop runs in one visible Codex coordinator thread. Single-thread means one coordinator, not solo implementation.
|
|
4
|
+
|
|
5
|
+
- Do not create separate Codex worker or reviewer threads.
|
|
6
|
+
- Use selector, scout, slice-planning, implementation-helper, reviewer, and CI subagent swarms inside this thread.
|
|
7
|
+
- Use 8+ subagents by default for broad scout, slice, implementation-helper, and review work. If fewer than 8 are used for a broad phase, record why in the turn doc.
|
|
8
|
+
- Before broad implementation, run a slice planning swarm and synthesize the slice plan into the turn doc.
|
|
9
|
+
- The main thread owns integration, branch state, PR state, Beads updates, and closeout.
|
|
10
|
+
- Subagents inspect, compare, critique, split the phase into slices, prepare implementation guidance or patches, verify, and report.
|
|
11
|
+
- Subagents do not own loop state.
|
|
12
|
+
- The coordinator may implement glue, integration, conflict resolution, and final repairs. It must not do most broad discovery or implementation itself.
|