cyber-aced 0.3.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.
Files changed (77) hide show
  1. package/.claude-plugin/plugin.json +18 -0
  2. package/.plugin/pins.json +1 -0
  3. package/.plugin/plugin.json +18 -0
  4. package/agents/aced-case-judge.md +165 -0
  5. package/agents/aced-impl-judge.md +55 -0
  6. package/agents/aced-scenario-writer.md +76 -0
  7. package/agents/aced-spec-validator.md +66 -0
  8. package/governances/README.md +52 -0
  9. package/governances/agent-tool-output.md +86 -0
  10. package/governances/cli-resolution.md +102 -0
  11. package/governances/skill-design.md +258 -0
  12. package/governances/skill-repo-structure.md +173 -0
  13. package/package.json +44 -0
  14. package/readme.md +124 -0
  15. package/skills/aced-architect-impl/README.md +9 -0
  16. package/skills/aced-architect-impl/SKILL.md +73 -0
  17. package/skills/aced-builder-impl/README.md +14 -0
  18. package/skills/aced-builder-impl/SKILL.md +46 -0
  19. package/skills/aced-builder-spec/README.md +15 -0
  20. package/skills/aced-builder-spec/SKILL.md +130 -0
  21. package/skills/aced-fit/README.md +21 -0
  22. package/skills/aced-fit/SKILL.md +105 -0
  23. package/skills/aced-impl-producer/SKILL.md +75 -0
  24. package/skills/add-scenario/README.md +25 -0
  25. package/skills/add-scenario/SKILL.md +75 -0
  26. package/skills/bench/README.md +64 -0
  27. package/skills/bench/SKILL.md +199 -0
  28. package/skills/bench/scripts/bench-claude-code.mts +187 -0
  29. package/skills/bench/scripts/bench-compare.mts +369 -0
  30. package/skills/bench/scripts/bench-record.mts +133 -0
  31. package/skills/bench/scripts/bench.mts +930 -0
  32. package/skills/check-freshness/README.md +57 -0
  33. package/skills/check-freshness/SKILL.md +76 -0
  34. package/skills/check-freshness/scripts/check-freshness.mts +399 -0
  35. package/skills/compare/README.md +25 -0
  36. package/skills/compare/SKILL.md +87 -0
  37. package/skills/contribute-skill/README.md +25 -0
  38. package/skills/contribute-skill/SKILL.md +241 -0
  39. package/skills/contribute-skill/scripts/source.mts +188 -0
  40. package/skills/define-agent/README.md +40 -0
  41. package/skills/define-agent/SKILL.md +279 -0
  42. package/skills/define-command/README.md +36 -0
  43. package/skills/define-command/SKILL.md +174 -0
  44. package/skills/define-governance/SKILL.md +151 -0
  45. package/skills/define-skill/README.md +37 -0
  46. package/skills/define-skill/SKILL.md +200 -0
  47. package/skills/extract-situation/README.md +32 -0
  48. package/skills/extract-situation/SKILL.md +54 -0
  49. package/skills/extract-situation/scripts/extract-situation.mts +287 -0
  50. package/skills/improve/README.md +25 -0
  51. package/skills/improve/SKILL.md +100 -0
  52. package/skills/improve-skill/README.md +38 -0
  53. package/skills/improve-skill/SKILL.md +169 -0
  54. package/skills/improve-skill/references/check-definitions.md +215 -0
  55. package/skills/improve-skill/scripts/validate.mts +1033 -0
  56. package/skills/init-aced/README.md +5 -0
  57. package/skills/init-aced/SKILL.md +76 -0
  58. package/skills/init-aced/scripts/ensure-results-ignored.mts +117 -0
  59. package/skills/list-skills/README.md +19 -0
  60. package/skills/list-skills/SKILL.md +55 -0
  61. package/skills/list-skills/scripts/list-skills.mts +210 -0
  62. package/skills/manage/README.md +35 -0
  63. package/skills/manage/SKILL.md +65 -0
  64. package/skills/manage-model-runners/README.md +25 -0
  65. package/skills/manage-model-runners/SKILL.md +113 -0
  66. package/skills/manage-skill-dirs/README.md +17 -0
  67. package/skills/manage-skill-dirs/SKILL.md +54 -0
  68. package/skills/manage-skill-dirs/scripts/manage-skill-dirs.mts +328 -0
  69. package/skills/repair-private-skills/README.md +17 -0
  70. package/skills/repair-private-skills/SKILL.md +59 -0
  71. package/skills/repair-private-skills/scripts/repair-private-skills.mts +279 -0
  72. package/skills/report/README.md +25 -0
  73. package/skills/report/SKILL.md +74 -0
  74. package/skills/run/README.md +25 -0
  75. package/skills/run/SKILL.md +220 -0
  76. package/skills/skillify/README.md +25 -0
  77. package/skills/skillify/SKILL.md +141 -0
@@ -0,0 +1,141 @@
1
+ ---
2
+ name: skillify
3
+ description: 'Use this skill when generalizing what the current session actually did into a reusable SKILL.md — "skillify this", "turn what we just did into a skill", "make this reusable". Not for scaffolding a skill from scratch (define-skill), extracting the session into an agent or persona (define-agent), a reference-only rule set (define-governance), or diagnosing failing evals (improve).'
4
+ ---
5
+
6
+ # Skillify
7
+
8
+ Extracts a repeatable workflow from what was done in the current session and creates a reusable agent skill from it. Different from `aced:define-skill`, which scaffolds from a blank template — this skill analyzes what actually happened and generalizes it.
9
+
10
+ ## When to use
11
+
12
+ - The user says "skillify this", "make this reusable", "turn what we just did into a skill", or similar
13
+ - A multi-step workflow was completed manually and is worth encoding for future use
14
+ - You want to capture decisions made in a session so an agent can repeat them without re-deriving
15
+
16
+ ## Defer when…
17
+
18
+ `skillify` owns generalizing **the current session's** work. Defer when the intent belongs to a sibling that shares the same "skill" / "reusable" vocabulary:
19
+
20
+ | Intent | Sibling |
21
+ |---|---|
22
+ | scaffolding a skill **from scratch** — not from this session's work | `define-skill` |
23
+ | extracting the session into a named reusable **agent** / delegated worker / an in-context **persona** | `define-agent` |
24
+ | capturing the session as a **reference-only rule set** other skills load but never execute as steps | `define-governance` |
25
+ | **diagnosing** why an existing skill's golden-set evals fail | `improve` |
26
+
27
+ The tell is the *target artifact*, not the "reuse this" framing: an agent/persona, a reference rule set, or an eval diagnosis is a sibling's job even when the request points at what the session just did.
28
+
29
+ ## Steps
30
+
31
+ Load the **skill-design** governance before drafting:
32
+
33
+ ```bash
34
+ npx cyberplace@0.2.4 governance show skill-design
35
+ ```
36
+
37
+ Read stdout as the authoritative rules for principles, progressive disclosure, and description structure.
38
+
39
+ ### 1. Identify the workflow to generalize
40
+
41
+ From the session history, extract:
42
+ - **Trigger:** What situation prompted this work? What would cause someone to want to do this again?
43
+ - **Decisions:** What choices were made and why? (These are the core of the skill)
44
+ - **Steps:** What was done, in what order?
45
+ - **Inputs:** What did the workflow need to know upfront?
46
+ - **Outputs:** What did it produce or change?
47
+
48
+ Separate decisions from documentation. The skill should encode what to decide and how — not reference material the model already knows.
49
+
50
+ ### 2. Determine skill placement and pattern
51
+
52
+ Placement:
53
+
54
+ | Signal | Placement |
55
+ |---|---|
56
+ | Workflow is personal, not tied to a specific codebase | User (`~/.agents/skills/<name>/`) |
57
+ | Workflow only makes sense for contributors to this repo | Project private (`.agents/skills/<name>/`) |
58
+ | Workflow is meant to be installed by users of this package | Project public (`skills/<name>/`) |
59
+
60
+ Pattern:
61
+
62
+ | Signal | Pattern |
63
+ |---|---|
64
+ | Ordered workflow with multiple decisions or phases | Process |
65
+ | Workflow centered on calling tools or external systems | Tool-based |
66
+ | Workflow mainly enforcing tone, structure, or quality | Standard |
67
+
68
+ Ask the user if the context is ambiguous.
69
+
70
+ ### 3. Draft the skill name and description
71
+
72
+ - **Name:** A short verb-noun or noun phrase that identifies the workflow (e.g., `patch-skill`, `deploy-preview`, `sync-tokens`)
73
+ - **Description:** ≤120 characters; must contain "Use this skill when"; specific enough to discriminate from other skills
74
+
75
+ Test the description: would an agent activate this skill in the right situation and NOT activate it otherwise?
76
+
77
+ ### 4. Write SKILL.md
78
+
79
+ Use this structure:
80
+
81
+ ```markdown
82
+ ---
83
+ name: <name>
84
+ description: Use this skill when <trigger>. <One-line summary.>
85
+ ---
86
+
87
+ # <Title>
88
+
89
+ ## When to use
90
+
91
+ <Precise trigger conditions>
92
+
93
+ ## Steps
94
+
95
+ ### 1. <Step title>
96
+ <Decision logic, not documentation>
97
+
98
+ ### 2. <Step title>
99
+ ...
100
+
101
+ ## What NOT to do
102
+
103
+ - <Common mistake or anti-pattern>
104
+ ```
105
+
106
+ Rules:
107
+ - Encode the WHY behind each step (the constraint or decision), not just the WHAT
108
+ - Flag deterministic steps as candidates for script extraction (see **skill-design** § Extract deterministic logic)
109
+ - Keep each step focused on one decision or action
110
+
111
+ ### 5. Flag script-extraction candidates
112
+
113
+ Per **skill-design** § Extract deterministic logic, mark any step that:
114
+ - Produces the same output given the same input (no judgment needed)
115
+ - Involves text manipulation, file I/O, or structured data processing
116
+
117
+ Add a TODO comment in the skill body:
118
+ ```
119
+ <!-- TODO: extract to src/<domain>/... -->
120
+ ```
121
+
122
+ ### 6. Validate
123
+
124
+ Invoke `improve-skill` on the draft. Fix any CRITICAL findings before continuing.
125
+
126
+ Key checks to watch for:
127
+ - **Q1:** Does the description contain "Use this skill when"?
128
+ - **Q5:** Is the description ≤1024 characters?
129
+ - **Q6:** Are there baked-in stack assumptions that should be detected at runtime?
130
+
131
+ ### 7. Place and link
132
+
133
+ Use `aced:define-skill` conventions:
134
+
135
+ ```bash
136
+ # If npx skills is available:
137
+ npx skills add <path-to-skill>
138
+
139
+ # Manual fallback:
140
+ ln -sf <path-to-skill> ~/.claude/skills/<name>
141
+ ```