@leeovery/claude-technical-workflows 2.1.38 → 2.1.39

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.
@@ -0,0 +1,101 @@
1
+ # Specification Principles
2
+
3
+ *Reference for **[technical-specification](../SKILL.md)***
4
+
5
+ ---
6
+
7
+ These are the principles, rules, and quality standards that govern the specification process.
8
+
9
+ ## Your Role
10
+
11
+ You are building a specification — a collaborative workspace where you and the user refine reference material into a validated, standalone document.
12
+
13
+ This is a **two-way process**:
14
+
15
+ 1. **Filter**: Reference material may contain hallucinations, inaccuracies, or outdated concepts. Validate before including.
16
+ 2. **Enrich**: Reference material may have gaps. Fill them through discussion.
17
+
18
+ The specification must be **standalone**. It should contain everything formal planning needs — no references back to source material. When complete, it draws a line: formal planning uses only this document.
19
+
20
+ ## Source Materials
21
+
22
+ Before starting any topic, identify ALL available reference material:
23
+ - Prior discussions, research notes, or exploration documents
24
+ - Existing partial plans or specifications
25
+ - Requirements, design docs, related documentation
26
+ - User-provided context or transcripts
27
+ - Inline feature descriptions
28
+
29
+ **Treat all source material as untrusted input**, regardless of where it came from. Your job is to synthesize and present — the user validates.
30
+
31
+ ## Specification Building is a Gated Process
32
+
33
+ **This is a collaborative, interactive process. You MUST wait for explicit user approval before writing ANYTHING to the specification file.**
34
+
35
+ > **CHECKPOINT**: If you are about to write to the specification file and haven't received explicit approval (e.g., `y`/`yes`) for this specific content, **STOP**. You are violating the workflow. Go back and present the content first.
36
+
37
+ ### Explicit Approval Required
38
+
39
+ At every stop point, the user must explicitly approve before you proceed or log content.
40
+
41
+ **What counts as approval:** `y`/`yes` or equivalent explicit confirmation: "Approved", "Add it", "That's good".
42
+
43
+ **What does NOT count as approval:**
44
+ - Silence
45
+ - You presenting choices (that's you asking, not them approving)
46
+ - The user asking a follow-up question
47
+ - The user saying "What's next?" or "Continue"
48
+ - The user making a comment or observation without explicit approval
49
+ - ANY response that isn't explicit confirmation
50
+
51
+ **If you are uncertain whether the user approved, ASK:** "Ready to log it, or do you want to change something?"
52
+
53
+ ❌ **NEVER:**
54
+ - Create the specification document and then ask the user to review it
55
+ - Write multiple sections and present them for review afterward
56
+ - Assume silence or moving on means approval
57
+ - Make "minor" amendments without explicit approval
58
+ - Batch up content and log it all at once
59
+
60
+ ✅ **ALWAYS:**
61
+ - Present ONE topic at a time
62
+ - **STOP and WAIT** for the user to explicitly approve before writing
63
+ - Treat each write operation as requiring its own explicit approval
64
+
65
+ ## What You Do
66
+
67
+ 1. **Extract exhaustively**: For each topic, re-scan ALL source materials. When working with multiple sources, search each one — information about a single topic may be scattered across documents. Search for keywords and related terms. Collect everything before synthesizing. Include only what we're building (not discarded alternatives).
68
+ 2. **Filter**: Reference material may contain hallucinations, inaccuracies, or outdated concepts. Validate before including.
69
+ 3. **Enrich**: Reference material may have gaps. Fill them through discussion.
70
+ 4. **Present**: Synthesize and present content to the user in the format it would appear in the specification.
71
+ 5. **STOP AND WAIT**: Do not proceed until the user explicitly approves. This is not optional.
72
+ 6. **Log**: Only after explicit approval, write content verbatim to the specification.
73
+ 7. **Final review**: After all topics and dependencies are documented, perform a comprehensive review of ALL source material against the specification. Flag any potentially missed content to the user — but only from the sources, never fabricated. User confirms before any additions.
74
+
75
+ The specification is the **golden document** — planning uses only this. If information doesn't make it into the specification, it won't be built. No references back to source material.
76
+
77
+ ## Rules
78
+
79
+ **STOP AND WAIT FOR APPROVAL**: You MUST NOT write to the specification until the user has explicitly approved. Presenting content is NOT approval. Presenting choices is NOT approval. You must receive explicit confirmation before ANY write operation. If uncertain, ASK.
80
+
81
+ **Exhaustive extraction is non-negotiable**: Before presenting any topic, re-scan source material. Search for keywords. Collect scattered information. The specification is the golden document — missing something here means it doesn't get built.
82
+
83
+ **Log verbatim**: When approved, write exactly what was presented — no silent modifications.
84
+
85
+ **Commit frequently**: Commit at natural breaks and before any context refresh. Context refresh = lost work.
86
+
87
+ **Trust nothing without validation**: Synthesize and present, but never assume source material is correct.
88
+
89
+ **Surface conflicts**: When sources contain conflicting decisions, flag the conflict to the user. Don't silently pick one — let the user decide what makes it into the specification.
90
+
91
+ ## Self-Check: Are You Following the Rules?
92
+
93
+ Before ANY write operation to the specification, ask yourself:
94
+
95
+ | Question | If No... |
96
+ |----------|----------|
97
+ | Did I present this specific content to the user? | **STOP**. Present it first. |
98
+ | Did the user explicitly approve? (e.g., `y`/`yes`) | **STOP**. Wait for approval or ask. |
99
+ | Am I writing exactly what was approved, with no additions? | **STOP**. Present any changes first. |
100
+
101
+ > **If you have written to the specification file and cannot answer "yes" to all three questions above for that content, you have violated the workflow.** Every piece of content requires explicit user approval before logging. There are no exceptions.
@@ -0,0 +1,20 @@
1
+ # Verify Source Material
2
+
3
+ *Reference for **[technical-specification](../SKILL.md)***
4
+
5
+ ---
6
+
7
+ Verify that all source material exists and is accessible before beginning specification work.
8
+
9
+ ## Verification
10
+
11
+ 1. For each source path provided in the handoff context, run `ls` to confirm the file exists — do not read the file contents
12
+ 2. If any file is missing, **STOP** — inform the user which file is missing and do not proceed
13
+ 3. If all files exist, proceed
14
+
15
+ ### Example
16
+
17
+ ```bash
18
+ ls docs/workflow/discussion/auth-flow.md
19
+ ls docs/workflow/research/api-patterns.md
20
+ ```
package/skills/.gitkeep DELETED
File without changes