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.
Files changed (37) hide show
  1. package/README.md +0 -5
  2. package/dist/agent.js +38 -52
  3. package/dist/assets/plugin/plugin.json +1 -1
  4. package/dist/assets/plugin/skills/code-review/SKILL.md +24 -5
  5. package/dist/assets/plugin/skills/code-review/agents/openai.yaml +1 -1
  6. package/dist/assets/plugin/skills/commit/SKILL.md +12 -6
  7. package/dist/assets/plugin/skills/commit/agents/openai.yaml +1 -1
  8. package/dist/assets/plugin/skills/compress/SKILL.md +15 -4
  9. package/dist/assets/plugin/skills/compress/agents/openai.yaml +1 -1
  10. package/dist/assets/plugin/skills/context7-cli/SKILL.md +10 -4
  11. package/dist/assets/plugin/skills/context7-cli/agents/openai.yaml +1 -1
  12. package/dist/assets/plugin/skills/debugging/SKILL.md +23 -4
  13. package/dist/assets/plugin/skills/debugging/agents/openai.yaml +1 -1
  14. package/dist/assets/plugin/skills/handoff/SKILL.md +13 -4
  15. package/dist/assets/plugin/skills/handoff/agents/openai.yaml +1 -1
  16. package/dist/assets/plugin/skills/operations/SKILL.md +27 -7
  17. package/dist/assets/plugin/skills/operations/agents/openai.yaml +1 -1
  18. package/dist/assets/plugin/skills/plan/SKILL.md +21 -6
  19. package/dist/assets/plugin/skills/plan/agents/openai.yaml +1 -1
  20. package/dist/assets/plugin/skills/plan-review/SKILL.md +19 -5
  21. package/dist/assets/plugin/skills/plan-review/agents/openai.yaml +1 -1
  22. package/dist/assets/plugin/skills/programming/SKILL.md +18 -4
  23. package/dist/assets/plugin/skills/programming/agents/openai.yaml +1 -1
  24. package/dist/assets/plugin/skills/refactor/SKILL.md +18 -4
  25. package/dist/assets/plugin/skills/refactor/agents/openai.yaml +1 -1
  26. package/dist/assets/plugin/skills/rules/SKILL.md +15 -4
  27. package/dist/assets/plugin/skills/rules/agents/openai.yaml +1 -1
  28. package/dist/assets/plugin/skills/stop-slop/SKILL.md +42 -5
  29. package/dist/assets/plugin/skills/stop-slop/agents/openai.yaml +1 -1
  30. package/dist/assets/plugin/skills/testing-quality.md +26 -10
  31. package/dist/assets/plugin/skills/writing-for-agents/SKILL-MECHANICS.md +16 -6
  32. package/dist/assets/plugin/skills/writing-for-agents/SKILL.md +55 -29
  33. package/dist/assets/plugin/skills/writing-for-agents/agents/openai.yaml +1 -1
  34. package/dist/index.js +53 -69
  35. package/package.json +3 -3
  36. package/dist/assets/plugin/skills/grill-me/SKILL.md +0 -21
  37. 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 GPT-6 Astra Root writes or reviews a GPT-5.6 Luna specialist contract.
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
- This skill helps GPT-6 Astra Root author instructions for GPT-5.6 Luna. First
9
- identify Luna's effective context: the generated Luna baseline, repository
10
- `AGENTS.md`, the selected native Role.task, loaded skills, and relevant config
11
- or metadata. Do not restate a directive already visible to that receiver.
12
-
13
- Give each Assignment only the delta Luna needs:
14
-
15
- - objective and exact scope;
16
- - relevant context and authority;
17
- - unique hard constraints and exclusions;
18
- - acceptance criteria and required evidence;
19
- - the material choice or blocker that must escalate;
20
- - the return payload and stopping condition.
21
-
22
- Place new policy at the narrowest owner: Root/session behavior in Root
23
- instructions, repository conventions in `AGENTS.md`, Luna-global constraints in
24
- the generated baseline, task-specific behavior in Role.task, and conditional
25
- workflow in a skill or a disclosed reference. Keep invocation metadata as
26
- routing metadata.
27
-
28
- State completion before optional procedure. Use positive, literal boundaries,
29
- and disclose uncommon branches progressively. Let Astra infer routine safe
30
- defaults and use its judgment to decide what Luna actually needs; do not add
31
- competence scaffolding, generic recipes, or a broad questionnaire.
32
-
33
- When a contract is complete, it is independently actionable for Luna, contains
34
- no same-receiver semantic duplicate, and identifies the evidence that lets Root
35
- integrate the result.
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: "Open the agent-instruction authoring workflow for this invocation."
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