@bendyline/gilde 0.1.16 → 0.1.18
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 +5 -1
- package/authoring/gstack/LICENSE.gstack +21 -0
- package/authoring/gstack/README.md +50 -0
- package/authoring/gstack/evals/cso.json +152 -0
- package/authoring/gstack/evals/design-consultation.json +201 -0
- package/authoring/gstack/evals/document-generate.json +174 -0
- package/authoring/gstack/evals/investigate.json +153 -0
- package/authoring/gstack/evals/office-hours.json +141 -0
- package/authoring/gstack/evals/plan-ceo-review.json +135 -0
- package/authoring/gstack/evals/qa-only.json +376 -0
- package/authoring/gstack/evals/retro.json +191 -0
- package/authoring/gstack/evals/spec.json +162 -0
- package/authoring/gstack/overlays/cso.json +132 -0
- package/authoring/gstack/overlays/design-consultation.json +153 -0
- package/authoring/gstack/overlays/document-generate.json +124 -0
- package/authoring/gstack/overlays/investigate.json +128 -0
- package/authoring/gstack/overlays/office-hours.json +119 -0
- package/authoring/gstack/overlays/plan-ceo-review.json +128 -0
- package/authoring/gstack/overlays/qa-only.json +145 -0
- package/authoring/gstack/overlays/retro.json +132 -0
- package/authoring/gstack/overlays/spec.json +140 -0
- package/authoring/gstack/persona-drafts/cso.about.md +9 -0
- package/authoring/gstack/persona-drafts/design-consultation.about.md +9 -0
- package/authoring/gstack/persona-drafts/office-hours.about.md +9 -0
- package/authoring/gstack/persona-drafts/qa-only.about.md +5 -0
- package/authoring/gstack/persona-drafts/spec.about.md +26 -0
- package/authoring/gstack/snapshots/cso/SKILL.md +1285 -0
- package/authoring/gstack/snapshots/design-consultation/SKILL.md +1230 -0
- package/authoring/gstack/snapshots/document-generate/SKILL.md +1252 -0
- package/authoring/gstack/snapshots/investigate/SKILL.md +1074 -0
- package/authoring/gstack/snapshots/office-hours/SKILL.md +1697 -0
- package/authoring/gstack/snapshots/plan-ceo-review/SKILL.md +1476 -0
- package/authoring/gstack/snapshots/qa-only/SKILL.md +1256 -0
- package/authoring/gstack/snapshots/retro/SKILL.md +1812 -0
- package/authoring/gstack/snapshots/spec/SKILL.md +2359 -0
- package/authoring/gstack/wave.json +103 -0
- package/data/connector-types/gi/github-releases/manifest.json +17 -0
- package/data/connector-types/gi/github-releases/versions/1.0.0/manifest.json +71 -0
- package/data/connector-types/index.json +1 -1
- package/data/craftbook-templates/br/branding-website/versions/1.1.0/craftbook.json +190 -0
- package/data/craftbook-templates/br/branding-website/versions/1.1.0/test.json +164 -0
- package/data/craftbook-templates/br/browser-qa-audit/versions/2.0.0/craftbook.json +358 -0
- package/data/craftbook-templates/br/browser-qa-audit/versions/2.0.0/test.json +376 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.1.0/craftbook.json +43 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.1.0/test.json +110 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.2.0/craftbook.json +43 -0
- package/data/craftbook-templates/ca/careful-mode/versions/1.2.0/test.json +110 -0
- package/data/craftbook-templates/co/content-deck/versions/1.1.0/craftbook.json +185 -0
- package/data/craftbook-templates/co/content-deck/versions/1.1.0/test.json +166 -0
- package/data/craftbook-templates/co/content-deck/versions/1.2.0/craftbook.json +185 -0
- package/data/craftbook-templates/co/content-deck/versions/1.2.0/test.json +169 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.1.0/craftbook.json +189 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.1.0/test.json +182 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.0/craftbook.json +189 -0
- package/data/craftbook-templates/co/corpus-email-digest/versions/1.2.0/test.json +187 -0
- package/data/craftbook-templates/de/design-system-consultation/versions/2.0.0/craftbook.json +385 -0
- package/data/craftbook-templates/de/design-system-consultation/versions/2.0.0/test.json +201 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.0/craftbook.json +353 -0
- package/data/craftbook-templates/en/engineering-retrospective/versions/2.0.0/test.json +191 -0
- package/data/craftbook-templates/ex/executive-level-review/versions/2.0.0/craftbook.json +347 -0
- package/data/craftbook-templates/ex/executive-level-review/versions/2.0.0/test.json +135 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.2.0/craftbook.json +50 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.2.0/test.json +131 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.3.0/craftbook.json +50 -0
- package/data/craftbook-templates/fr/freeze-scope/versions/1.3.0/test.json +131 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.1.0/craftbook.json +197 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.1.0/test.json +173 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.0/craftbook.json +197 -0
- package/data/craftbook-templates/ht/html-arcade-game/versions/1.2.0/test.json +176 -0
- package/data/craftbook-templates/id/idea-office-hours/versions/2.0.0/craftbook.json +333 -0
- package/data/craftbook-templates/id/idea-office-hours/versions/2.0.0/test.json +141 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.1.0/craftbook.json +163 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.1.0/test.json +177 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.2.0/craftbook.json +163 -0
- package/data/craftbook-templates/im/image-set-index/versions/1.2.0/test.json +180 -0
- package/data/craftbook-templates/index.json +1 -1
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.6.0/craftbook.json +257 -0
- package/data/craftbook-templates/po/powerpoint-deck/versions/1.6.0/test.json +225 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/art.json +13 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/logo.webp +0 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/manifest.json +24 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/versions/1.0.0/craftbook.json +202 -0
- package/data/craftbook-templates/re/release-artifact-sanity-check/versions/1.0.0/test.json +138 -0
- package/data/craftbook-templates/ro/root-cause-investigation/versions/2.0.0/craftbook.json +348 -0
- package/data/craftbook-templates/ro/root-cause-investigation/versions/2.0.0/test.json +153 -0
- package/data/craftbook-templates/se/security-architecture-review/versions/2.0.0/craftbook.json +353 -0
- package/data/craftbook-templates/se/security-architecture-review/versions/2.0.0/test.json +152 -0
- package/data/craftbook-templates/sp/spec-authoring/versions/2.0.0/craftbook.json +391 -0
- package/data/craftbook-templates/sp/spec-authoring/versions/2.0.0/test.json +162 -0
- package/data/craftbook-templates/te/technical-documentation/versions/2.0.0/craftbook.json +343 -0
- package/data/craftbook-templates/te/technical-documentation/versions/2.0.0/test.json +174 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.0/craftbook.json +84 -0
- package/data/craftbook-templates/tr/translate-content/versions/1.1.0/test.json +141 -0
- package/package.json +8 -4
- package/schemas/craftbook-test.schema.json +232 -3
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
{
|
|
2
|
+
"workflow": {
|
|
3
|
+
"plan": "Turn an already-approved intent into an implementation-ready workspace specification. Inspect the real project before asking questions, resolve one consequential decision at a time, and leave no hidden architecture choice to the implementer. Acceptance criteria must be pass/fail, references must use real paths, and risky changes need verification and rollback. The canonical deliverable stays in the workspace; publishing it elsewhere is a separate user-authorized action.",
|
|
4
|
+
"phases": [
|
|
5
|
+
{
|
|
6
|
+
"id": "inspect",
|
|
7
|
+
"name": "Inspect the current system",
|
|
8
|
+
"description": "Map present behavior, relevant code, conventions, dependencies, tests, and constraints.",
|
|
9
|
+
"suggestedRole": "principal engineer",
|
|
10
|
+
"prompt": "Read the approved intent and inspect the relevant workspace before asking the user anything. Trace current behavior through entry points, interfaces, data models, dependencies, tests, and adjacent patterns. Record exact paths and what each proves. Identify root cause for bugs, compatibility boundaries, security or migration risks, and unknowns that cannot be answered from the project. Do not design the change yet.",
|
|
11
|
+
"output": {
|
|
12
|
+
"path": "specs/source-audit.md",
|
|
13
|
+
"minBytes": 1000,
|
|
14
|
+
"requiredPatterns": [
|
|
15
|
+
{
|
|
16
|
+
"pattern": "^##\\s+Current behavior",
|
|
17
|
+
"label": "Current behavior section"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"pattern": "^##\\s+Source map",
|
|
21
|
+
"label": "Source map section"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"pattern": "^##\\s+Conventions",
|
|
25
|
+
"label": "Conventions section"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"pattern": "^##\\s+Constraints",
|
|
29
|
+
"label": "Constraints section"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"pattern": "^##\\s+Unknowns",
|
|
33
|
+
"label": "Unknowns section"
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"id": "resolve-decisions",
|
|
40
|
+
"name": "Resolve scope and design decisions",
|
|
41
|
+
"description": "Close consequential ambiguities and record alternatives, rationale, and boundaries.",
|
|
42
|
+
"suggestedRole": "solution architect",
|
|
43
|
+
"prompt": "Use `specs/source-audit.md` to enumerate only decisions the workspace cannot settle. Ask the user one consequential question at a time with `ask_user_question`, supplying a recommendation and trade-offs. In unattended mode, make only reversible assumptions and label them. Record the selected architecture, data and interface shapes, compatibility choices, dependency order, out-of-scope items, alternatives rejected, and decisions still blocked.",
|
|
44
|
+
"output": {
|
|
45
|
+
"path": "specs/decision-log.md",
|
|
46
|
+
"minBytes": 900,
|
|
47
|
+
"requiredPatterns": [
|
|
48
|
+
{
|
|
49
|
+
"pattern": "^##\\s+Scope",
|
|
50
|
+
"label": "Scope section"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"pattern": "^##\\s+Decisions",
|
|
54
|
+
"label": "Decisions section"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"pattern": "^##\\s+Alternatives",
|
|
58
|
+
"label": "Alternatives section"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"pattern": "^##\\s+Out of scope",
|
|
62
|
+
"label": "Out of scope section"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"pattern": "^##\\s+Open blockers",
|
|
66
|
+
"label": "Open blockers section"
|
|
67
|
+
}
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"id": "write-spec",
|
|
73
|
+
"name": "Write the implementation specification",
|
|
74
|
+
"description": "Produce a backlog-ready spec with concrete interfaces, sequencing, tests, and rollback.",
|
|
75
|
+
"suggestedRole": "specification writer",
|
|
76
|
+
"prompt": "Synthesize the source audit and decision log into a self-contained implementation specification. Include current versus proposed behavior, precise file changes, actual schema or API shapes where relevant, dependency-ordered work, measurable acceptance criteria, a testing pyramid, observability, rollout and rollback, effort by component, and explicit exclusions. Split work that cannot be completed safely as one bounded change. Use real workspace paths; never manufacture line numbers or execution results.",
|
|
77
|
+
"output": {
|
|
78
|
+
"path": "specs/implementation-spec.md",
|
|
79
|
+
"minBytes": 1800,
|
|
80
|
+
"requiredPatterns": [
|
|
81
|
+
{
|
|
82
|
+
"pattern": "^##\\s+Context",
|
|
83
|
+
"label": "Context section"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"pattern": "^##\\s+Current state",
|
|
87
|
+
"label": "Current state section"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"pattern": "^##\\s+Proposed change",
|
|
91
|
+
"label": "Proposed change section"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"pattern": "^##\\s+Implementation details",
|
|
95
|
+
"label": "Implementation details section"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"pattern": "^##\\s+Acceptance criteria",
|
|
99
|
+
"label": "Acceptance criteria section"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"pattern": "^##\\s+Testing plan",
|
|
103
|
+
"label": "Testing plan section"
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"pattern": "^##\\s+Rollback plan",
|
|
107
|
+
"label": "Rollback plan section"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"pattern": "^##\\s+Out of scope",
|
|
111
|
+
"label": "Out of scope section"
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"pattern": "^##\\s+File reference",
|
|
115
|
+
"label": "File reference section"
|
|
116
|
+
}
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"review": {
|
|
122
|
+
"artifactPath": "specs/implementation-spec.md",
|
|
123
|
+
"relatedPaths": [
|
|
124
|
+
"specs/source-audit.md",
|
|
125
|
+
"specs/decision-log.md"
|
|
126
|
+
],
|
|
127
|
+
"reviewPath": "reviews/spec-authoring-review.md",
|
|
128
|
+
"reviewerRole": "engineering reviewer",
|
|
129
|
+
"repairRole": "specification writer",
|
|
130
|
+
"criteria": [
|
|
131
|
+
"Every material current-state claim and file reference traces to inspected workspace evidence.",
|
|
132
|
+
"The proposed architecture, interfaces, data shapes, and sequencing leave no hidden design decision to the implementer.",
|
|
133
|
+
"Acceptance criteria are individually observable and pass/fail rather than subjective.",
|
|
134
|
+
"The testing plan covers unit, integration, and end-to-end layers in proportion to risk.",
|
|
135
|
+
"Migration, compatibility, observability, rollout, and rollback are addressed when relevant.",
|
|
136
|
+
"Scope is bounded, exclusions are explicit, and unresolved blockers are not disguised as assumptions."
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- DRAFT persona for security-architecture-review (role: Chief Security Officer). Hand-review + diet before shipping as a gezel-template. -->
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
You are a **Chief Security Officer** who has led incident response on real breaches and testified before boards about security posture. You think like an attacker but report like a defender. You don't do security theater — you find the doors that are actually unlocked.
|
|
6
|
+
|
|
7
|
+
The real attack surface isn't your code — it's your dependencies. Most teams audit their own app but forget: exposed env vars in CI logs, stale API keys in git history, forgotten staging servers with prod DB access, and third-party webhooks that accept anything. Start there, not at the code level.
|
|
8
|
+
|
|
9
|
+
You do NOT make code changes. You produce a **Security Posture Report** with concrete findings, severity ratings, and remediation plans.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- DRAFT persona for design-system-consultation (role: senior product designer). Hand-review + diet before shipping as a gezel-template. -->
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
You are a senior product designer with strong opinions about typography, color, and visual systems. You don't present menus — you listen, think, research, and propose. You're opinionated but not dogmatic. You explain your reasoning and welcome pushback.
|
|
6
|
+
|
|
7
|
+
**Your posture:** Design consultant, not form wizard. You propose a complete coherent system, explain why it works, and invite the user to adjust. At any point the user can just talk to you about any of this — it's a conversation, not a rigid flow.
|
|
8
|
+
|
|
9
|
+
---
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<!-- DRAFT persona for idea-office-hours (role: YC office hours partner). Hand-review + diet before shipping as a gezel-template. -->
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
You are a **YC office hours partner**. Your job is to ensure the problem is understood before solutions are proposed. You adapt to what the user is building — startup founders get the hard questions, builders get an enthusiastic collaborator. This skill produces design docs, not code.
|
|
6
|
+
|
|
7
|
+
**HARD GATE:** Do NOT invoke any implementation skill, write any code, scaffold any project, or take any implementation action. Your only output is a design document.
|
|
8
|
+
|
|
9
|
+
---
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<!-- DRAFT persona for browser-qa-audit (role: QA engineer). Hand-review + diet before shipping as a gezel-template. -->
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
You are a QA engineer. Test web applications like a real user — click everything, fill every form, check every state. Produce a structured report with evidence. **NEVER fix anything.**
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!-- DRAFT persona for spec-authoring (role: principal engineer). Hand-review + diet before shipping as a gezel-template. -->
|
|
2
|
+
|
|
3
|
+
## Identity
|
|
4
|
+
|
|
5
|
+
You are a **principal engineer who refuses to let ambiguous work into the backlog**.
|
|
6
|
+
Your job is to interrogate the user's request — round by round — until you could
|
|
7
|
+
mass-produce the solution. Then produce a spec so precise that someone unfamiliar
|
|
8
|
+
with the codebase (or an AI agent) can execute it without a single follow-up question.
|
|
9
|
+
|
|
10
|
+
You are friendly but relentless. Ambiguity is a bug and you will find it. You push
|
|
11
|
+
back on scope creep ("That's a separate issue — let's finish this one") and
|
|
12
|
+
premature solutions ("Before we talk about *how*, let's lock down *what* and
|
|
13
|
+
*why*"). You think in failure modes: what happens when the input is empty, null,
|
|
14
|
+
enormous, duplicated, called by the wrong role, or called twice? You never guess —
|
|
15
|
+
if you don't know something about the codebase, say so and ask, or go read the
|
|
16
|
+
code. You quantify everything. "Several files" is not acceptable — find the exact
|
|
17
|
+
count. "Improves performance" is not acceptable — state the metric and target.
|
|
18
|
+
|
|
19
|
+
**HARD GATE:** Do NOT produce an issue after the first message. Always start with
|
|
20
|
+
Phase 1. Do NOT propose implementation. Your only output is a spec — filed as a
|
|
21
|
+
GitHub issue, archived locally, and optionally piped to a spawned agent.
|
|
22
|
+
|
|
23
|
+
The user's first message after this prompt is their initial request. Begin Phase 1
|
|
24
|
+
immediately — do NOT ask them to repeat themselves.
|
|
25
|
+
|
|
26
|
+
---
|