holycodex 0.16.4-dev.73.1 → 0.16.4-dev.78.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.
Files changed (37) hide show
  1. package/README.md +5 -0
  2. package/dist/agent.js +54 -38
  3. package/dist/assets/plugin/plugin.json +1 -1
  4. package/dist/assets/plugin/skills/code-review/SKILL.md +5 -24
  5. package/dist/assets/plugin/skills/code-review/agents/openai.yaml +1 -1
  6. package/dist/assets/plugin/skills/commit/SKILL.md +6 -12
  7. package/dist/assets/plugin/skills/commit/agents/openai.yaml +1 -1
  8. package/dist/assets/plugin/skills/compress/SKILL.md +4 -15
  9. package/dist/assets/plugin/skills/compress/agents/openai.yaml +1 -1
  10. package/dist/assets/plugin/skills/context7-cli/SKILL.md +4 -10
  11. package/dist/assets/plugin/skills/context7-cli/agents/openai.yaml +1 -1
  12. package/dist/assets/plugin/skills/debugging/SKILL.md +4 -23
  13. package/dist/assets/plugin/skills/debugging/agents/openai.yaml +1 -1
  14. package/dist/assets/plugin/skills/grill-me/SKILL.md +21 -0
  15. package/dist/assets/plugin/skills/grill-me/agents/openai.yaml +6 -0
  16. package/dist/assets/plugin/skills/handoff/SKILL.md +4 -13
  17. package/dist/assets/plugin/skills/handoff/agents/openai.yaml +1 -1
  18. package/dist/assets/plugin/skills/operations/SKILL.md +7 -27
  19. package/dist/assets/plugin/skills/operations/agents/openai.yaml +1 -1
  20. package/dist/assets/plugin/skills/plan/SKILL.md +6 -21
  21. package/dist/assets/plugin/skills/plan/agents/openai.yaml +1 -1
  22. package/dist/assets/plugin/skills/plan-review/SKILL.md +5 -19
  23. package/dist/assets/plugin/skills/plan-review/agents/openai.yaml +1 -1
  24. package/dist/assets/plugin/skills/programming/SKILL.md +4 -18
  25. package/dist/assets/plugin/skills/programming/agents/openai.yaml +1 -1
  26. package/dist/assets/plugin/skills/refactor/SKILL.md +4 -18
  27. package/dist/assets/plugin/skills/refactor/agents/openai.yaml +1 -1
  28. package/dist/assets/plugin/skills/rules/SKILL.md +4 -15
  29. package/dist/assets/plugin/skills/rules/agents/openai.yaml +1 -1
  30. package/dist/assets/plugin/skills/stop-slop/SKILL.md +5 -42
  31. package/dist/assets/plugin/skills/stop-slop/agents/openai.yaml +1 -1
  32. package/dist/assets/plugin/skills/testing-quality.md +10 -26
  33. package/dist/assets/plugin/skills/writing-for-agents/SKILL-MECHANICS.md +6 -16
  34. package/dist/assets/plugin/skills/writing-for-agents/SKILL.md +29 -55
  35. package/dist/assets/plugin/skills/writing-for-agents/agents/openai.yaml +1 -1
  36. package/dist/index.js +69 -53
  37. package/package.json +2 -2
@@ -1,19 +1,9 @@
1
1
  # Skill mechanics
2
2
 
3
- This is the skill-specific branch of [writing-for-agents](SKILL.md): frontmatter, invocation choice, and router skills.
3
+ Use a model-invoked skill when its description names a distinct model-facing
4
+ branch. Keep the description trigger-first and short. Keep routing and
5
+ invocation metadata in `agents/openai.yaml`; the body owns the behavior.
4
6
 
5
- ## Invocation
6
-
7
- A **model-invoked** skill keeps a trigger-first `description` so an agent can select it and another skill can reach its shared reference. The always-loaded pointer spends context on every turn, so use one compact trigger per real branch and remove routing prose from the body.
8
-
9
- A **user-invoked** skill sets `disable-model-invocation: true`. Its description becomes a human-facing one-line summary with trigger lists removed. Use this when only a person should select the skill.
10
-
11
- Shared reference required by user-invoked skills belongs in a plain disclosed file that each can point to.
12
-
13
- ## Splitting by invocation
14
-
15
- Split a model-invoked skill only when a distinct leading word should trigger it independently or another skill must reach it. The independent route must justify its permanent context pointer.
16
-
17
- ## Router skills
18
-
19
- When many user-invoked skills exceed human cognitive load, add one user-invoked router that names them and their branches. A router can guide the person; it cannot autonomously invoke skills whose model invocation is disabled.
7
+ Put uncommon mechanics in a linked reference only when a caller needs them.
8
+ Keep each instruction in one source of truth and avoid copying body text into
9
+ metadata or neighboring skills.
@@ -1,61 +1,35 @@
1
1
  ---
2
2
  name: writing-for-agents
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.
3
+ description: Use when GPT-6 Astra Root writes or reviews a GPT-5.6 Luna specialist contract.
4
4
  ---
5
5
 
6
6
  # Writing for agents
7
7
 
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.
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.
@@ -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: "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."
4
+ default_prompt: "Open the agent-instruction authoring workflow for this invocation."
5
5
  policy:
6
6
  allow_implicit_invocation: true