holycodex 0.16.4-dev.77.1 → 0.16.4
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 +0 -5
- package/dist/agent.js +38 -52
- package/dist/assets/plugin/plugin.json +1 -1
- package/dist/assets/plugin/skills/code-review/SKILL.md +24 -5
- package/dist/assets/plugin/skills/code-review/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/commit/SKILL.md +12 -6
- package/dist/assets/plugin/skills/commit/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/compress/SKILL.md +15 -4
- package/dist/assets/plugin/skills/compress/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/context7-cli/SKILL.md +10 -4
- package/dist/assets/plugin/skills/context7-cli/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/debugging/SKILL.md +23 -4
- package/dist/assets/plugin/skills/debugging/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/handoff/SKILL.md +13 -4
- package/dist/assets/plugin/skills/handoff/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/operations/SKILL.md +27 -7
- package/dist/assets/plugin/skills/operations/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/plan/SKILL.md +21 -6
- package/dist/assets/plugin/skills/plan/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/plan-review/SKILL.md +19 -5
- package/dist/assets/plugin/skills/plan-review/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/programming/SKILL.md +18 -4
- package/dist/assets/plugin/skills/programming/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/refactor/SKILL.md +18 -4
- package/dist/assets/plugin/skills/refactor/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/rules/SKILL.md +15 -4
- package/dist/assets/plugin/skills/rules/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/stop-slop/SKILL.md +42 -5
- package/dist/assets/plugin/skills/stop-slop/agents/openai.yaml +1 -1
- package/dist/assets/plugin/skills/testing-quality.md +26 -10
- package/dist/assets/plugin/skills/writing-for-agents/SKILL-MECHANICS.md +16 -6
- package/dist/assets/plugin/skills/writing-for-agents/SKILL.md +55 -29
- package/dist/assets/plugin/skills/writing-for-agents/agents/openai.yaml +1 -1
- package/dist/index.js +53 -69
- package/package.json +3 -3
- package/dist/assets/plugin/skills/grill-me/SKILL.md +0 -21
- package/dist/assets/plugin/skills/grill-me/agents/openai.yaml +0 -6
|
@@ -1,35 +1,61 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: writing-for-agents
|
|
3
|
-
description: Use when
|
|
3
|
+
description: Use when Root prepares or reviews a subagent delegation, handoff, profile, skill, prompt, or agent-facing instruction; write a low-context independent contract. Load it before the first dispatch, then reuse it while the current context contains a complete usable load.
|
|
4
4
|
---
|
|
5
5
|
|
|
6
6
|
# Writing for agents
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
and
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
8
|
+
Treat each instruction as an interface with one contract:
|
|
9
|
+
|
|
10
|
+
- **Owner:** the role permitted to act or decide.
|
|
11
|
+
- **Boundary:** the exact scope, authority, constraints, and escalation point.
|
|
12
|
+
- **Completion:** the observable outcome and proof that permit the agent to stop.
|
|
13
|
+
- **Return:** the result Root needs to integrate: outcome or findings, changed
|
|
14
|
+
paths, verification, unresolved risk, and any requested decision.
|
|
15
|
+
|
|
16
|
+
Write an objective, scope, retained constraints, evidence, exclusions, and the
|
|
17
|
+
exact missing fact or material choice that returns to the owner. The receiver
|
|
18
|
+
must be able to act, prove, and stop without reconstructing intent.
|
|
19
|
+
|
|
20
|
+
Before any Root subagent dispatch, ensure this skill is fully loaded and applied
|
|
21
|
+
in the current context. Reuse the loaded instructions for later dispatches
|
|
22
|
+
while they remain complete and available; reload only when the current context
|
|
23
|
+
no longer contains a complete usable load.
|
|
24
|
+
|
|
25
|
+
## Dispatch contract
|
|
26
|
+
|
|
27
|
+
Root owns dispatch. Every specialist invocation is a bounded Assignment whose
|
|
28
|
+
objective, exact scope, exclusions, dependencies, acceptance criteria, proof
|
|
29
|
+
route, and return format are explicit. Independent, non-overlapping
|
|
30
|
+
Assignments may run concurrently; dependent work and writes to the same
|
|
31
|
+
mutable seam remain ordered. Leaves execute only their Assignment: they do not
|
|
32
|
+
delegate, message peers, mutate global Intent lifecycle, perform Git/VCS, or
|
|
33
|
+
make material product or architecture decisions.
|
|
34
|
+
|
|
35
|
+
## Information design
|
|
36
|
+
|
|
37
|
+
A **context pointer** names out-of-context material and front-loads the branches that load it. Keep one trigger per genuine branch; synonyms spend permanent context without improving routing.
|
|
38
|
+
|
|
39
|
+
Budget two loads:
|
|
40
|
+
|
|
41
|
+
- **Context load:** always-loaded descriptions and repository rules.
|
|
42
|
+
- **Cognitive load:** material a person must remember and select.
|
|
43
|
+
|
|
44
|
+
Place information by immediacy: in-file steps, in-file reference, then disclosed reference. Inline what every invocation needs. Put branch-specific mechanics behind a clear pointer. Co-locate each concept with its rules and caveats; split real invocation or sequence branches when one file sprawls or later steps cause premature completion.
|
|
45
|
+
|
|
46
|
+
Each step needs a clear, demanding completion criterion. Sharpen a vague bound before splitting the sequence. Use leading words with useful pretrained meaning to compress repeated concepts. Prefer positive steering; keep prohibitions for hard guardrails and pair them with the target behavior.
|
|
47
|
+
|
|
48
|
+
## Pruning
|
|
49
|
+
|
|
50
|
+
Keep each meaning in one source of truth. Treat code, configuration, directory layout, and `--help` as authoritative environment lookups; document only reasons, gotchas, or contracts the environment cannot reveal. Delete stale caches, irrelevant branches, sediment, and instructions that do not change model behavior.
|
|
51
|
+
|
|
52
|
+
Use architectural role names: Root owns material decisions, Workers implement bounded seams, Reviewers repair their assigned findings to fixed point, and other specialists follow their literal authority. Continuations carry changed constraints, evidence, decisions, and semantic delta instead of replaying accepted context.
|
|
53
|
+
|
|
54
|
+
Project the single repository surgical-mutation rule from `AGENTS.md` into
|
|
55
|
+
every write-capable Assignment: minimize the edit/write surface and operation
|
|
56
|
+
count while staying careful, complete, and evidence-driven. Do not create a
|
|
57
|
+
weaker or competing mutation variant in a profile, skill, or dispatch prompt.
|
|
58
|
+
|
|
59
|
+
When the document is a skill, read [SKILL-MECHANICS.md](SKILL-MECHANICS.md) for invocation and frontmatter mechanics.
|
|
60
|
+
|
|
61
|
+
Completion means the instruction routes at the right branch, names authority and exclusions, prevents premature completion, supplies checkable proof, and contains no duplicated or no-op policy.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface:
|
|
2
2
|
display_name: "Writing for agents"
|
|
3
3
|
short_description: "Design compact, independently actionable agent instructions."
|
|
4
|
-
default_prompt: "
|
|
4
|
+
default_prompt: "When Root prepares a delegation or agent-facing instruction, ensure this skill is loaded and applied in the current context, then write or review a compact contract with behavior, authority, evidence, escalation, completion, and the repository surgical-mutation rule."
|
|
5
5
|
policy:
|
|
6
6
|
allow_implicit_invocation: true
|