@juancr11/sibu 0.13.2 → 0.15.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.
@@ -71,6 +71,15 @@ export const MANDATORY_SKILLS = [
71
71
  windsurf: '.agents/skills/ai-implementation-plan-executor/SKILL.md',
72
72
  },
73
73
  },
74
+ {
75
+ templateRelativePath: 'skills/feature-idea-capture/SKILL.md',
76
+ targetRelativePathsByAgent: {
77
+ codex: '.agents/skills/feature-idea-capture/SKILL.md',
78
+ gemini: '.agents/skills/feature-idea-capture/SKILL.md',
79
+ claude: '.agents/skills/feature-idea-capture/SKILL.md',
80
+ windsurf: '.agents/skills/feature-idea-capture/SKILL.md',
81
+ },
82
+ },
74
83
  ];
75
84
  export const SELECTABLE_LANGUAGE_SKILLS = [
76
85
  {
@@ -211,7 +220,60 @@ export const SELECTABLE_WORKFLOW_SKILLS = [
211
220
  windsurf: '.agents/skills/ux-expert/SKILL.md',
212
221
  },
213
222
  },
223
+ {
224
+ id: 'export-to-github',
225
+ name: 'Export to GitHub',
226
+ description: "Install guidance for exporting a named feature's Epics and User Stories to GitHub using the configured GitHub MCP server",
227
+ routingInstruction: "For exporting a feature's Epics and User Stories to GitHub issues or sub-issues, use `export-to-github`.",
228
+ templateRelativePath: 'skills/export-to-github/SKILL.md',
229
+ targetRelativePathsByAgent: {
230
+ codex: '.agents/skills/export-to-github/SKILL.md',
231
+ gemini: '.agents/skills/export-to-github/SKILL.md',
232
+ claude: '.agents/skills/export-to-github/SKILL.md',
233
+ windsurf: '.agents/skills/export-to-github/SKILL.md',
234
+ },
235
+ },
236
+ {
237
+ id: 'export-to-notion',
238
+ name: 'Export to Notion',
239
+ description: "Install guidance for exporting a named feature's feature brief, UX design, and technical design to Notion using the configured Notion MCP server",
240
+ routingInstruction: "For exporting a feature's feature brief, UX design, or technical design to Notion, use `export-to-notion`.",
241
+ templateRelativePath: 'skills/export-to-notion/SKILL.md',
242
+ targetRelativePathsByAgent: {
243
+ codex: '.agents/skills/export-to-notion/SKILL.md',
244
+ gemini: '.agents/skills/export-to-notion/SKILL.md',
245
+ claude: '.agents/skills/export-to-notion/SKILL.md',
246
+ windsurf: '.agents/skills/export-to-notion/SKILL.md',
247
+ },
248
+ },
214
249
  ];
250
+ const EXPORT_WORKFLOW_SKILL_MCP_REQUIREMENTS = {
251
+ 'export-to-github': 'github',
252
+ 'export-to-notion': 'notion',
253
+ };
254
+ export function getMcpServersRequiredByWorkflowSkills(workflowSkillIds) {
255
+ const requiredServerIds = new Set();
256
+ for (const workflowSkillId of workflowSkillIds) {
257
+ const requiredServerId = getRequiredMcpServerIdForWorkflowSkill(workflowSkillId);
258
+ if (requiredServerId) {
259
+ requiredServerIds.add(requiredServerId);
260
+ }
261
+ }
262
+ return SELECTABLE_MCP_SERVERS.filter((server) => requiredServerIds.has(server.id));
263
+ }
264
+ export function getWorkflowSkillsImpliedByMcpServers(mcpServerIds) {
265
+ const selectedServerIds = new Set(mcpServerIds);
266
+ const impliedSkillIds = Object.entries(EXPORT_WORKFLOW_SKILL_MCP_REQUIREMENTS)
267
+ .filter(([, requiredServerId]) => selectedServerIds.has(requiredServerId))
268
+ .map(([workflowSkillId]) => workflowSkillId);
269
+ return SELECTABLE_WORKFLOW_SKILLS.filter((skill) => impliedSkillIds.includes(skill.id));
270
+ }
271
+ function getRequiredMcpServerIdForWorkflowSkill(workflowSkillId) {
272
+ if (workflowSkillId === 'export-to-github' || workflowSkillId === 'export-to-notion') {
273
+ return EXPORT_WORKFLOW_SKILL_MCP_REQUIREMENTS[workflowSkillId];
274
+ }
275
+ return undefined;
276
+ }
215
277
  export const SELECTABLE_MCP_SERVERS = [
216
278
  {
217
279
  id: 'github',
@@ -1,2 +1,2 @@
1
- export { MANDATORY_SKILLS, SELECTABLE_ARCHITECTURE_SKILLS, SELECTABLE_DATABASE_SKILLS, SELECTABLE_FRAMEWORK_SKILLS, SELECTABLE_LANGUAGE_SKILLS, SELECTABLE_MCP_SERVERS, SELECTABLE_WORKFLOW_SKILLS, SUPPORTED_AGENTS, resolveSelectableMcpServerById, resolveSelectableSkillById, } from './catalog.js';
1
+ export { MANDATORY_SKILLS, SELECTABLE_ARCHITECTURE_SKILLS, SELECTABLE_DATABASE_SKILLS, SELECTABLE_FRAMEWORK_SKILLS, SELECTABLE_LANGUAGE_SKILLS, SELECTABLE_MCP_SERVERS, SELECTABLE_WORKFLOW_SKILLS, SUPPORTED_AGENTS, getMcpServersRequiredByWorkflowSkills, getWorkflowSkillsImpliedByMcpServers, resolveSelectableMcpServerById, resolveSelectableSkillById, } from './catalog.js';
2
2
  export { getSelectedAgentsFromState, getSelectedArchitectureSkillFromState, getSelectedDatabaseSkillsFromState, getSelectedFrameworkSkillsFromState, getSelectedLanguageSkillsFromState, getSelectedMcpServersFromState, getSelectedMcpTargetsForAgents, getSelectedSkillTargetsForAgents, getSelectedWorkflowSkillsFromState, getWorkflowTargets, renderMissingWorkflowFiles, writeSibuState, } from './workflow-targets.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@juancr11/sibu",
3
- "version": "0.13.2",
3
+ "version": "0.15.1",
4
4
  "description": "CLI for setting up a local AI-augmented development workflow.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -47,6 +47,7 @@ For planned product/feature work, use this pipeline: product vision -> deep modu
47
47
  - For requests to create Epics, User Stories, Scrum planning artifacts, backlog slices, or delivery plans from an approved feature brief and technical design, use `scrum-master-planner`.
48
48
  - For explicit planning-only requests to turn a specific User Story into an implementation checklist, coding plan, step-by-step execution plan, or baby-step plan without implementation, use `ai-implementation-planner` and stop after writing the plan. Treat a request as planning-only only when the user explicitly says planning-only, "do not implement," or asks to create the plan without execution.
49
49
  - For requests to plan, implement, execute, continue, or work through a specific User Story under `docs/features/<feature-slug>/epics/<epic-slug>/stories/<order>-<story-slug>.md`, an Epic, or an existing story implementation plan under `docs/features/<feature-slug>/epics/<epic-slug>/stories/<order>-<story-slug>.impl_plan/`, use `ai-implementation-plan-executor`; when the story plan is missing, the executor must create it with `ai-implementation-planner` and immediately continue into implementation without a separate plan approval gate.
50
+ - For requests to capture, save, jot down, or add rough future feature ideas, use `feature-idea-capture`.
50
51
  {{OPTIONAL_SKILL_ROUTING}}
51
52
 
52
53
  ## Sibu maintenance
@@ -1,11 +1,11 @@
1
1
  {
2
- "templateVersion": "98",
2
+ "templateVersion": "104",
3
3
  "templates": {
4
4
  "AGENTS.md": {
5
- "version": "29",
5
+ "version": "30",
6
6
  "description": "Project-level agent instructions and Sibu maintenance guidance.",
7
7
  "changes": [
8
- "Can render Layered Architecture routing when that architecture option is selected."
8
+ "Routes rough future idea capture requests to the mandatory feature-idea-capture skill."
9
9
  ]
10
10
  },
11
11
  ".codex/config.toml": {
@@ -51,31 +51,31 @@
51
51
  ]
52
52
  },
53
53
  "skills/product-vision-writer/SKILL.md": {
54
- "version": "8",
54
+ "version": "9",
55
55
  "description": "Mandatory product vision writer skill installed once at the shared .agents/skills workspace path.",
56
56
  "changes": [
57
- "Strengthens product vision interviews to resolve material strategy questions before drafting instead of leaving uncertainty in the artifact."
57
+ "Makes product vision discovery mandatory before drafting, even when existing context looks complete."
58
58
  ]
59
59
  },
60
60
  "skills/deep-module-map-writer/SKILL.md": {
61
- "version": "4",
61
+ "version": "5",
62
62
  "description": "Mandatory Deep Module Map writer skill installed once at the shared .agents/skills workspace path.",
63
63
  "changes": [
64
- "Adds explicit Deep Module Map discovery guidance so agents keep interviewing one question at a time until module interfaces, hidden complexity, ownership, exclusions, scenarios, relationships, and cross-module rules are clear enough to defend."
64
+ "Makes Deep Module Map interviews mandatory before drafting, even when repo code or existing docs look complete."
65
65
  ]
66
66
  },
67
67
  "skills/feature-brief-writer/SKILL.md": {
68
- "version": "10",
68
+ "version": "14",
69
69
  "description": "Mandatory feature brief writer skill installed once at the shared .agents/skills workspace path.",
70
70
  "changes": [
71
- "Adds optional Notion export guidance after local feature briefs are written while keeping Markdown as the canonical artifact."
71
+ "Makes feature brief interviews mandatory before drafting while keeping export workflows delegated to dedicated exporter skills."
72
72
  ]
73
73
  },
74
74
  "skills/technical-design-writer/SKILL.md": {
75
- "version": "18",
75
+ "version": "20",
76
76
  "description": "Mandatory technical design writer skill installed once at the shared .agents/skills workspace path.",
77
77
  "changes": [
78
- "Strengthens technical design interviews to resolve material implementation questions before drafting and replaces open questions with risks/tradeoffs."
78
+ "Makes technical design clarification mandatory before drafting while keeping export workflows delegated to dedicated exporter skills."
79
79
  ]
80
80
  },
81
81
  "skills/typescript/SKILL.md": {
@@ -128,10 +128,10 @@
128
128
  ]
129
129
  },
130
130
  "skills/scrum-master-planner/SKILL.md": {
131
- "version": "11",
131
+ "version": "12",
132
132
  "description": "Mandatory Scrum planner skill for creating pragmatic Epics and User Stories from approved feature and technical design docs.",
133
133
  "changes": [
134
- "Clarifies that User Stories should be deployable increments that can be merged safely on their own, even when gated or incomplete until the parent Epic is done."
134
+ "Keeps Scrum planning focused on local Epic and User Story artifacts and moves GitHub export workflow guidance to dedicated exporter skills."
135
135
  ]
136
136
  },
137
137
  "skills/ai-implementation-planner/SKILL.md": {
@@ -148,6 +148,13 @@
148
148
  "Clarifies that story and Epic planning requests are confirmation for executor implementation."
149
149
  ]
150
150
  },
151
+ "skills/feature-idea-capture/SKILL.md": {
152
+ "version": "1",
153
+ "description": "Mandatory feature idea capture skill for storing rough future ideas in docs/feature-ideas.md only when the skill is used.",
154
+ "changes": [
155
+ "Adds a mandatory feature idea capture skill for quick, raw idea storage without backlog or planning ceremony."
156
+ ]
157
+ },
151
158
  "skills/ai-prompt-engineer-master/SKILL.md": {
152
159
  "version": "2",
153
160
  "description": "Selectable AI prompt engineering skill for prompt creation, optimization, compression, and evaluation.",
@@ -156,10 +163,10 @@
156
163
  ]
157
164
  },
158
165
  "skills/ux-expert/SKILL.md": {
159
- "version": "8",
166
+ "version": "10",
160
167
  "description": "Selectable UX expert skill for UI-changing features, responsive design, flows, states, accessibility, and binding mockups.",
161
168
  "changes": [
162
- "Strengthens UX interviews to resolve material experience questions before drafting and replaces open UX questions with risks/tradeoffs."
169
+ "Makes UX clarification mandatory before drafting while keeping export workflows delegated to dedicated exporter skills."
163
170
  ]
164
171
  },
165
172
  "skills/architecture/layered-architecture/SKILL.md": {
@@ -168,6 +175,20 @@
168
175
  "changes": [
169
176
  "Adds a Layered Architecture skill for smaller apps that need simple separation of concerns."
170
177
  ]
178
+ },
179
+ "skills/export-to-github/SKILL.md": {
180
+ "version": "1",
181
+ "description": "Selectable GitHub export skill for publishing a named feature's Epics and User Stories to GitHub issues and native sub-issues.",
182
+ "changes": [
183
+ "Adds a dedicated GitHub exporter skill paired with GitHub MCP selection."
184
+ ]
185
+ },
186
+ "skills/export-to-notion/SKILL.md": {
187
+ "version": "1",
188
+ "description": "Selectable Notion export skill for publishing a named feature's core documentation files to Notion.",
189
+ "changes": [
190
+ "Adds a dedicated Notion exporter skill paired with Notion MCP selection."
191
+ ]
171
192
  }
172
193
  }
173
194
  }
@@ -35,7 +35,7 @@ This skill owns the Deep Module Map only. It does not own feature briefs, techni
35
35
 
36
36
  - Do not create feature briefs, technical designs, UX specs, Epics, User Stories, implementation plans, or production code.
37
37
  - Do not choose a specific internal architecture, service split, database model, framework, or team ownership structure.
38
- - Do not ask for or require a final confirmation summary before writing once enough Deep Module Map information is available.
38
+ - Do not skip the interview or the final “I am clear; are you good?” check-in before writing. Once the user confirms there is nothing else to cover, write without requiring a recap, artifact approval, or separate summary confirmation.
39
39
  - Do not invent Deep Modules without grounding them in the product vision, current system behavior, and user interview.
40
40
  - Do not treat a command, screen, helper, folder, data object, or technical layer as a Deep Module merely because it exists.
41
41
  - Do not leave material module-boundary questions unresolved in the final map; keep interviewing until the user answers, confirms an assumption, or explicitly excludes the boundary.
@@ -125,6 +125,8 @@ This file is user-owned product and implementation-boundary content created or u
125
125
 
126
126
  Be deliberately interrogative before writing.
127
127
 
128
+ This interview is mandatory and non-skippable. Even when the repository has substantial code, existing docs, an existing map, or extensive initial context, ask at least one explicit user-facing discovery question before drafting or writing the Deep Module Map. Treat code, repository artifacts, prior conversation, and initial context as useful but provisional: they can shape better questions, but they must not replace the interview or become the full source of truth for module boundaries, interfaces, hidden complexity, or ownership. Keep asking focused follow-up questions until the module decisions are clear enough to defend. Before drafting, always perform one final check-in in the spirit of: “I am clear on my end. Are you good, or is there anything else you want to cover before I proceed?” If the user adds context, incorporate or clarify it before writing.
129
+
128
130
  - Ask one focused question at a time.
129
131
  - Ask as many one-at-a-time questions as needed to understand the app well enough to defend the map; do not optimize for a short interview.
130
132
  - Walk down each module-boundary decision branch one by one, resolving dependencies between candidate modules before drafting.
@@ -0,0 +1,39 @@
1
+ ---
2
+ name: export-to-github
3
+ description: Export a named feature's Epics and User Stories from local Markdown to GitHub issues and native sub-issues using configured GitHub MCP capabilities.
4
+ ---
5
+
6
+ # Export to GitHub
7
+
8
+ Use this skill when the user asks to export a feature's Epics and User Stories to GitHub.
9
+
10
+ ## Required input
11
+
12
+ - A feature name or feature slug.
13
+ - Local planning artifacts under `docs/features/<feature-slug>/epics/`.
14
+ - Configured GitHub MCP capabilities for issue creation, issue ID access, and native sub-issue mutation.
15
+
16
+ If the feature name is ambiguous, inspect `docs/features/` and ask one focused clarification question.
17
+
18
+ ## Workflow
19
+
20
+ 1. Resolve the feature slug from the user's feature name.
21
+ 2. Read the feature's Epic briefs and User Story Markdown files under `docs/features/<feature-slug>/epics/**`.
22
+ 3. Resolve the target repository from the current local repo's GitHub `origin` remote only. Do not ask for or use another repository.
23
+ 4. Verify GitHub MCP can create issues, return issue IDs, and attach native sub-issues.
24
+ 5. Ask one explicit opt-in question before any GitHub mutation.
25
+ 6. If the user accepts, create a fresh issue set every time:
26
+ - one issue per Epic, with no labels
27
+ - one issue per User Story, with no labels
28
+ - each User Story issue attached as a native sub-issue of its parent Epic issue
29
+ 7. Report created issue numbers or URLs.
30
+
31
+ ## Export rules
32
+
33
+ - Keep issue bodies concise and source-grounded.
34
+ - Include the source local doc path and relevant summary, scope, acceptance criteria, or validation notes.
35
+ - Preserve each created User Story issue's GitHub issue `id`; native sub-issue APIs need the child issue ID, not only its issue number.
36
+ - Do not search for duplicates or update existing issues.
37
+ - Do not use labels, milestones, projects, assignees, status tracking, Markdown checklists, or loose links as a substitute for native sub-issues.
38
+ - Do not modify local Markdown files with GitHub URLs.
39
+ - If issue creation, issue ID access, or native sub-issue attachment is unavailable, fail clearly and do not fall back to another structure.
@@ -0,0 +1,60 @@
1
+ ---
2
+ name: export-to-notion
3
+ description: Export a named feature's local feature brief, UX design, and technical design Markdown files to Notion using configured Notion MCP capabilities.
4
+ ---
5
+
6
+ # Export to Notion
7
+
8
+ Use this skill when the user asks to export a feature's core documentation to Notion.
9
+
10
+ ## Required input
11
+
12
+ - A feature name or feature slug.
13
+ - Configured Notion MCP capabilities.
14
+ - `.sibu/state.json` with `mcpServerConfigs.notion.docsParentPage` when available.
15
+
16
+ If the feature name is ambiguous, inspect `docs/features/` and ask one focused clarification question.
17
+
18
+ ## Source files
19
+
20
+ Export only these local Markdown files when present:
21
+
22
+ ```txt
23
+ docs/features/<feature-slug>/feature_brief.md
24
+ docs/features/<feature-slug>/ux.md
25
+ docs/features/<feature-slug>/technical_design.md
26
+ ```
27
+
28
+ Do not export Epics, User Stories, implementation plans, product vision, Deep Module Maps, or arbitrary docs with this skill.
29
+
30
+ ## Notion destination
31
+
32
+ Use this organization under the configured Notion docs parent page:
33
+
34
+ ```txt
35
+ <docsParentPage>
36
+ └── <repo name>
37
+ └── Features
38
+ └── <feature name>
39
+ ├── Feature Brief
40
+ ├── UX Design
41
+ └── Technical Design
42
+ ```
43
+
44
+ ## Workflow
45
+
46
+ 1. Resolve the feature slug from the user's feature name.
47
+ 2. Read `.sibu/state.json` when available and use `mcpServerConfigs.notion.docsParentPage` as the destination parent.
48
+ 3. Confirm which of the allowed source files exist.
49
+ 4. Ask one explicit opt-in question before creating or modifying Notion pages.
50
+ 5. Create or reuse the repo, Features, and feature organization pages under the configured parent.
51
+ 6. Export each existing allowed artifact to its matching Notion page.
52
+ 7. Report export success or failure per artifact.
53
+
54
+ ## Export rules
55
+
56
+ - Local Markdown remains canonical.
57
+ - Do not write Notion URLs back into local Markdown.
58
+ - Do not invent missing source artifacts.
59
+ - Do not export files outside the allowed source list.
60
+ - If Notion MCP capabilities or destination configuration are unavailable, fail clearly and explain what is missing.
@@ -36,7 +36,7 @@ This skill owns the product/business shape of a feature. It does not own UI inte
36
36
 
37
37
  - Do not create or update Deep Module Maps, technical designs, UX specs, Epics, User Stories, implementation plans, or production code.
38
38
  - Do not invent Deep Modules or use modules that are absent from `docs/deep-module-map.md`.
39
- - Do not require a final confirmation summary before writing once enough feature brief context is available.
39
+ - Do not skip the interview or the final “I am clear; are you good?” check-in before writing. Once the user confirms there is nothing else to cover, write without requiring a recap, artifact approval, or separate summary confirmation.
40
40
  - Do not duplicate or rewrite the product vision; apply only the relevant implications to the feature.
41
41
  - Do not leave material product, scope, success, constraint, or Deep Module fit questions unresolved in the final brief; keep interviewing until the user answers, confirms an assumption, or explicitly excludes the topic.
42
42
 
@@ -95,10 +95,23 @@ Use a short kebab-case feature slug that matches the feature name. Keep all arti
95
95
 
96
96
  Do not write the brief to technical design, UX, user story, implementation plan, or backlog files unless the user explicitly asks for a separate artifact after the feature brief exists.
97
97
 
98
+ ## Raw idea sources
99
+
100
+ If the user asks for a feature brief from an idea in `docs/feature-ideas.md`, read the relevant idea and treat it as raw/vague input only.
101
+
102
+ - Do not skip the normal interview flow because the idea exists in a file.
103
+ - Use the idea as a seed for the first discovery question, not as complete feature intent.
104
+ - Keep asking one focused question at a time until the usual required context is resolved: problem, target user/scenario, business goal, MVP boundary, out-of-scope boundary, success signals, constraints, and Deep Module fit.
105
+ - Preserve the hard-start requirements for `docs/product-vision.md` and `docs/deep-module-map.md`.
106
+ - After the local `docs/features/<feature-slug>/feature_brief.md` file is successfully written, remove the promoted idea from `docs/feature-ideas.md` while preserving the rest of the file.
107
+ - Do not delete the idea before the feature brief file exists, and do not remove unrelated ideas or headings.
108
+
98
109
  ## Interview posture
99
110
 
100
111
  Be deliberately interrogative before drafting. The feature brief should reflect the user's intent, not the assistant's assumptions.
101
112
 
113
+ This interview is mandatory and non-skippable. Even when the user provides extensive initial context, existing docs, repo code, or a raw idea file, ask at least one explicit user-facing discovery question before drafting or writing the feature brief. Treat repository artifacts, prior conversation, existing product docs, and initial context as useful but provisional: they can shape better questions, but they must not replace the interview or become the full source of truth for feature intent, scope, success, constraints, or user value. Keep asking focused follow-up questions until the feature decisions are clear enough to defend. Before drafting, always perform one final check-in in the spirit of: “I am clear on my end. Are you good, or is there anything else you want to cover before I proceed?” If the user adds context, incorporate or clarify it before writing.
114
+
102
115
  - Ask one focused question at a time.
103
116
  - Keep asking until you have complete practical understanding and explicit user alignment; do not optimize for a short interview.
104
117
  - Walk down each feature decision branch one by one, resolving dependencies between product, scope, success, constraint, and module-fit decisions before drafting.
@@ -283,31 +296,6 @@ When shaping a feature brief, prefer:
283
296
  7. measurable success signals
284
297
  8. non-technical acceptance criteria
285
298
 
286
- ## Optional Notion export after local write
287
-
288
- After the local Markdown file is written successfully, optionally offer Notion export. Local Markdown remains the canonical pipeline artifact and Notion is only a convenience export destination.
289
-
290
- 1. Do not check Notion export before the local file exists.
291
- 2. After writing the local file, read `.sibu/state.json` if available.
292
- 3. Offer export only when all are true:
293
- - `selectedMcpServers` includes `notion`
294
- - `mcpServerConfigs.notion.docsParentPage` is present
295
- - Notion MCP tools are available in the current agent session
296
- 4. If export is unavailable, do nothing else and finish with the normal local path response.
297
- 5. If export is available, ask for explicit opt-in before creating or modifying any Notion page.
298
- 6. If the user declines, do nothing else.
299
- 7. If the user accepts, create or reuse Notion organization pages under the configured parent page:
300
-
301
- ```txt
302
- <docsParentPage>
303
- └── <repo name>
304
- └── Features
305
- └── <feature name>
306
- └── Feature Brief
307
- ```
308
-
309
- Create a new document page for the just-written artifact content. Do not write Notion URLs back into local Markdown. Report Notion export success or a clear Notion export failure, while preserving the local file as the completed artifact either way.
310
-
311
299
  ## Final response behavior
312
300
 
313
301
  After writing the file, final-answer with only the path created or updated. Do not paste the feature brief body, excerpt, outline, or section summaries.
@@ -0,0 +1,32 @@
1
+ ---
2
+ name: feature-idea-capture
3
+ description: Use when the user wants to capture, save, jot down, or add a rough future feature, product, workflow, or improvement idea without turning it into a backlog item, feature brief, or implementation task.
4
+ ---
5
+
6
+ # Feature Idea Capture
7
+
8
+ Capture rough future ideas quickly in `docs/feature-ideas.md`.
9
+
10
+ ## Behavior
11
+
12
+ - Write the idea down directly. Do not interview the user before capture.
13
+ - Keep the idea intentionally raw: a short heading and a few bullets are enough.
14
+ - If `docs/feature-ideas.md` does not exist, create it on first use.
15
+ - Append new ideas; do not classify, prioritize, groom, or turn them into backlog work.
16
+ - Do not create feature briefs, epics, stories, implementation plans, or code from captured ideas unless the user separately asks for that later.
17
+ - Do not migrate, rename, inspect, or reconcile pre-existing alternate idea files.
18
+
19
+ ## File shape
20
+
21
+ Use this lightweight shape:
22
+
23
+ ```md
24
+ # Feature Ideas
25
+
26
+ ## <Idea title>
27
+
28
+ - <Short note>
29
+ - <Short note>
30
+ ```
31
+
32
+ If the file already exists, preserve its current content and append the new idea using the same simple style.
@@ -33,14 +33,16 @@ Default output path: `docs/product-vision.md`.
33
33
  ### What this skill must not do
34
34
 
35
35
  - Do not create Deep Module Maps, feature briefs, technical designs, UX specs, Epics, User Stories, implementation plans, or production code.
36
- - Do not require a final confirmation summary before writing once enough product vision context is available.
36
+ - Do not skip the interview or the final “I am clear; are you good?” check-in before writing. Once the user confirms there is nothing else to cover, write without requiring a recap, artifact approval, or separate summary confirmation.
37
37
  - Do not leave material strategy questions unresolved in the final document; keep interviewing until the user answers, confirms an assumption, or explicitly excludes the topic.
38
38
 
39
39
  ## Workflow
40
40
 
41
41
  ### 1. Start with discovery, not drafting
42
42
 
43
- Interview before writing unless the user already provided complete source material. Be deliberately interrogative: ask as many focused questions as needed to extract all material product vision decisions before drafting.
43
+ Interview before writing. Be deliberately interrogative: ask as many focused questions as needed to extract all material product vision decisions before drafting.
44
+
45
+ This interview is mandatory and non-skippable. Even when the user provides extensive initial context, existing documents, or a mature codebase, ask at least one explicit user-facing discovery question before drafting or writing the product vision. Treat repository artifacts, prior conversation, and initial context as useful but provisional: they can shape better questions, but they must not replace the interview or become the full source of truth for the user's product intent. Keep asking focused follow-up questions until the material product vision decisions are clear enough to defend. Before drafting, always perform one final check-in in the spirit of: “I am clear on my end. Are you good, or is there anything else you want to cover before I proceed?” If the user adds context, incorporate or clarify it before writing.
44
46
 
45
47
  Ask one question at a time. Walk down the product decision tree branch by branch, resolving dependencies between decisions before moving on. When useful, include a recommended answer or concise assumption so the user can confirm, correct, or reject it quickly. If a question can be answered from existing repository artifacts, inspect those artifacts instead of asking.
46
48
 
@@ -213,37 +213,6 @@ Before finishing, verify:
213
213
  - no Story adds scope that is absent from the feature brief or technical design
214
214
  - acceptance criteria are testable enough for a reviewer
215
215
 
216
- ### 6. Mandatory GitHub export gate
217
-
218
- After all local Epic and User Story files are written, you must run the GitHub export gate before the final response. This gate is mandatory whenever Scrum planning creates or updates local Epic or User Story files.
219
-
220
- Do not skip the gate because the user did not mention GitHub. Do not assume GitHub MCP is unavailable. Explicitly check whether GitHub MCP tools are available for issue creation, issue ID access, and native sub-issue mutation.
221
-
222
- If any required GitHub MCP capability is unavailable, do not offer GitHub export. In the final response, include a single concise note that GitHub export was skipped because the required GitHub MCP capabilities were unavailable.
223
-
224
- If the required GitHub MCP capabilities are available:
225
-
226
- 1. Resolve the target repository from the current local repo's GitHub `origin` remote only. Do not ask for or use another repository.
227
- 2. Ask one explicit opt-in question before any GitHub mutation: "GitHub MCP is available. Create GitHub Issues for these Epics and User Stories in the current repo?"
228
- 3. If the user declines, perform no GitHub mutation.
229
- 4. If the user accepts, create a fresh issue set every time. Do not search for duplicates or update existing issues.
230
- 5. Create one issue per Epic with no labels.
231
- 6. Create one issue per User Story with no labels.
232
- 7. Attach each User Story issue as a native GitHub sub-issue of its parent Epic issue.
233
- 8. Report created issue numbers or URLs.
234
-
235
- Keep issue bodies concise and source-grounded. Include the source local doc path and relevant summary, scope, acceptance criteria, or validation notes. Do not modify local Markdown files with GitHub URLs.
236
-
237
- Native sub-issues are required for this export. Preserve each created User Story issue's GitHub issue `id` because native sub-issue APIs need the child issue ID, not only its issue number. If issue creation, issue ID access, or native sub-issue attachment fails or is unavailable, fail clearly and do not fall back to labels, Markdown checklists, loose links, GitHub Projects, milestones, assignees, or status tracking.
238
-
239
- Passing the gate means exactly one of these outcomes occurred:
240
-
241
- - GitHub MCP was unavailable or incomplete, and the final response says export was skipped for that reason.
242
- - GitHub MCP was available, the user declined export, and no GitHub mutation occurred.
243
- - GitHub MCP was available, the user accepted export, and the created issue numbers or URLs are reported.
244
-
245
- Never finish a Scrum planning run without one of these three GitHub export outcomes.
246
-
247
216
  ## Final response behavior
248
217
 
249
218
  After writing files, final-answer with only:
@@ -251,6 +220,5 @@ After writing files, final-answer with only:
251
220
  - the Epic directories created or updated
252
221
  - the number of Epics and User Stories
253
222
  - any source-scope items intentionally left unresolved or captured as risks
254
- - the GitHub export gate outcome
255
223
 
256
224
  Do not paste artifact bodies, excerpts, outlines, story text, acceptance criteria, or section summaries. Only include generated artifacts when the user explicitly asks for inline review in the current request.
@@ -36,7 +36,7 @@ Write the smallest useful technical design doc for an approved feature: enough f
36
36
  - Do not invent new Deep Modules or move work into unselected modules.
37
37
  - Do not redesign binding UX mockups.
38
38
  - Do not duplicate architecture, language, framework, or clean-code skill guidance.
39
- - Do not require a final confirmation summary before writing once enough technical design context is available.
39
+ - Do not skip the interview or the final “I am clear; are you good?” check-in before writing. Once the user confirms there is nothing else to cover, write without requiring a recap, artifact approval, or separate summary confirmation.
40
40
 
41
41
  ## Grounding
42
42
 
@@ -66,6 +66,8 @@ If the feature has UI impact, require `docs/features/<feature-slug>/ux.md`. If i
66
66
 
67
67
  Be deliberately interrogative before drafting. The technical design should reflect resolved implementation direction, not risky assistant assumptions.
68
68
 
69
+ This interview is mandatory and non-skippable. Even when the approved artifacts, repo files, codebase, or prior conversation seem complete, ask at least one explicit user-facing technical clarification question before drafting or writing the technical design. Treat repository artifacts, source docs, prior conversation, and initial context as useful but provisional for current implementation intent: they can shape better questions, but they must not replace the interview or become the full source of truth for implementation direction, boundaries, risks, or validation choices. Keep asking focused follow-up questions until the technical decisions are clear enough to defend. Before drafting, always perform one final check-in in the spirit of: “I am clear on my end. Are you good, or is there anything else you want to cover before I proceed?” If the user adds context, incorporate or clarify it before writing.
70
+
69
71
  - Ask one focused question at a time when repository artifacts and source docs do not resolve a material technical ambiguity.
70
72
  - Ask as many questions as required to reach complete practical understanding; do not optimize for a short interview.
71
73
  - If a question can be answered by reading repository artifacts, inspect those artifacts instead of asking.
@@ -173,31 +175,6 @@ Use this structure as a starting point. Delete sections that do not add value.
173
175
 
174
176
  A good technical design is short, specific, and useful. It should not try to be the product brief, architecture skill, clean-code skill, implementation plan, or ticket backlog.
175
177
 
176
- ## Optional Notion export after local write
177
-
178
- After the local Markdown file is written successfully, optionally offer Notion export. Local Markdown remains the canonical pipeline artifact and Notion is only a convenience export destination.
179
-
180
- 1. Do not check Notion export before the local file exists.
181
- 2. After writing the local file, read `.sibu/state.json` if available.
182
- 3. Offer export only when all are true:
183
- - `selectedMcpServers` includes `notion`
184
- - `mcpServerConfigs.notion.docsParentPage` is present
185
- - Notion MCP tools are available in the current agent session
186
- 4. If export is unavailable, do nothing else and finish with the normal local path response.
187
- 5. If export is available, ask for explicit opt-in before creating or modifying any Notion page.
188
- 6. If the user declines, do nothing else.
189
- 7. If the user accepts, create or reuse Notion organization pages under the configured parent page:
190
-
191
- ```txt
192
- <docsParentPage>
193
- └── <repo name>
194
- └── Features
195
- └── <feature name>
196
- └── Technical Design
197
- ```
198
-
199
- Create a new document page for the just-written artifact content. Do not write Notion URLs back into local Markdown. Report Notion export success or a clear Notion export failure, while preserving the local file as the completed artifact either way.
200
-
201
178
  ## Final response behavior
202
179
 
203
180
  After writing the file, final-answer with only the path created or updated. Do not paste the technical design body, excerpt, outline, or section summaries.
@@ -33,7 +33,7 @@ Act as a senior UX/UI designer. Turn an approved product artifact into usable, e
33
33
  - Do not create or update product visions, Deep Module Maps, feature briefs, technical designs, Epics, User Stories, implementation plans, or production code.
34
34
  - Do not make architecture, framework, API, data model, or file-path decisions.
35
35
  - Do not treat UX work as optional for UI-changing features; concrete mockups are required.
36
- - Do not require a final confirmation summary before writing once enough UX context is available.
36
+ - Do not skip the interview or the final “I am clear; are you good?” check-in before writing. Once the user confirms there is nothing else to cover, write without requiring a recap, artifact approval, or separate summary confirmation.
37
37
 
38
38
  ## Required grounding
39
39
 
@@ -45,6 +45,8 @@ Require a product artifact such as `docs/features/<feature-slug>/feature_brief.m
45
45
 
46
46
  Be deliberately interrogative before drafting. The UX spec should reflect resolved experience direction, not assistant-invented assumptions.
47
47
 
48
+ This interview is mandatory and non-skippable. Even when product artifacts, existing UI, repo files, or prior conversation seem complete, ask at least one explicit user-facing UX clarification question before drafting or writing the UX spec. Treat artifacts, mockups, repo context, prior conversation, and initial context as useful but provisional for current experience intent: they can shape better questions, but they must not replace the interview or become the full source of truth for user flow, hierarchy, visual direction, states, or accessibility decisions. Keep asking focused follow-up questions until the UX decisions are clear enough to defend. Before drafting, always perform one final check-in in the spirit of: “I am clear on my end. Are you good, or is there anything else you want to cover before I proceed?” If the user adds context, incorporate or clarify it before writing.
49
+
48
50
  - Ask one focused question at a time when product artifacts do not resolve a material UX ambiguity.
49
51
  - Ask as many questions as required to reach complete practical understanding; do not optimize for a short interview.
50
52
  - If a question can be answered by reading repository artifacts, inspect those artifacts instead of asking.
@@ -133,31 +135,6 @@ Use only helpful sections from this shape:
133
135
 
134
136
  The Binding Mockups section is authoritative for downstream work unless this UX spec is revised.
135
137
 
136
- ## Optional Notion export after local write
137
-
138
- After the local Markdown file is written successfully, optionally offer Notion export. Local Markdown remains the canonical pipeline artifact and Notion is only a convenience export destination.
139
-
140
- 1. Do not check Notion export before the local file exists.
141
- 2. After writing the local file, read `.sibu/state.json` if available.
142
- 3. Offer export only when all are true:
143
- - `selectedMcpServers` includes `notion`
144
- - `mcpServerConfigs.notion.docsParentPage` is present
145
- - Notion MCP tools are available in the current agent session
146
- 4. If export is unavailable, do nothing else and finish with the normal local path response.
147
- 5. If export is available, ask for explicit opt-in before creating or modifying any Notion page.
148
- 6. If the user declines, do nothing else.
149
- 7. If the user accepts, create or reuse Notion organization pages under the configured parent page:
150
-
151
- ```txt
152
- <docsParentPage>
153
- └── <repo name>
154
- └── Features
155
- └── <feature name>
156
- └── UX Design
157
- ```
158
-
159
- Create a new document page for the just-written artifact content. Do not write Notion URLs back into local Markdown. Report Notion export success or a clear Notion export failure, while preserving the local file as the completed artifact either way.
160
-
161
138
  ## Final response behavior
162
139
 
163
140
  After writing the file, final-answer with only the path created or updated. Do not paste the UX spec body, excerpt, outline, mockups, or section summaries.