opencode-skills-collection 4.0.67 → 4.0.68

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.
@@ -0,0 +1,55 @@
1
+ ---
2
+ name: ralph-loop-yylo
3
+ description: Execute exactly one explicitly assigned YYLO Ledger task through the
4
+ Ralph loop to a validated queued commit. Use only when the user explicitly requests
5
+ ralph-loop-yylo.
6
+ category: agent-orchestration
7
+ risk: critical
8
+ source: https://github.com/yylo-dev/yylo-skills
9
+ source_repo: yylo-dev/yylo-skills
10
+ source_type: community
11
+ date_added: '2026-09-19'
12
+ license: MIT
13
+ license_source: https://github.com/yylo-dev/yylo-skills/blob/main/LICENSE
14
+ compatibility: Requires the `yy` CLI, git and bash. Executes one explicitly assigned
15
+ Ledger task in its admitted worktree through `yy task start/finish` to a validated
16
+ queued commit. Never pushes, deploys, merges, or releases.
17
+ ---
18
+
19
+ # Execute one assigned task in the Ralph loop
20
+
21
+ Read [references/implement.md](references/implement.md) completely and follow it.
22
+
23
+ Stay within the assigned task. Do not select unrelated work, edit `tasks.md`, auto-tag releases, push, deploy, mutate production, or broaden scope because another issue is noticed. Record a bounded related Kanban follow-up when necessary.
24
+
25
+ Keep durable instructions concise and evidence-backed. Status belongs in the task response and runtime receipts, not `AGENTS.md`.
26
+
27
+ Controller checkpoints are best-effort local durability warnings after terminal metadata is durable. They never gate `yy pi`, `yy task`, `yy merge`, product commits, candidates, or releases.
28
+
29
+ ## Complete assigned request
30
+
31
+ Treat the following as the complete user-assigned request. Preserve task references and directives literally; resolve them only through the normal agent workflow.
32
+
33
+ $ARGUMENTS
34
+
35
+ ## When to Use
36
+
37
+ - The user explicitly requests `ralph-loop-yylo` for one already-assigned YYLO Ledger task.
38
+ - You need to implement exactly that task through the validated loop to a queued, review-ready commit.
39
+
40
+ ## Limitations
41
+
42
+ - Exactly one assigned task per run: never select unrelated work, broaden scope, push, deploy, merge, release, or mutate production.
43
+ - Requires `yy task start TASK_ID` admission and `yy task finish TASK_ID` closure; stop after queueing - only the target owner runs `yy merge land`.
44
+ - Docs-only import: the upstream `scripts/kanban.sh` wrapper is intentionally not bundled; `references/` holds the worker contract.
45
+ - Controller checkpoints are best-effort durability warnings, never lifecycle gates.
46
+
47
+ ### Example
48
+
49
+ ```bash
50
+ yy task start TASK_ID
51
+ yy task preflight TASK_ID
52
+ yy task finish TASK_ID
53
+ ```
54
+
55
+ > Adapted from [yylo-dev/yylo-skills](https://github.com/yylo-dev/yylo-skills) (MIT) - v2.0.1; frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance. Docs-only import: `scripts/kanban.sh` runtime not bundled.
@@ -0,0 +1,18 @@
1
+ ### Check once
2
+
3
+ Before editing, verify the task worktree, clean starting state, and frozen admitted
4
+ path scope. Inspect ignore files only when the assigned task requires an ignore
5
+ rule or the task's validation would otherwise produce untracked generated output.
6
+
7
+ Modify an ignore file only when all of the following are true:
8
+
9
+ - the change is necessary for the assigned task;
10
+ - the exact file is included in the task's admitted paths;
11
+ - existing project conventions support the rule; and
12
+ - the change is included in focused validation and the task commit.
13
+
14
+ Do not create or expand `.gitignore`, `.dockerignore`, `.eslintignore`,
15
+ `.prettierignore`, `.npmignore`, `.terraformignore`, or `.helmignore` merely
16
+ because a related tool is present. If a useful ignore-file change is outside the
17
+ assigned scope, record a bounded related follow-up and continue only when the
18
+ current task remains valid without it.
@@ -0,0 +1,60 @@
1
+ <!-- GENERATED DESTINATIONS: edit this canonical source, then run `npm run generate:implementation-contract`. -->
2
+ ---
3
+ description: Implement exactly one assigned Kanban task in its admitted Bolt product worktree and stop after queueing it.
4
+ ---
5
+
6
+ # Bolt implementation worker contract
7
+
8
+ An implementation worker owns one explicitly assigned task. It does not select
9
+ other work, mutate the product target, merge, release, deploy, or clean another
10
+ task's workspace.
11
+
12
+ ## 1. Resolve and preserve admission
13
+
14
+ 1. Read `AGENTS.md` and the complete assigned task from the canonical controller.
15
+ 2. Run `yy task start TASK_ID` unless the handoff already contains the matching
16
+ active Bolt task record. Verify the returned worktree, branch, full target ref,
17
+ and exact base SHA before editing; stop on missing or contradictory evidence.
18
+ 3. Work only in that product worktree. Never edit product files in the controller
19
+ or copy controller ledgers, specs, state, or artifacts into a task worktree.
20
+ 4. Preserve controller identity and workspace-role checks. Controller checkpoints
21
+ are best-effort local durability warnings after terminal metadata is durable;
22
+ they are not product inputs or lifecycle gates.
23
+
24
+ ## 2. Implement
25
+
26
+ 1. Edit only requested product paths and preserve project sources of truth.
27
+ 2. Use focused affected tests in the edit loop. Other feature worktrees may run
28
+ concurrently; do not wait for or modify them.
29
+ 3. Do not launch lifecycle-semantic reviewers from implementation. Semantic
30
+ review and project checks are explicit owner operations outside native task
31
+ delivery; never claim they occurred because a task was queued.
32
+ 4. If blocked, record bounded truthful state and stop without claiming success.
33
+ Durable diagnostic output belongs in a verified Ledger Artifact Record when
34
+ the installed API supports it; otherwise preserve an external draft and stop,
35
+ never fall back to product documentation or direct controller-store edits.
36
+
37
+ ## 3. Queue and hand off
38
+
39
+ 1. Run focused tests, required dangerous-path checks, parity checks, and
40
+ `git diff --check`.
41
+ 2. Stage only task-owned paths, commit coherently, and leave the worktree clean.
42
+ 3. Run `yy task preflight TASK_ID` before expensive final validation. Repair any
43
+ admission, generated-output, runtime, or closure refusal while the task is
44
+ still `WORKING`.
45
+ 4. Run `yy task finish TASK_ID`; it validates the exact preflighted tip and
46
+ records `QUEUED` with its immutable review-ready closure.
47
+ 5. Record the commit and bounded response in Kanban. A lifecycle finalizer may
48
+ attempt a controller checkpoint after terminal metadata is durable; checkpoint
49
+ failure remains a warning and must not change the task or merge outcome.
50
+
51
+ Stop after queueing. Read-only delivery observation uses `yy merge status`.
52
+ Only the target owner runs `yy merge land TASK_ID`, which uses native Git and an
53
+ expected-old ref update. If Git integration succeeded but Ledger projection did
54
+ not, recover only with `yy merge project TASK_ID`. Implementation agents do not
55
+ poll, steal authority, discard dirty bytes, or mutate the target.
56
+
57
+ Release-version changes use this same ordinary task/merge lifecycle. Package
58
+ preparation is maintainer-only and outside `yy`. Never create a tag, push,
59
+ publish, deploy, mutate production, restart services, run post-deploy E2E, or
60
+ clean worktrees without separate authority.
@@ -0,0 +1,254 @@
1
+ ---
2
+ name: resumable-implementation-contracts
3
+ description: "Create repository-based execution contracts for multi-session implementation work, with stable task IDs, evidence, checkpoints, and exact resume state."
4
+ category: project-management
5
+ risk: safe
6
+ source: self
7
+ source_type: self
8
+ date_added: "2026-09-19"
9
+ author: ShianMike
10
+ tags: [project-management, execution-contracts, checkpoints, verification, agent-workflows]
11
+ tools: [claude, cursor, gemini, codex, antigravity]
12
+ ---
13
+
14
+ # Resumable Implementation Contracts
15
+
16
+ ## Overview
17
+
18
+ Turn a large, mostly defined implementation request into a repository contract
19
+ that a fresh agent can read, update, verify, and resume without reconstructing
20
+ the project from chat history. Keep stable intent separate from mutable
21
+ execution state, and require evidence before any task is called complete.
22
+
23
+ This is a tool-neutral document pattern. It does not depend on, replace, or
24
+ configure any agent platform's built-in goal, task, plan, or project feature.
25
+
26
+ This skill fills the layer between planning and execution. It does not replace
27
+ product discovery, detailed technical design, project-wide state governance,
28
+ or retrospective auditing.
29
+
30
+ ## When to Use This Skill
31
+
32
+ Use it when work:
33
+
34
+ - spans multiple sessions, agents, branches, or context windows;
35
+ - has dependencies or acceptance criteria that must survive interruption;
36
+ - needs an exact resume point rather than a narrative handoff;
37
+ - can appear complete before runtime, artifact, UI, or test evidence exists;
38
+ - must preserve partial work and unrelated repository changes.
39
+
40
+ Skip it for a small task that can be completed and verified in one session.
41
+ If requirements are still unsettled, resolve them before freezing the
42
+ implementation contract.
43
+
44
+ ## Reuse Existing Project Documents
45
+
46
+ Inspect the repository before creating files. Reuse equivalent documents and
47
+ the project's established names when their ownership is clear. For substantial
48
+ multi-session work, the minimum logical document set is:
49
+
50
+ | Document | Owns | Must not become |
51
+ | --- | --- | --- |
52
+ | `IMPLEMENTATION_CONTRACT.md` | stable intent, scope, tasks, acceptance, definition of done | a live activity log |
53
+ | `TASKS.md` | current task/subtask status, dependencies, evidence links | a second copy of the contract |
54
+ | `CHECKPOINT.md` | authoritative current position and exact next action | a vague progress summary |
55
+ | `DECISIONS.md` | material decisions, alternatives, and reasons | a transcript |
56
+ | `VALIDATION.md` | checks actually run, results, evidence, and unresolved gates | a list of planned tests |
57
+
58
+ These may live together under `docs/<contract-slug>/` or follow an existing
59
+ repo layout. An existing `GOAL.md`, specification, or execution brief may own
60
+ the contract role; do not rename it or create parallel files solely to match
61
+ this skill.
62
+
63
+ ## Define Document Authority
64
+
65
+ - Current owner instructions and applicable repository instructions govern
66
+ authorization and scope.
67
+ - `IMPLEMENTATION_CONTRACT.md`, or its existing repository equivalent, owns
68
+ the implementation contract. Do not silently change it to fit the current
69
+ code.
70
+ - The working tree, branch, commit, produced artifacts, and executed checks are
71
+ truth for implementation state.
72
+ - The tracker files summarize that state; they do not override contrary
73
+ evidence on disk.
74
+
75
+ When documents and reality disagree, reconcile status from evidence while
76
+ preserving the contract's intent. Escalate any conflict that would materially
77
+ change scope, behavior, or acceptance.
78
+
79
+ ## Write a Self-Contained Contract
80
+
81
+ A new agent should be able to understand the work from the contract without
82
+ the original conversation. Include only what is needed to execute correctly:
83
+
84
+ 1. objective and observable outcomes;
85
+ 2. current baseline and important constraints;
86
+ 3. in-scope work, exclusions, and authorization boundaries;
87
+ 4. operating rules, including interruption and validation policy;
88
+ 5. tasks with stable IDs, dependencies, acceptance, and breakpoints;
89
+ 6. final definition of done and handoff requirements.
90
+
91
+ Use stable task and subtask IDs such as `T03` and `T03.2`. Never renumber them
92
+ after execution starts; add new IDs or mark obsolete work explicitly.
93
+
94
+ Each task should use this compact form:
95
+
96
+ ```markdown
97
+ ### T03 - <observable task outcome>
98
+
99
+ - [ ] T03.1 <first implementation slice>
100
+ - [ ] T03.2 <second implementation slice>
101
+
102
+ Dependencies: T01
103
+
104
+ Acceptance:
105
+ - <observable behavior or artifact>
106
+ - <required focused check and evidence>
107
+
108
+ Breakpoint:
109
+ - Update TASKS.md, VALIDATION.md, and CHECKPOINT.md after the accepted slice.
110
+ ```
111
+
112
+ Write acceptance in pass/fail terms. File creation, code presence, or an
113
+ agent's completion claim is not acceptance unless that is genuinely the whole
114
+ requirement.
115
+
116
+ ## Read Before Acting
117
+
118
+ At the start of a session or after interruption, read in this order:
119
+
120
+ 1. applicable repository instructions;
121
+ 2. the implementation contract;
122
+ 3. `TASKS.md`, `CHECKPOINT.md`, `DECISIONS.md`, and `VALIDATION.md`;
123
+ 4. current branch, `HEAD`, status, and relevant diff;
124
+ 5. only the code, tests, and artifacts needed for the active task.
125
+
126
+ Reconcile the checkpoint with the working tree before editing. Preserve partial
127
+ and unrelated changes. Resume the exact unfinished subtask when it is still
128
+ valid; otherwise record why the next action changed.
129
+
130
+ ## Keep Writes Narrow and Durable
131
+
132
+ - Change the implementation contract only when the owner changes intent or an
133
+ ambiguity is deliberately resolved.
134
+ - Update `TASKS.md` when work starts, blocks, or becomes evidence-backed done.
135
+ - Replace `CHECKPOINT.md` with the latest authoritative resume state; Git owns
136
+ its detailed history.
137
+ - Add to `DECISIONS.md` only for choices that constrain later work.
138
+ - Add to `VALIDATION.md` only after a check is actually run or explicitly
139
+ recorded as not run.
140
+ - Update the checkpoint after a meaningful increment and before stopping.
141
+
142
+ Do not duplicate the same mutable status across every document. Link to the
143
+ owning record instead.
144
+
145
+ ## Use Evidence-Gated Status
146
+
147
+ Use a small status vocabulary: `pending`, `in_progress`, `blocked`, and `done`.
148
+ A task may become `done` only when its acceptance criteria have supporting
149
+ evidence.
150
+
151
+ For each validation record, capture:
152
+
153
+ - timestamp and relevant commit or working-tree state;
154
+ - exact command or manual procedure;
155
+ - environment when it affects the result;
156
+ - result, including failures and skipped checks;
157
+ - artifact, log, screenshot, route, or report path when applicable;
158
+ - unresolved caveats or gates.
159
+
160
+ Run the smallest check that proves the current slice during implementation.
161
+ Run broader integration or release suites at defined milestones or when the
162
+ change's risk requires them. Never present a planned, mocked, or nominally
163
+ successful check as observed behavior.
164
+
165
+ ## Make the Checkpoint Executable
166
+
167
+ `CHECKPOINT.md` must let another agent continue immediately. Record:
168
+
169
+ ```markdown
170
+ # Checkpoint
171
+
172
+ Updated: <UTC timestamp>
173
+ Branch / HEAD: <branch> / <commit>
174
+ Active task: T03
175
+ Active subtask: T03.2
176
+ Status: in_progress
177
+
178
+ Completed behavior:
179
+ - <verified result and evidence link>
180
+
181
+ Work in progress:
182
+ - <files and partial state that must be preserved>
183
+
184
+ Validation performed:
185
+ - `<exact command>` -> <result>
186
+
187
+ Blockers or uncertainties:
188
+ - <blocker, owner, and condition for clearing it>
189
+
190
+ Pre-existing or unrelated changes:
191
+ - <paths or explicit none observed>
192
+
193
+ Next exact action:
194
+ - <one concrete edit, inspection, or command>
195
+
196
+ Next verification:
197
+ - <focused check that should follow that action>
198
+ ```
199
+
200
+ Avoid next steps such as "continue implementation" or "finish tests." If the
201
+ next agent must decide what those words mean, the checkpoint is incomplete.
202
+
203
+ ## Execution Loop
204
+
205
+ 1. Select the smallest dependency-ready task.
206
+ 2. Mark it `in_progress` and state the intended slice.
207
+ 3. Inspect the real path that owns the behavior.
208
+ 4. Make the minimum scoped change.
209
+ 5. Run focused verification and record the actual outcome.
210
+ 6. Update task status only from that evidence.
211
+ 7. Refresh the checkpoint with one exact next action.
212
+ 8. Repeat until every definition-of-done item is verified or explicitly
213
+ blocked.
214
+
215
+ At final handoff, report completed outcomes, evidence, unresolved blockers,
216
+ branch and commit state, and the exact next action if anything remains. Do not
217
+ promote partial task completion into overall contract completion.
218
+
219
+ ## Limitations
220
+
221
+ - This structure preserves execution state but cannot resolve unclear product
222
+ intent or choose among materially different outcomes for the owner.
223
+ - Evidence quality depends on running checks that exercise the real behavior;
224
+ complete-looking documents do not prove implementation correctness.
225
+ - Concurrent writers still need repository-level coordination to avoid
226
+ conflicting checkpoints and status updates.
227
+ - The five-document layout is unnecessary overhead for small, single-session
228
+ tasks; reuse fewer existing documents when they provide the same ownership.
229
+
230
+ ## Common Failure Modes
231
+
232
+ - Rewriting or renumbering task IDs after work has begun.
233
+ - Treating checked boxes as evidence instead of linking the proof.
234
+ - Recording only happy-path checks and losing failed attempts that constrain
235
+ the next decision.
236
+ - Replaying all history instead of loading the authoritative current state.
237
+ - Allowing implementation discoveries to silently expand the contract.
238
+ - Running an expensive full suite after every small edit while skipping the
239
+ focused check that would isolate the defect.
240
+ - Persisting credentials, tokens, private data, or sensitive command output in
241
+ tracking documents.
242
+
243
+ ## Relationship to Other Skills
244
+
245
+ - Use `spec-driven-loop` when product requirements and technical design still
246
+ need structured discovery, freezing, and approval.
247
+ - Use `planning-and-task-breakdown` when only an executable plan is needed.
248
+ - Use `project-state-governor` when the need is canonical state across the
249
+ whole project rather than one scoped implementation effort.
250
+ - Use `audit-agent-run-evidence` for a read-only retrospective audit of an
251
+ already completed run.
252
+
253
+ This skill owns the compact execution contract that connects those concerns:
254
+ stable intent, mutable progress, verification evidence, and exact resume state.
@@ -0,0 +1,62 @@
1
+ ---
2
+ name: understand-project-yylo
3
+ description: Inspect the current product architecture, dependencies, and validation
4
+ loops before planning or implementing a requested change.
5
+ category: project-management
6
+ risk: safe
7
+ source: https://github.com/yylo-dev/yylo-skills
8
+ source_repo: yylo-dev/yylo-skills
9
+ source_type: community
10
+ date_added: '2026-09-19'
11
+ license: MIT
12
+ license_source: https://github.com/yylo-dev/yylo-skills/blob/main/LICENSE
13
+ compatibility: Requires read access to the product worktree and the `yy` CLI for task/spec
14
+ reads through the canonical controller. Read-only inspection; no mutations.
15
+ argument-hint: '[Main Task] [Constraints] [Ultimate Goal]'
16
+ enable-shell-directives: true
17
+ ---
18
+
19
+ # Understand the project
20
+
21
+ 1. Read `AGENTS.md`/`CLAUDE.md`, repository status, relevant source, tests, and existing product documentation in the integration or assigned feature worktree.
22
+ 2. Read related Kanban tasks and durable specs through the canonical metadata controller. Do not assume `.juno_task/plan.md` exists and do not materialize controller-private metadata in a product worktree.
23
+ 3. Trace only the dependencies and runtime paths needed for the requested goal. Use bounded parallel investigation when independent questions justify it.
24
+ 4. Report current behavior, sources of truth, affected components, risks, unknowns, and the smallest useful validation loop.
25
+ 5. If the user requested planning, hand the findings to `plan-ledger-tasks-yylo`. If implementation was requested, work only in the task worktree returned by `yy task start TASK_ID`.
26
+ 6. Write a durable operational spec only when requested or materially useful. Draft it externally, preflight the installed `yy ledger artifact` API, capture it as an immutable `report` Artifact Record with provenance/retention, and verify retrieval, digest, and history. If that API is unavailable, stop with the external draft intact; never fall back to product `docs/`, task bodies/responses, new `.juno_task/specs`, or direct controller-store edits. Product `docs/` remains reserved for documentation shipped with the product. Do not update root instructions with transient status.
27
+
28
+ ## Invocation contract
29
+
30
+ The structured views below intentionally alias parts of the complete request; they are not additional user arguments.
31
+
32
+ ### Main task
33
+
34
+ $1
35
+
36
+ ### Constraints and context
37
+
38
+ $2
39
+
40
+ ### Complete raw request
41
+
42
+ $ARGUMENTS
43
+
44
+ ## When to Use
45
+
46
+ - Before planning or implementing a requested change, when you need current architecture, dependencies, and validation loops.
47
+ - To hand grounded findings to `plan-ledger-tasks-yylo` (planning) or a task worktree (implementation).
48
+
49
+ ## Limitations
50
+
51
+ - Read-only: reports current behavior, sources of truth, affected components, risks, unknowns, and the smallest validation loop - does not implement.
52
+ - Bounded investigation only; do not materialize controller-private metadata in a product worktree.
53
+ - Durable specs are captured as immutable Artifact Records only when the installed `yy ledger artifact` API supports it; otherwise stop with the external draft intact.
54
+
55
+ ### Example
56
+
57
+ ```bash
58
+ yy ledger search --status todo --limit 5
59
+ yy ledger get TASK_ID
60
+ ```
61
+
62
+ > Adapted from [yylo-dev/yylo-skills](https://github.com/yylo-dev/yylo-skills) (MIT) - v2.0.1; frontmatter, When to Use/Limitations, and safety boundaries added for upstream compliance.