@hobin/developer 0.1.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/LICENSE +21 -0
- package/README.md +231 -0
- package/extensions/developer.ts +700 -0
- package/extensions/skills.ts +89 -0
- package/extensions/state.ts +283 -0
- package/extensions/tool-policy.ts +65 -0
- package/extensions/tui.ts +391 -0
- package/package.json +43 -0
- package/skills/abstraction-review/SKILL.md +87 -0
- package/skills/abstraction-review/references/field-card.md +209 -0
- package/skills/abstraction-review/references/recipe-cards.md +255 -0
- package/skills/abstraction-review/references/repair-table.md +98 -0
- package/skills/abstraction-review/references/worked-examples.md +306 -0
- package/skills/adversarial-eval/SKILL.md +87 -0
- package/skills/model/SKILL.md +76 -0
- package/skills/model/references/problem-modeling.md +262 -0
- package/skills/naming-judgment/SKILL.md +77 -0
- package/skills/naming-judgment/references/elements-of-clojure-naming.md +74 -0
- package/skills/schedule/SKILL.md +71 -0
- package/skills/signal/SKILL.md +75 -0
- package/skills/sketch/SKILL.md +70 -0
- package/skills/specify/SKILL.md +67 -0
- package/skills/verify/SKILL.md +71 -0
- package/skills/visualize/SKILL.md +65 -0
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: specify
|
|
3
|
+
description: "Clarify product meaning, scope, invariants, constraints, counterexamples, and blocking unknowns from a requirement, bug report, code behavior, or implementation request. Use when implementation could be mechanically correct while still being wrong about what must be true."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Specify
|
|
7
|
+
|
|
8
|
+
Clarify what must be true without deciding how to build it.
|
|
9
|
+
|
|
10
|
+
## Core Question
|
|
11
|
+
|
|
12
|
+
What must be true, in scope, and not guessed?
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
- Requirement, product request, bug report, or policy
|
|
17
|
+
- Observed code or UI behavior
|
|
18
|
+
- Existing tests, examples, and accepted decisions
|
|
19
|
+
- Constraints, non-goals, and affected users when known
|
|
20
|
+
|
|
21
|
+
## Output
|
|
22
|
+
|
|
23
|
+
Lead with the user's product language; keep specification labels secondary.
|
|
24
|
+
Produce product meaning, invariant, scope and non-scope, constraints,
|
|
25
|
+
counterexamples, and blocking unknowns. When used inside a larger task, return:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Status: resolved | needs-evidence | not-applicable | blocked
|
|
29
|
+
Result: the clarified product contract
|
|
30
|
+
Basis: request, behavior, examples, and explicit assumptions
|
|
31
|
+
Open questions: unresolved product decisions, or none
|
|
32
|
+
Artifacts: invariant, scope, constraints, and counterexamples
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
Return only this skill's judgment for the question at hand; leave subsequent
|
|
36
|
+
routing to the caller.
|
|
37
|
+
|
|
38
|
+
## Completion
|
|
39
|
+
|
|
40
|
+
Finish when the product contract is precise enough that different reasonable
|
|
41
|
+
implementations would preserve the same meaning. Revisit when the user changes
|
|
42
|
+
scope or new behavior contradicts the invariant.
|
|
43
|
+
|
|
44
|
+
## Method
|
|
45
|
+
|
|
46
|
+
1. Separate desired outcome from proposed implementation.
|
|
47
|
+
2. State the product meaning in the user's language.
|
|
48
|
+
3. Mark in-scope, out-of-scope, and intentionally unchanged behavior.
|
|
49
|
+
4. State the invariant and turn it into checkable constraints.
|
|
50
|
+
5. Pair each important constraint with a violating counterexample.
|
|
51
|
+
6. Distinguish evidence-backed facts, provisional assumptions, and decisions
|
|
52
|
+
only the user or product owner can make.
|
|
53
|
+
7. Ask the smallest clarification question only when guessing would materially
|
|
54
|
+
change the contract.
|
|
55
|
+
|
|
56
|
+
## Missing Evidence
|
|
57
|
+
|
|
58
|
+
Return `needs-evidence` when repository or product evidence can answer the
|
|
59
|
+
question. Return `blocked` only when a human-owned product decision is required.
|
|
60
|
+
Return `not-applicable` when product meaning is already accepted and no scope or
|
|
61
|
+
invariant question remains. Bound non-consequential uncertainty with an
|
|
62
|
+
explicit provisional assumption.
|
|
63
|
+
|
|
64
|
+
## Boundary
|
|
65
|
+
|
|
66
|
+
Do not build a full condition model, design the implementation, schedule
|
|
67
|
+
structural work, mutate artifacts, or verify completion.
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: verify
|
|
3
|
+
description: "Judge what claims are supported by code, tests, diffs, command results, UI states, implementation reports, invariants, or problem models. Use when completion, correctness, coverage, or pass-but-wrong risk depends on mapping current evidence to a concrete claim."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Verify
|
|
7
|
+
|
|
8
|
+
Map evidence to claims without turning green checks into broader proof.
|
|
9
|
+
|
|
10
|
+
## Core Question
|
|
11
|
+
|
|
12
|
+
What claims does the available evidence support?
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
- Claims under review
|
|
17
|
+
- Test or command output, diff, code, UI state, or implementation report
|
|
18
|
+
- Invariant, model, accepted decisions, and verification targets when available
|
|
19
|
+
- Relevant counterexamples and source provenance
|
|
20
|
+
|
|
21
|
+
## Output
|
|
22
|
+
|
|
23
|
+
Lead with the user's claim and observed evidence; keep verification labels secondary.
|
|
24
|
+
Produce a scoped satisfaction judgment, evidence map, target and counterexample
|
|
25
|
+
coverage, evidence strength, wrong implementations that could still pass,
|
|
26
|
+
assumptions, unverified claims, and residual risk. When used inside a larger
|
|
27
|
+
task, return:
|
|
28
|
+
|
|
29
|
+
```text
|
|
30
|
+
Status: resolved | needs-evidence | not-applicable | blocked
|
|
31
|
+
Result: the strongest claim justified by the evidence
|
|
32
|
+
Basis: checks, inspections, provenance, and accepted assumptions
|
|
33
|
+
Open questions: unverified claims or human-owned acceptance, or none
|
|
34
|
+
Artifacts: evidence map and residual risks
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Return only this skill's judgment for the question at hand; leave subsequent
|
|
38
|
+
routing to the caller.
|
|
39
|
+
|
|
40
|
+
## Completion
|
|
41
|
+
|
|
42
|
+
Finish when each stated claim is supported, narrowed, or explicitly left
|
|
43
|
+
unverified, and plausible pass-but-wrong shapes have been considered. Revisit
|
|
44
|
+
after code changes, new evidence, changed claims, or source-provenance changes.
|
|
45
|
+
|
|
46
|
+
## Method
|
|
47
|
+
|
|
48
|
+
1. Extract the exact claims from the request, accepted decisions, implementation
|
|
49
|
+
report, invariant, or model.
|
|
50
|
+
2. Attach concrete evidence to each claim and classify its strength.
|
|
51
|
+
3. Check constraints, forbidden cases, transitions, callers, and abstraction
|
|
52
|
+
stop checks when they are part of the claim.
|
|
53
|
+
4. Distinguish verifier execution from verifier relevance.
|
|
54
|
+
5. Ask what wrong implementation could still pass and name its concrete shape.
|
|
55
|
+
6. Narrow any passing claim that is broader than its evidence.
|
|
56
|
+
7. Separate missing evidence, blocked evidence, human judgment, and residual
|
|
57
|
+
risk instead of hiding them in a passing summary.
|
|
58
|
+
8. For compatibility, bind evidence to the actual source and version. A source
|
|
59
|
+
mismatch is not evidence about the requested target.
|
|
60
|
+
|
|
61
|
+
## Missing Evidence
|
|
62
|
+
|
|
63
|
+
Return `needs-evidence` when an available check or inspection can answer the
|
|
64
|
+
claim. Return `not-applicable` when there is no claim to judge. Return `blocked`
|
|
65
|
+
when required evidence depends on unavailable environment or human acceptance.
|
|
66
|
+
If no claim is stated, infer only the weakest claim justified by the evidence.
|
|
67
|
+
|
|
68
|
+
## Boundary
|
|
69
|
+
|
|
70
|
+
Do not invent product scope, run an entire development workflow, repair the
|
|
71
|
+
implementation, or turn weak evidence into a completion claim.
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: visualize
|
|
3
|
+
description: "Choose and shape the smallest visual surface that materially lowers the cost of inspecting a decision, model, evidence set, architecture relation, UI state, quantitative comparison, or workflow. Use when relationships, cases, sequence, hierarchy, or repeated mappings are materially harder to judge in prose."
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Visualize
|
|
7
|
+
|
|
8
|
+
Make a judgment easier to inspect without making weak evidence look certain.
|
|
9
|
+
|
|
10
|
+
## Core Question
|
|
11
|
+
|
|
12
|
+
What visual surface would materially lower judgment cost?
|
|
13
|
+
|
|
14
|
+
## Inputs
|
|
15
|
+
|
|
16
|
+
- Decision or inspection question
|
|
17
|
+
- Source facts, model, evidence, or relationships
|
|
18
|
+
- Audience and medium constraints
|
|
19
|
+
- Known uncertainty and interpretations to avoid
|
|
20
|
+
|
|
21
|
+
## Output
|
|
22
|
+
|
|
23
|
+
Use the user's concepts as labels; keep visualization terminology secondary.
|
|
24
|
+
Produce whether a visual is useful, the inspection question, recommended form,
|
|
25
|
+
visual content, what it reveals, and what it must not imply. When used inside a
|
|
26
|
+
larger task, return:
|
|
27
|
+
|
|
28
|
+
```text
|
|
29
|
+
Status: resolved | needs-evidence | not-applicable | blocked
|
|
30
|
+
Result: recommended visual form or a decision to use prose
|
|
31
|
+
Basis: structure of the decision and source evidence
|
|
32
|
+
Open questions: missing facts or uncertain relationships, or none
|
|
33
|
+
Artifacts: visual specification or completed visual
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Return only this skill's judgment for the question at hand; leave subsequent
|
|
37
|
+
routing to the caller.
|
|
38
|
+
|
|
39
|
+
## Completion
|
|
40
|
+
|
|
41
|
+
Finish when the chosen surface answers the inspection question with less effort
|
|
42
|
+
than prose and uncertainty remains visible. Revisit when the underlying model,
|
|
43
|
+
evidence, or audience changes.
|
|
44
|
+
|
|
45
|
+
## Method
|
|
46
|
+
|
|
47
|
+
1. Name the decision the user needs to inspect.
|
|
48
|
+
2. Decline a visual when prose is smaller and clearer.
|
|
49
|
+
3. Match structure to form: table for finite mappings, state machine for allowed
|
|
50
|
+
movement, timeline for order, relation map for dependencies, evidence matrix
|
|
51
|
+
for claims and checks, tree for hierarchy, and layered diagram for boundaries.
|
|
52
|
+
4. Use the user's concepts as labels.
|
|
53
|
+
5. Preserve source semantics and mark inferred relationships.
|
|
54
|
+
6. State the overinterpretation the visual must not encourage.
|
|
55
|
+
|
|
56
|
+
## Missing Evidence
|
|
57
|
+
|
|
58
|
+
Return `needs-evidence` when missing facts determine the visual structure.
|
|
59
|
+
Return `not-applicable` when prose is the better surface. Return `blocked` when
|
|
60
|
+
the requested medium or source artifact is unavailable.
|
|
61
|
+
|
|
62
|
+
## Boundary
|
|
63
|
+
|
|
64
|
+
Do not invent architecture, evidence, product meaning, or certainty. Do not use
|
|
65
|
+
a visual to decorate the workflow or replace the judgment it should support.
|