@sockulags/agent-os 0.15.0 → 0.17.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/README.md +105 -59
- package/cli/doctor.mjs +351 -0
- package/cli/index.mjs +328 -151
- package/cli/index.test.mjs +436 -9
- package/package.json +5 -6
- package/plugins/agent-os-core/.claude-plugin/plugin.json +18 -0
- package/plugins/agent-os-core/.codex-plugin/plugin.json +24 -0
- package/plugins/agent-os-core/skills/capture-intent/SKILL.md +68 -0
- package/plugins/agent-os-core/skills/capture-intent/references/intent-template.md +47 -0
- package/plugins/agent-os-core/skills/explain-work/SKILL.md +42 -0
- package/{skills → plugins/agent-os-core/skills}/list-skills/SKILL.md +16 -7
- package/{skills → plugins/agent-os-core/skills}/plain-voice/SKILL.md +7 -4
- package/plugins/agent-os-core/skills/plan-work/SKILL.md +151 -0
- package/{skills → plugins/agent-os-core/skills}/plan-work/references/elicitation.md +7 -3
- package/plugins/agent-os-core/skills/plan-work/references/spec-template.md +65 -0
- package/plugins/agent-os-core/skills/record-lesson/SKILL.md +47 -0
- package/{skills → plugins/agent-os-core/skills}/scope-guard/SKILL.md +11 -6
- package/{skills → plugins/agent-os-core/skills}/verify-before-done/SKILL.md +6 -2
- package/plugins/agent-os-dev/.claude-plugin/plugin.json +18 -0
- package/plugins/agent-os-dev/.codex-plugin/plugin.json +24 -0
- package/plugins/agent-os-dev/hooks/hooks.json +42 -0
- package/{skills → plugins/agent-os-dev/skills}/batch-work/SKILL.md +6 -2
- package/{skills → plugins/agent-os-dev/skills}/check-work/SKILL.md +33 -14
- package/{skills/deliver-work/workflow.md → plugins/agent-os-dev/skills/deliver-work/SKILL.md} +126 -57
- package/plugins/agent-os-dev/skills/deliver-work/references/work-records.md +20 -0
- package/plugins/agent-os-dev/skills/design-work/SKILL.md +160 -0
- package/plugins/agent-os-dev/skills/design-work/scripts/render-sketch.mjs +233 -0
- package/plugins/agent-os-dev/skills/design-work/scripts/render-sketch.test.mjs +73 -0
- package/plugins/agent-os-dev/skills/diagnose-before-fix/SKILL.md +29 -0
- package/{skills → plugins/agent-os-dev/skills}/dispatch-next/SKILL.md +11 -3
- package/plugins/agent-os-dev/skills/init-agent-os/SKILL.md +131 -0
- package/plugins/agent-os-dev/skills/init-agent-os/policy.md +91 -0
- package/plugins/agent-os-dev/skills/init-agent-os/references/guards.md +40 -0
- package/plugins/agent-os-dev/skills/init-agent-os/references/repository-init.md +115 -0
- package/plugins/agent-os-dev/skills/init-agent-os/references/review-template.md +35 -0
- package/plugins/agent-os-dev/skills/init-agent-os/references/workflow-template.md +80 -0
- package/plugins/agent-os-dev/skills/init-agent-os/scripts/policy-block.mjs +187 -0
- package/plugins/agent-os-dev/skills/init-agent-os/templates/agent-review.yml +59 -0
- package/plugins/agent-os-dev/skills/init-agent-os/templates/lint-intents.yml +30 -0
- package/{skills → plugins/agent-os-dev/skills}/proportional-testing/SKILL.md +1 -1
- package/plugins/agent-os-dev/skills/quality-ratchet/SKILL.md +104 -0
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/references/project-controls.md +31 -3
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/analyzers.mjs +145 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/analyzers.test.mjs +158 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/guards.mjs +372 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/guards.test.mjs +138 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/intent-files.mjs +322 -0
- package/plugins/agent-os-dev/skills/quality-ratchet/scripts/intent-files.test.mjs +177 -0
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/project-controls.mjs +59 -8
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/project-controls.test.mjs +134 -8
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/quality-delta.mjs +296 -22
- package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/scripts/quality-delta.test.mjs +114 -6
- package/plugins/agent-os-dev/skills/shape-work/SKILL.md +135 -0
- package/plugins/agent-os-dev/skills/shape-work/references/implementation-issues.md +163 -0
- package/{skills/plan-work → plugins/agent-os-dev/skills/shape-work}/references/prototypes.md +9 -10
- package/plugins/agent-os-dev/skills/simplify/SKILL.md +91 -0
- package/plugins/agent-os-dev/skills/simplify/scripts/audit-evidence.mjs +166 -0
- package/plugins/agent-os-dev/skills/simplify/scripts/audit-evidence.test.mjs +49 -0
- package/policy.md +57 -30
- package/hooks/hooks.json +0 -17
- package/skills/deliver-work/SKILL.md +0 -12
- package/skills/diagnose-before-fix/SKILL.md +0 -24
- package/skills/explain-work/SKILL.md +0 -28
- package/skills/init-agent-os/SKILL.md +0 -55
- package/skills/init-agent-os/references/repository-init.md +0 -75
- package/skills/init-agent-os/scripts/policy-block.ps1 +0 -87
- package/skills/notice-lesson/SKILL.md +0 -20
- package/skills/plan-work/SKILL.md +0 -100
- package/skills/quality-ratchet/SKILL.md +0 -72
- package/skills/record-lesson/SKILL.md +0 -31
- package/skills/shape-work/SKILL.md +0 -71
- package/skills/shape-work/references/implementation-issues.md +0 -90
- package/skills/shape-work/references/mockups.md +0 -23
- package/skills/simplifier/SKILL.md +0 -35
- package/skills/simplifier-audit/SKILL.md +0 -30
- package/skills/simplifier-review/SKILL.md +0 -40
- package/skills/understand-work/SKILL.md +0 -32
- package/skills/understand-work/agents/openai.yaml +0 -2
- package/skills/writing-skills/SKILL.md +0 -68
- package/skills/writing-skills/agents/openai.yaml +0 -2
- /package/{skills/batch-work → plugins/agent-os-core/skills/capture-intent}/agents/openai.yaml +0 -0
- /package/{skills/deliver-work → plugins/agent-os-core/skills/explain-work}/agents/openai.yaml +0 -0
- /package/{skills/dispatch-next → plugins/agent-os-core/skills/list-skills}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-core/skills}/plain-voice/references/tells.md +0 -0
- /package/{skills/explain-work → plugins/agent-os-core/skills/plan-work}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-core/skills}/plan-work/references/map.md +0 -0
- /package/{skills/init-agent-os → plugins/agent-os-dev/skills/batch-work}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/batch-work/references/manifest.md +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/batch-work/scripts/manifest-hash.mjs +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/batch-work/scripts/test-manifest-hash.mjs +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/check-work/references/findings.md +0 -0
- /package/{skills/list-skills → plugins/agent-os-dev/skills/deliver-work}/agents/openai.yaml +0 -0
- /package/{skills/plan-work → plugins/agent-os-dev/skills/design-work}/agents/openai.yaml +0 -0
- /package/{skills/record-lesson → plugins/agent-os-dev/skills/dispatch-next}/agents/openai.yaml +0 -0
- /package/{skills/shape-work → plugins/agent-os-dev/skills/init-agent-os}/agents/openai.yaml +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/proportional-testing/references/strategy.md +0 -0
- /package/{skills → plugins/agent-os-dev/skills}/quality-ratchet/references/structure.md +0 -0
- /package/{skills/simplifier-audit → plugins/agent-os-dev/skills/shape-work}/agents/openai.yaml +0 -0
- /package/{skills/simplifier → plugins/agent-os-dev/skills/simplify}/agents/openai.yaml +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: notice-lesson
|
|
3
|
-
description: Treats a developer interruption, correction, or challenge as a misunderstanding signal worth examining. It activates when the developer stops the agent, contradicts its direction, or questions its output mid-task. It skips ordinary clarifying questions, requested iteration rounds, and disagreements the developer resolves in the same breath.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Notice lesson
|
|
7
|
-
|
|
8
|
-
An interruption is information: the agent's model of the task and the developer's intent just
|
|
9
|
-
diverged.
|
|
10
|
-
|
|
11
|
-
When it happens, name the divergence in one sentence — what was assumed, what was actually wanted —
|
|
12
|
-
and correct course first. Then judge whether the divergence is durable: would the next session, or
|
|
13
|
-
an agent in a repository that has never seen this conversation, make the same mistake?
|
|
14
|
-
|
|
15
|
-
- A one-off — missing context, an ambiguous word, a changed mind — needs no record; continue.
|
|
16
|
-
- A durable lesson — a convention, a preference, a gotcha that will recur — deserves recording.
|
|
17
|
-
Offer `record-lesson` with the candidate lesson already phrased.
|
|
18
|
-
|
|
19
|
-
Noticing never argues with the correction and never edits policy itself; recording is the
|
|
20
|
-
developer's call through `record-lesson`.
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-work
|
|
3
|
-
description: Plans a coherent mission from outcome through coverage, decisions, feasibility, and verification with adaptive depth and an optional decision map. User-invoked when the developer wants a plan or the work needs one. Not required for an already clear implementation request or a substitute for shape-work delivery structure.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Plan work
|
|
8
|
-
|
|
9
|
-
Own the coherent mission before delivery: the desired result and behavior, boundaries, affected
|
|
10
|
-
parts, material decisions, technical feasibility, and one verification story for the whole result.
|
|
11
|
-
Planning is an entry point, not a mandatory ceremony before an already clear implementation
|
|
12
|
-
request. Shape-work may also start from an existing specification.
|
|
13
|
-
|
|
14
|
-
## Choose planning depth internally
|
|
15
|
-
|
|
16
|
-
Do not ask the developer to select a mode. Match the depth to scope and uncertainty separately:
|
|
17
|
-
|
|
18
|
-
- A small, clear fix needs its outcome, boundaries, and verification.
|
|
19
|
-
- A large but known change needs repository inspection and a coverage check across the relevant
|
|
20
|
-
flows, states, errors, and integrations.
|
|
21
|
-
- A bounded open choice needs discoverable facts first, then only focused questions for choices
|
|
22
|
-
that materially change behavior.
|
|
23
|
-
- A broad initiative uses the decision map below when questions need independent ownership,
|
|
24
|
-
separate evidence work, or parallel treatment.
|
|
25
|
-
|
|
26
|
-
Use [understand-work](../understand-work/SKILL.md) when the outcome is still moving or cannot be
|
|
27
|
-
stated. Use [explain-work](../explain-work/SKILL.md) when a plain-language summary is needed for an
|
|
28
|
-
actual decision. A summary is not a general approval gate: existing authority continues across
|
|
29
|
-
workflow boundaries, and planning alone never starts implementation.
|
|
30
|
-
|
|
31
|
-
## Establish the plan
|
|
32
|
-
|
|
33
|
-
Read project policy, the request, relevant repository code, existing planning artifacts, and live
|
|
34
|
-
worktree or tracker state before asking questions. Check the real main flows, states, error paths,
|
|
35
|
-
and integrations. For a rebuild or migration, identify what is preserved, replaced, migrated, and
|
|
36
|
-
removed. Do not invent requirements to fill a template.
|
|
37
|
-
|
|
38
|
-
Resolve repository facts yourself. Ask only a material product question, with a recommendation and
|
|
39
|
-
the consequence of choosing differently. Record decisions, reasons, rejected alternatives, open
|
|
40
|
-
risks, and evidence where the configured planning surface can be found again.
|
|
41
|
-
|
|
42
|
-
The plan owns one coherent mission, not a pile of disconnected tickets. The plan is ready when delivery
|
|
43
|
-
can proceed without inventing material product intent. The ready result may be:
|
|
44
|
-
|
|
45
|
-
- ready for direct delivery when the mission already has a sufficient contract;
|
|
46
|
-
- ready for `shape-work` when delivery units, dependencies, or an epic contract still need to be
|
|
47
|
-
materialized; or
|
|
48
|
-
- one explicit remaining question or evidence gap.
|
|
49
|
-
|
|
50
|
-
Exact code, a complete file list, and every technical work step do not need to be decided. A plan
|
|
51
|
-
does not authorize product implementation, and an issue becoming ready does not authorize it.
|
|
52
|
-
|
|
53
|
-
## Decision-map mode
|
|
54
|
-
|
|
55
|
-
When the broad depth is justified, read [references/map.md](references/map.md),
|
|
56
|
-
[references/elicitation.md](references/elicitation.md), and
|
|
57
|
-
[references/prototypes.md](references/prototypes.md). Preserve these mechanics:
|
|
58
|
-
|
|
59
|
-
- the decision ticket is canonical; the map is a repairable, low-resolution index;
|
|
60
|
-
- ticket identity is stable and updates are idempotent;
|
|
61
|
-
- claim an open frontier ticket before independent work, and never infer parallel workers from a
|
|
62
|
-
map with parallel possibilities;
|
|
63
|
-
- connect real dependencies and expose the open, unblocked frontier;
|
|
64
|
-
- re-read live state before writing and use compare-and-swap or the planning surface's equivalent
|
|
65
|
-
to protect concurrent updates;
|
|
66
|
-
- hand off each bounded branch to `shape-work` through one stable, canonical handoff; shaping
|
|
67
|
-
reconciles issues and readiness back into the plan.
|
|
68
|
-
|
|
69
|
-
The handoff links the canonical plan and ticket evidence. It carries a bounded summary, settled
|
|
70
|
-
decisions, evidence, and remaining questions; it does not copy the plan into a competing
|
|
71
|
-
specification.
|
|
72
|
-
|
|
73
|
-
### Reconsideration
|
|
74
|
-
|
|
75
|
-
Treat reconsideration as explicit planning information, not as an erased resolution:
|
|
76
|
-
|
|
77
|
-
1. Preserve the earlier resolution and keep it addressable.
|
|
78
|
-
2. Record which decision is under review, why it is being reconsidered, and the question that
|
|
79
|
-
remains open.
|
|
80
|
-
3. Show the active reconsideration in the map and process it with the ordinary claim and frontier
|
|
81
|
-
rules.
|
|
82
|
-
4. When it closes, record whether the earlier decision was confirmed or replaced. Register a
|
|
83
|
-
replacement only after a new decision is actually made.
|
|
84
|
-
|
|
85
|
-
Use existing tracker status plus explicit reconsideration fields rather than inventing a global
|
|
86
|
-
status machine. Find potentially affected work through decision links, acceptance, and boundaries.
|
|
87
|
-
Pause only branches with demonstrated impact; independent authorized work continues.
|
|
88
|
-
|
|
89
|
-
## Authority and tracker boundaries
|
|
90
|
-
|
|
91
|
-
No planning skill grants external write access. If the request or project policy already
|
|
92
|
-
authorizes tracker maintenance, that may include implementation detail and technical ordering or
|
|
93
|
-
readiness within the authorized set. It does not silently change acceptance, ownership, delivery
|
|
94
|
-
scope, or closure. Without tracker authority, keep corrections local and report the unsynced
|
|
95
|
-
updates. If the information must survive the session, use the existing work record and add a
|
|
96
|
-
`Pending tracker updates` section only when needed; store a delta, not a copy of this plan.
|
|
97
|
-
|
|
98
|
-
Recommend one concrete next action at exit, with the reason it wins and any blocker. Continue into
|
|
99
|
-
an authorized next workflow without adding an approval ceremony; stop when the plan is ready and
|
|
100
|
-
the request does not include implementation.
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: quality-ratchet
|
|
3
|
-
description: Keeps implementation quality from regressing by comparing a candidate with its exact entry state and separating bounded touched-surface improvement from cleanup. It activates during implementation and delivery review, not for repository-wide debt hunts or line-count optimization.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Quality ratchet
|
|
7
|
-
|
|
8
|
-
Keep the smallest set of concepts and machinery needed for the current change. The ratchet is an
|
|
9
|
-
evidence layer, not a score or replacement for semantic review. Explicit project rules may gate delivery.
|
|
10
|
-
|
|
11
|
-
Before choosing the implementation, find the nearest existing behavior, contract, and tests. Reuse
|
|
12
|
-
or extend their owner before adding a parallel implementation. For TypeScript, React, or Java
|
|
13
|
-
changes, read [references/structure.md](references/structure.md) for contract ownership and cohesive
|
|
14
|
-
boundaries. Make this a code decision, not a mandatory planning artifact.
|
|
15
|
-
|
|
16
|
-
Resolve `scripts/quality-delta.mjs` relative to this loaded `SKILL.md`; do not assume the current
|
|
17
|
-
worktree contains an Agent OS checkout. Before the first mutation in a Git worktree, run that
|
|
18
|
-
installed runner with `begin` when it is available. It records the exact tracked and nonignored
|
|
19
|
-
untracked entry state without stashing or changing user files. After implementation and before
|
|
20
|
-
`simplifier-review`, run the same runner with `check` and pass its evidence to that review. Use its
|
|
21
|
-
`clear` command only when abandoning the attempt. The normal correctness, security, scope,
|
|
22
|
-
independent-review, and verification steps still decide delivery.
|
|
23
|
-
|
|
24
|
-
Use three zones:
|
|
25
|
-
|
|
26
|
-
1. A bounded, behavior-preserving improvement on the implementation surface already being
|
|
27
|
-
touched is allowed when it makes the requested change clearer or safer.
|
|
28
|
-
2. Report at most one concrete adjacent structural opportunity when it materially constrains the
|
|
29
|
-
requested change, but leave it out of the patch unless the boundary expands.
|
|
30
|
-
3. Ignore unrelated debt. `scope-guard` owns drift; do not turn a ratchet signal into a cleanup
|
|
31
|
-
project.
|
|
32
|
-
|
|
33
|
-
Extract a named responsibility when it makes the touched code easier to understand or protects an
|
|
34
|
-
invariant, even with one caller. This is allowed local improvement, not automatic scope expansion.
|
|
35
|
-
Do not force inheritance, shared utils, or extra layers merely to reduce file size.
|
|
36
|
-
|
|
37
|
-
The check reports added, changed, and deleted source files, touched-source NLOC before/after, the
|
|
38
|
-
before/after status of source paths that were already present at entry, package dependency deltas,
|
|
39
|
-
and optional analyzer capability. Raw file, function, or line counts are signals only. There is no
|
|
40
|
-
aggregate score and no threshold gate. Missing Lizard or jscpd is reported as unavailable rather
|
|
41
|
-
than clean; the core Node evidence remains usable. Their parsing integration is an explicit
|
|
42
|
-
follow-up, not an install-time prerequisite.
|
|
43
|
-
|
|
44
|
-
Use existing project checks for enforceable rules and report structural signals as advisory.
|
|
45
|
-
When configuring external checks, read [references/project-controls.md](references/project-controls.md).
|
|
46
|
-
The runner executes project commands from `.agent-os/quality.json`; required failures block delivery.
|
|
47
|
-
Do not rerun unchanged failing checks in a loop. Fix the failure or report the blocker.
|
|
48
|
-
Policy changes require an explicit acknowledgement with the already-authorized reason; do not ask
|
|
49
|
-
for approval again when the task authorizes the change or clear the baseline to hide it. A
|
|
50
|
-
fresh `check` proves evidence freshness, not code quality, passing tests, or completed review. The
|
|
51
|
-
runner currently inspects dependencies only in the root `package.json`; do not infer Java or
|
|
52
|
-
workspace-package coverage from it. Run relevant configured analyzers outside the model, pass short
|
|
53
|
-
actionable deltas to review, and reuse results only while their inputs, configuration, and tool
|
|
54
|
-
versions remain unchanged. Do not install analyzers or invent thresholds for an ordinary task.
|
|
55
|
-
|
|
56
|
-
The Stop hook blocks an active lifecycle violation (a corrupt baseline or missing/stale check),
|
|
57
|
-
unacknowledged control-policy changes, or failed explicit project requirements. It checks recorded
|
|
58
|
-
results and their inputs without rerunning project commands. State is bound to the current Git worktree and host session: Claude uses
|
|
59
|
-
`CLAUDE_CODE_SESSION_ID`, Codex uses `CODEX_THREAD_ID`, and standalone/manual use has a deterministic
|
|
60
|
-
fallback. `begin`, `check`, and `clear` use those command environments, preferring Codex when both
|
|
61
|
-
IDs exist. Stop uses payload
|
|
62
|
-
`session_id`, treating a non-empty `turn_id` as Codex and otherwise as Claude; without `session_id`,
|
|
63
|
-
it retains the command environment for direct/manual use. A worktree without an active baseline for
|
|
64
|
-
the current session is a cheap no-op. A re-entered Stop hook remains blocked until that same session
|
|
65
|
-
records a fresh passing `check`; the `stop_hook_active` payload does not bypass the lifecycle requirement. A fresh passing Stop clears only the
|
|
66
|
-
current session state. Run `clear` deliberately from the same host session when abandoning an
|
|
67
|
-
implementation attempt; uninstall is not currently a command.
|
|
68
|
-
|
|
69
|
-
Exit with the smallest complete implementation, the quality evidence, semantic review findings,
|
|
70
|
-
and fresh verification. Do not remove a legitimate abstraction merely because it increases a raw
|
|
71
|
-
count: multiple providers, runtime selection, compatibility, or a real trust boundary can justify
|
|
72
|
-
the machinery and belongs to semantic judgment.
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: record-lesson
|
|
3
|
-
description: Records one durable lesson where it applies — the repo's project policy or the global agent-os policy. User-invoked when a session produced a lesson worth keeping, often after notice-lesson offers it. Not for session-specific details or facts the repository already records.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Record lesson
|
|
8
|
-
|
|
9
|
-
Capture the lesson while its evidence is fresh, at the narrowest level where it holds.
|
|
10
|
-
|
|
11
|
-
## Choose the level
|
|
12
|
-
|
|
13
|
-
- **Repo:** conventions, gotchas, verify commands, and delivery defaults that hold only in this
|
|
14
|
-
repository go to the project policy section that `init-agent-os` seeds.
|
|
15
|
-
- **Global:** lessons about how the developer works that would hold in a repository that has never
|
|
16
|
-
seen them go to `policy.md` in the agent-os repository — the source of truth behind the managed
|
|
17
|
-
blocks. After that edit, remind the developer to run `init-agent-os global` to reinstall the
|
|
18
|
-
blocks. Never edit an installed managed block directly; if the agent-os repository is not
|
|
19
|
-
reachable, stop with the exact lesson text as a handoff.
|
|
20
|
-
|
|
21
|
-
Default to repo level.
|
|
22
|
-
|
|
23
|
-
## Write the lesson
|
|
24
|
-
|
|
25
|
-
State the smallest rule the next agent can act on, with the observed failure or insight that
|
|
26
|
-
motivates it. Search the target for an existing line with the same meaning: update it rather than
|
|
27
|
-
duplicating, and delete a line the lesson proves wrong. Show the resulting diff.
|
|
28
|
-
|
|
29
|
-
A machine-checkable lesson belongs in a test, script, or validator per the
|
|
30
|
-
[writing-skills enforcement ladder](../writing-skills/SKILL.md); route it there and record at most
|
|
31
|
-
a pointer in policy prose.
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: shape-work
|
|
3
|
-
description: Shapes a bounded mission into coherent delivery units, dependencies, and implementation-ready issues backed by settled product decisions. User-invoked when delivery structure or an epic contract still needs shaping. Not for small fixes or work whose outcome and delivery unit are already clear.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Shape work
|
|
8
|
-
|
|
9
|
-
Produce the smallest coherent delivery structure that lets delivery proceed without inventing
|
|
10
|
-
product intent. A delivery unit is the smallest independently useful or assessable result that has
|
|
11
|
-
its own meaningful boundary; technical layers are not delivery units by themselves.
|
|
12
|
-
|
|
13
|
-
Read [references/implementation-issues.md](references/implementation-issues.md) before shaping.
|
|
14
|
-
|
|
15
|
-
## Loop
|
|
16
|
-
|
|
17
|
-
Read the repository, project policy, and any linked `plan-work` decisions or handoffs before asking
|
|
18
|
-
questions. Resolve facts from those sources. For each remaining material choice, recommend an
|
|
19
|
-
answer, explain the consequence, and ask only what the developer must decide. A pre-existing
|
|
20
|
-
specification is a valid starting point; a plan-work run is not required.
|
|
21
|
-
|
|
22
|
-
Use a diagram or mockup when it makes behavior, layout, states, or boundaries materially easier to
|
|
23
|
-
judge. Frontend proposals follow [references/mockups.md](references/mockups.md). Do not create a
|
|
24
|
-
visualization merely to satisfy the workflow.
|
|
25
|
-
|
|
26
|
-
When a solution-changing assumption needs observation, apply the
|
|
27
|
-
[experiment decision](../plan-work/references/prototypes.md), including small technical experiments
|
|
28
|
-
and comparable UI alternatives. Do not turn a question with sufficient evidence into a prototype.
|
|
29
|
-
|
|
30
|
-
Deliver the coherent product shape: outcome, boundaries, acceptance examples, affected seams,
|
|
31
|
-
ground truth, settled decisions, and open risks. Then create or reuse its implementation issues on
|
|
32
|
-
the configured planning surface. With no configured tracker, use the local-file fallback in the
|
|
33
|
-
reference. Link real dependencies and expose the first claimable delivery frontier.
|
|
34
|
-
|
|
35
|
-
Start from one coherent delivery unit. Split only for a concrete reason such as an independently
|
|
36
|
-
usable or assessable result, different ownership, a separate migration, a delivery boundary, or a
|
|
37
|
-
material risk and verification boundary. A separate commit, session, file, or technical layer is
|
|
38
|
-
not enough. Keep necessary schema, API, UI, configuration, error handling, and verification with
|
|
39
|
-
the behavior they support.
|
|
40
|
-
|
|
41
|
-
The result may be one issue, several independent issues without an epic, or an epic with children
|
|
42
|
-
when one shared end result needs an owner. Before publishing, check that the whole mission is
|
|
43
|
-
covered, each issue contributes, dependencies are real, and the complete set can be verified.
|
|
44
|
-
|
|
45
|
-
One shape may produce one or several sequential or parallel issues. Multiple issues do not imply
|
|
46
|
-
`batch-work`: each ready issue can be delivered with `deliver-work`, while `batch-work` remains an
|
|
47
|
-
explicit developer choice for integrated parallel execution. Do not start either workflow unless
|
|
48
|
-
the request includes implementation.
|
|
49
|
-
|
|
50
|
-
When shaping started from a plan-work handoff, reconcile the issue links and readiness back into the
|
|
51
|
-
origin handoff and map. A handoff alone is not delivery-ready. Shape-work is complete only when
|
|
52
|
-
every selected branch points to implementation-ready issues or is explicitly parked or rejected.
|
|
53
|
-
|
|
54
|
-
An epic has an explicit contract in [implementation issues](references/implementation-issues.md):
|
|
55
|
-
shared outcome and acceptance, children or delivery units, aggregate verification, and an owner
|
|
56
|
-
for final verification. A child issue does not authorize the rest of the epic or permit closing its
|
|
57
|
-
parent. `deliver-work` performs aggregate verification when the request covers the epic;
|
|
58
|
-
`batch-work` uses the same contract for an explicitly selected integrated run.
|
|
59
|
-
|
|
60
|
-
Planning-surface writes do not grant product implementation or external tracker authority. When
|
|
61
|
-
tracker maintenance is authorized, keep it within the requested set and do not silently change
|
|
62
|
-
acceptance, ownership, delivery scope, or closure. A ready issue is not an authorization. Without
|
|
63
|
-
that mandate, keep corrections local and report the pending tracker delta.
|
|
64
|
-
|
|
65
|
-
Recommend one concrete next action with its reason and blocker, weighing uncertainty and downstream
|
|
66
|
-
work unlocked as well as project priority. A ready frontier alone is not enough guidance. Continue
|
|
67
|
-
into authorized sequential delivery only when the request includes that bounded implementation;
|
|
68
|
-
otherwise finish with the recommendation.
|
|
69
|
-
|
|
70
|
-
The invocation authorizes planning artifacts, not product code. A deferred product choice remains
|
|
71
|
-
explicit; a reversible implementation choice does not need to become a question.
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
# Implementation issues
|
|
2
|
-
|
|
3
|
-
The configured planning surface owns implementation issues. Research, grilling, and prototypes are
|
|
4
|
-
decision evidence; the durable output of shaping is the issue set that a developer can choose to
|
|
5
|
-
run with `deliver-work` or `batch-work`.
|
|
6
|
-
|
|
7
|
-
With no project convention, use:
|
|
8
|
-
|
|
9
|
-
```text
|
|
10
|
-
planning/<shape-slug>/implementation/<unit-key>.md
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
When a plan-work run supplied a plain-language summary for an actual decision, link it from the
|
|
14
|
-
shape's origin document. Do not turn summary approval into a second gate or copy the plan into a
|
|
15
|
-
competing specification.
|
|
16
|
-
|
|
17
|
-
## Completion invariant
|
|
18
|
-
|
|
19
|
-
A selected product branch is not `delivery-ready`, and shape-work is not complete, until one or
|
|
20
|
-
more implementation issues have been created or reused. A parked or rejected branch needs no issue.
|
|
21
|
-
|
|
22
|
-
Each issue represents one coherent delivery unit: an independently useful or assessable result with
|
|
23
|
-
a reviewable change boundary and ground truth that can verify it. The unit may depend on earlier
|
|
24
|
-
units, but technical layers that support the same behavior stay together. Split only for a concrete
|
|
25
|
-
delivery, ownership, migration, risk, or verification boundary; separate commits, sessions, files,
|
|
26
|
-
or technical layers are not sufficient reasons.
|
|
27
|
-
|
|
28
|
-
## Issue contract
|
|
29
|
-
|
|
30
|
-
Identity is `(origin, unit key)`. Search the configured planning surface before creating anything so
|
|
31
|
-
retrying the same shape updates existing issues instead of duplicating them.
|
|
32
|
-
|
|
33
|
-
```text
|
|
34
|
-
## Implementation issue
|
|
35
|
-
Origin: <shape-work handoff, planning artifact, or request link>
|
|
36
|
-
Unit key: <stable key>
|
|
37
|
-
Status: ready | blocked
|
|
38
|
-
|
|
39
|
-
## Outcome
|
|
40
|
-
## Boundaries
|
|
41
|
-
## Acceptance
|
|
42
|
-
## Ground truth
|
|
43
|
-
## Dependencies
|
|
44
|
-
## Evidence and settled decisions
|
|
45
|
-
## Delivery target
|
|
46
|
-
## Open risks
|
|
47
|
-
```
|
|
48
|
-
|
|
49
|
-
Use dependencies to distinguish order from execution strategy. An issue is `ready` when its product
|
|
50
|
-
decisions are settled and its dependencies are satisfied; otherwise record the exact blocker. The
|
|
51
|
-
delivery frontier is the set of ready, unblocked implementation issues. Use the planning surface's
|
|
52
|
-
existing status and label conventions rather than inventing a parallel queue vocabulary.
|
|
53
|
-
|
|
54
|
-
## Epic contract
|
|
55
|
-
|
|
56
|
-
When one shared end result needs an owner, shape an epic with this contract instead of splitting
|
|
57
|
-
every technical layer into a child:
|
|
58
|
-
|
|
59
|
-
```text
|
|
60
|
-
## Epic contract
|
|
61
|
-
Epic outcome: <shared observable result>
|
|
62
|
-
Acceptance: <aggregate acceptance examples>
|
|
63
|
-
Children or delivery units: <links and why each boundary exists>
|
|
64
|
-
Aggregate verification: <checks for the complete result>
|
|
65
|
-
Final verification owner: <person or delivery role>
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
The contract belongs to shape-work and is consumed by delivery. A child issue contributes to the
|
|
69
|
-
epic but does not authorize its siblings, change its acceptance, or close the parent. Green child
|
|
70
|
-
checks are not aggregate verification. `deliver-work` owns the whole-result check when the request
|
|
71
|
-
covers the epic, and `batch-work` reuses this same contract for an explicitly selected batch.
|
|
72
|
-
|
|
73
|
-
## Routing belongs to the developer
|
|
74
|
-
|
|
75
|
-
Expose the frontier without choosing an execution workflow:
|
|
76
|
-
|
|
77
|
-
- `deliver-work` can deliver any one ready issue, including issues from a larger sequential graph;
|
|
78
|
-
- `batch-work` consumes an existing dependency-mapped issue set only when the developer explicitly
|
|
79
|
-
requests integrated parallel execution;
|
|
80
|
-
- the existence of several issues never invokes or recommends batch-work by itself.
|
|
81
|
-
|
|
82
|
-
Issue creation is a planning write, not implementation authority. Do not edit product code, start a
|
|
83
|
-
batch, merge, deploy, or perform external delivery effects under a planning-only shape-work invocation.
|
|
84
|
-
|
|
85
|
-
## Plan-work reconciliation
|
|
86
|
-
|
|
87
|
-
When the origin is a plan-work handoff, update the handoff and map idempotently after materializing
|
|
88
|
-
the issues. Link every implementation issue, record the ready or blocked frontier, and move the
|
|
89
|
-
branch from shaping to `delivery-ready` only when the completion invariant holds. Preserve
|
|
90
|
-
concurrent map entries and keep decision tickets canonical for their evidence.
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# Frontend mockups
|
|
2
|
-
|
|
3
|
-
Use a mockup only when seeing the behavior will improve a decision.
|
|
4
|
-
|
|
5
|
-
## Grounding
|
|
6
|
-
|
|
7
|
-
Inspect the project's tokens, components, and nearby views. Reuse established patterns. When the
|
|
8
|
-
system lacks a needed pattern, label the proposal as new instead of presenting it as existing.
|
|
9
|
-
|
|
10
|
-
## Fidelity scaling
|
|
11
|
-
|
|
12
|
-
- **Sketch or wireframe:** enough to compare structure, states, or flow.
|
|
13
|
-
- **Renderable proposal:** useful when visual hierarchy or interaction behavior cannot be judged
|
|
14
|
-
from a sketch.
|
|
15
|
-
|
|
16
|
-
Build only the fidelity needed for the open decision.
|
|
17
|
-
|
|
18
|
-
## Evidence
|
|
19
|
-
|
|
20
|
-
Show the states and viewport sizes relevant to the decision, including keyboard or failure behavior
|
|
21
|
-
when those are in scope. Keep the artifact inspectable and capture the developer's decision and the
|
|
22
|
-
reason behind it. Implementation authority comes from the later implementation request, not from a
|
|
23
|
-
separate mockup approval state.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: simplifier
|
|
3
|
-
description: Simplifies an existing implementation or diff by removing unnecessary code, abstractions, dependencies, and solution layers while preserving required behavior. Use manually when the developer asks to simplify, reduce code, remove over-engineering, or find a more direct solution. Not for code golf, speculative rewrites, initial feature design, or changing product behavior.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Simplifier
|
|
8
|
-
|
|
9
|
-
Make the solution smaller in concepts and code without making it harder to understand.
|
|
10
|
-
|
|
11
|
-
Read the request, affected code, project conventions, current diff, and relevant checks. Establish
|
|
12
|
-
the required behavior before editing. Then simplify in this order:
|
|
13
|
-
|
|
14
|
-
1. Delete code, options, branches, configuration, and files that serve no current requirement.
|
|
15
|
-
2. Reuse an existing project helper or pattern instead of maintaining a duplicate.
|
|
16
|
-
3. Prefer the standard library, native platform behavior, or an already-installed dependency over
|
|
17
|
-
custom machinery.
|
|
18
|
-
4. Collapse wrappers, layers, and abstractions that add indirection without a current responsibility
|
|
19
|
-
or requirement. Preserve cohesive boundaries even with one caller.
|
|
20
|
-
5. Express the remaining behavior directly and readably.
|
|
21
|
-
|
|
22
|
-
Reduce lines when deletion reflects a simpler solution. Do not compress readable code into dense
|
|
23
|
-
expressions merely to lower the line count. A clear loop can be simpler than a clever one-liner.
|
|
24
|
-
|
|
25
|
-
Preserve required behavior, public contracts, validation at trust boundaries, security,
|
|
26
|
-
accessibility, error handling that prevents data loss, and justified performance characteristics.
|
|
27
|
-
Keep tests that protect behavior; remove only tests for behavior that no longer exists or tests
|
|
28
|
-
that duplicate the same signal without value.
|
|
29
|
-
|
|
30
|
-
Stay inside the requested surface. Do not turn a focused simplification into an architectural
|
|
31
|
-
rewrite or introduce a new dependency to save a few lines.
|
|
32
|
-
|
|
33
|
-
After editing, inspect the final diff and run the smallest relevant checks. Report what was removed
|
|
34
|
-
or made more direct, the verification result, and any complexity that remains because it serves a
|
|
35
|
-
real requirement. If the implementation is already simple, leave it unchanged and say so.
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: simplifier-audit
|
|
3
|
-
description: Audits an entire repository for unnecessary code, abstractions, dependencies, and solution layers while leaving files unchanged. Use manually when the developer asks for a simplification audit, over-engineering audit, deletion candidates, or a repo-wide search for simpler solutions. Not for applying fixes, code golf, or a general correctness, security, or performance audit.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Audit for simplification
|
|
8
|
-
|
|
9
|
-
Find the repository's strongest opportunities to own less code and fewer solution layers without
|
|
10
|
-
changing required behavior.
|
|
11
|
-
|
|
12
|
-
Inspect the project structure, dependencies, conventions, representative flows, and usages of each
|
|
13
|
-
candidate before reporting it. Look for:
|
|
14
|
-
|
|
15
|
-
- dead or speculative behavior that no current requirement or caller uses;
|
|
16
|
-
- duplicate helpers and parallel implementations;
|
|
17
|
-
- custom code replaced by the standard library, native platform behavior, or an installed
|
|
18
|
-
dependency;
|
|
19
|
-
- wrappers, factories, layers, configuration, and abstractions without a current responsibility or requirement;
|
|
20
|
-
- dependencies used for behavior the project or platform already provides.
|
|
21
|
-
|
|
22
|
-
Prefer a short ranked list of high-confidence findings over a large speculative inventory. For each
|
|
23
|
-
finding, name the location, evidence that the complexity is unnecessary, the simpler replacement,
|
|
24
|
-
and any behavior or migration constraint that must be preserved. Do not estimate saved lines unless
|
|
25
|
-
the deletion is directly countable.
|
|
26
|
-
|
|
27
|
-
Preserve cohesive responsibilities and protected invariants even with one caller.
|
|
28
|
-
|
|
29
|
-
Do not apply fixes. Do not treat required validation, security, accessibility, data-loss protection,
|
|
30
|
-
justified performance, or useful tests as bloat. If the repository is already simple, say so.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: simplifier-review
|
|
3
|
-
description: Reviews the current implementation diff for unnecessary code, abstractions, dependencies, and solution layers without changing files. It activates during code review, including deliver-work review, when the candidate should be checked for a simpler solution. It skips whole-repository audits, initial design, code golf, and correctness or security review outside complexity caused by the diff.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Review for simplification
|
|
7
|
-
|
|
8
|
-
Find concrete ways to make the current diff smaller in concepts and code while preserving its
|
|
9
|
-
required behavior.
|
|
10
|
-
|
|
11
|
-
Read the request, diff, affected code, project conventions, and relevant checks. Look for:
|
|
12
|
-
|
|
13
|
-
- code, branches, configuration, options, files, or dependencies with no current requirement;
|
|
14
|
-
- duplicated behavior already provided by the project;
|
|
15
|
-
- custom machinery covered by the standard library, native platform behavior, or an installed
|
|
16
|
-
dependency;
|
|
17
|
-
- wrappers, layers, factories, and abstractions without a current responsibility or requirement;
|
|
18
|
-
- indirect or dense code that has a more direct, readable form.
|
|
19
|
-
|
|
20
|
-
Do not recommend code golf. Do not remove required behavior, public contracts, trust-boundary
|
|
21
|
-
validation, security, accessibility, data-loss protection, justified performance, or tests that
|
|
22
|
-
protect real behavior.
|
|
23
|
-
|
|
24
|
-
Preserve a cohesive named responsibility even with one caller. Apply
|
|
25
|
-
[finding calibration](../check-work/references/findings.md): require a concrete benefit from a
|
|
26
|
-
replacement, and do not turn a reasonable alternative into a required correction.
|
|
27
|
-
|
|
28
|
-
When [`quality-ratchet`](../quality-ratchet/SKILL.md) evidence is available, consume it before
|
|
29
|
-
forming findings. Read the diff and implementation yourself: added/changed/deleted files, NLOC,
|
|
30
|
-
legacy-before/after, dependency deltas, and unavailable optional analyzers are evidence, not an
|
|
31
|
-
oracle or threshold. Preserve machinery justified by real provider, runtime-selection,
|
|
32
|
-
compatibility, or trust-boundary requirements. Report at most one materially constraining adjacent
|
|
33
|
-
opportunity and leave unrelated debt to `scope-guard`.
|
|
34
|
-
|
|
35
|
-
Report only supported, actionable findings. For each, name the location, unnecessary complexity,
|
|
36
|
-
and simpler replacement. Rank material deletions and dependency removals first. Do not invent a
|
|
37
|
-
line-savings total. If there is nothing worth changing, report `No simplification findings.`
|
|
38
|
-
|
|
39
|
-
This review is read-only and complements correctness, security, and scope review; it never replaces
|
|
40
|
-
them.
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: understand-work
|
|
3
|
-
description: Questions out what the developer actually needs behind a stated wish, one load-bearing question at a time. User-invoked directly or as the questioning stage of plan-work. Not for requests whose goal is already articulated or for facts the repository answers.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Understand work
|
|
8
|
-
|
|
9
|
-
Find the need behind the stated wish. The deliverable is a settled understanding — what the
|
|
10
|
-
developer wants, why now, and what was ruled out — not a plan or a solution.
|
|
11
|
-
|
|
12
|
-
## Questioning loop
|
|
13
|
-
|
|
14
|
-
Resolve everything the repository, project policy, and conversation already answer before asking
|
|
15
|
-
anything. Then, for each open point that materially changes the goal:
|
|
16
|
-
|
|
17
|
-
- Present the concrete tension with materially different alternatives.
|
|
18
|
-
- Recommend one and name its consequence.
|
|
19
|
-
- Ask one load-bearing question at a time and wait for the answer.
|
|
20
|
-
- Record the choice, the reason, and every ruled-out direction with its reason.
|
|
21
|
-
|
|
22
|
-
Dig beneath the stated wish: what becomes possible when this exists, who feels the difference, and
|
|
23
|
-
why it matters now. Do not treat silence, momentum, or approval of a larger bundle as an answer to
|
|
24
|
-
a specific question. Do not propose a technical solution while the goal is still moving.
|
|
25
|
-
|
|
26
|
-
## Exit
|
|
27
|
-
|
|
28
|
-
Questioning ends when the developer says it is done or when further answers stop changing the goal.
|
|
29
|
-
Deliver the settled understanding: the goal, its motivation, the choices made with their reasons,
|
|
30
|
-
the ruled-out directions, and the questions that remain open. Under plan-work this informs the
|
|
31
|
-
mission plan; it does not by itself require a plain-language approval gate. Standalone, report it
|
|
32
|
-
directly.
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: writing-skills
|
|
3
|
-
description: Doctrine for writing and validating agent-os skills, loaded before creating or editing any SKILL.md, description, or eval case in this framework. Not for ordinary coding tasks that do not touch skill files.
|
|
4
|
-
disable-model-invocation: true
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
# Writing skills
|
|
8
|
-
|
|
9
|
-
Write a skill as a compact program for an agent, not a transcript of how one successful run happened.
|
|
10
|
-
|
|
11
|
-
## Contract
|
|
12
|
-
|
|
13
|
-
Make these elements discoverable without forcing headings when prose is clearer:
|
|
14
|
-
|
|
15
|
-
- **Objective:** the observable result.
|
|
16
|
-
- **Inputs:** the minimum context and tools to inspect.
|
|
17
|
-
- **Working surface:** what the agent may create or change when the request authorizes it.
|
|
18
|
-
- **Boundaries:** product decisions, destructive actions, or external effects the request does not cover.
|
|
19
|
-
- **Ground truth:** the checks or observations that decide success.
|
|
20
|
-
- **Loop:** inspect, act, evaluate, and adapt.
|
|
21
|
-
- **Exit:** the delivered artifact, evidence, or precise blocker.
|
|
22
|
-
|
|
23
|
-
The description says what the skill does, when it applies, and when it does not. Keep execution detail
|
|
24
|
-
in the body.
|
|
25
|
-
|
|
26
|
-
## Freedom and control
|
|
27
|
-
|
|
28
|
-
- Lock objectives, boundaries, ground truth, and stop conditions. Let the agent choose local tactics.
|
|
29
|
-
- The developer's request is the authority boundary. Do not add a second approval ceremony for work
|
|
30
|
-
the request already asks the agent to perform.
|
|
31
|
-
- Ask the developer only when an unresolved product choice would materially change the outcome.
|
|
32
|
-
- Use prose for judgment, examples for preferred shapes, and scripts for exact transformations.
|
|
33
|
-
- Add ordering only where changing the order causes a demonstrated failure.
|
|
34
|
-
- Keep references one hop away and load them only when the task needs them.
|
|
35
|
-
|
|
36
|
-
## Enforcement ladder
|
|
37
|
-
|
|
38
|
-
Choose the lowest layer that can reliably stop the failure:
|
|
39
|
-
|
|
40
|
-
1. **Deterministic invariant → test or lint.** Machine-checkable repository facts belong in an
|
|
41
|
-
executable validator with a red case.
|
|
42
|
-
2. **Fragile operation → script, hook, or CI.** Put parsing, identity, idempotency, and exact writes
|
|
43
|
-
behind one deterministic operation.
|
|
44
|
-
3. **Semantic judgment → skill plus eval.** Use prose for reasoning that depends on meaning, then
|
|
45
|
-
test it with trigger cases and blind forward tests.
|
|
46
|
-
4. **Context or preference → policy.** Record project-specific defaults where the agent reads them
|
|
47
|
-
at decision time.
|
|
48
|
-
5. **Product intent → developer decision.** Ask only for the unresolved choice, with a recommendation.
|
|
49
|
-
|
|
50
|
-
Start from observed failure evidence and recurrence risk. Do not promote a preference into
|
|
51
|
-
infrastructure or leave a deterministic invariant as a reminder.
|
|
52
|
-
|
|
53
|
-
## Anti-patterns (delete on sight)
|
|
54
|
-
|
|
55
|
-
- **No-ops**: lines the agent already does by default.
|
|
56
|
-
- **Tactic locks**: prescribing the method when several methods can satisfy the contract.
|
|
57
|
-
- **Duplication**: one source of truth per meaning; link, do not restate.
|
|
58
|
-
- **Sediment**: stale layers from old iterations; prune when editing.
|
|
59
|
-
- **Audit theater**: receipts, states, or logs that do not protect recovery, correctness, or trust.
|
|
60
|
-
- **Authority theater**: asking again for permission already granted by the direct request.
|
|
61
|
-
|
|
62
|
-
## Definition of done — a skill is not finished until
|
|
63
|
-
|
|
64
|
-
1. Structural validation passes: folder name equals `name`, frontmatter has `name` + `description`, and manual skills (including manual workflows and this meta-skill) have `disable-model-invocation: true` and `agents/openai.yaml` with `policy.allow_implicit_invocation: false`. Automatic skills carry neither gate.
|
|
65
|
-
2. At least two positive and two negative trigger cases describe the intended boundary.
|
|
66
|
-
3. Risky or complex behavior has a blind forward test against the observable contract, not the
|
|
67
|
-
preferred reasoning trace.
|
|
68
|
-
4. Retired skills move to root `deprecated/`, never get deleted, and re-enter `skills/` only through this definition of done again.
|
/package/{skills/batch-work → plugins/agent-os-core/skills/capture-intent}/agents/openai.yaml
RENAMED
|
File without changes
|
/package/{skills/deliver-work → plugins/agent-os-core/skills/explain-work}/agents/openai.yaml
RENAMED
|
File without changes
|
/package/{skills/dispatch-next → plugins/agent-os-core/skills/list-skills}/agents/openai.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|