@hanzlaa/rcode 2.3.1 → 2.3.3

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 (95) hide show
  1. package/CLAUDE.md +15 -0
  2. package/README.md +3 -3
  3. package/cli/postinstall.js +4 -4
  4. package/package.json +3 -2
  5. package/rihal/agents/rihal-executor.md +1 -0
  6. package/rihal/agents/rihal-phase-researcher.md +1 -0
  7. package/rihal/agents/rihal-planner.md +2 -1
  8. package/rihal/brain/best-practices/no-theoretical-suggestions.md +56 -0
  9. package/rihal/commands/add-phase.md +2 -2
  10. package/rihal/commands/cleanup.md +2 -2
  11. package/rihal/commands/pr-branch.md +2 -2
  12. package/rihal/commands/remove-phase.md +2 -2
  13. package/rihal/commands/research-phase.md +2 -2
  14. package/rihal/commands/ship.md +15 -3
  15. package/rihal/commands/validate-phase.md +1 -1
  16. package/rihal/commands/verify-phase.md +2 -2
  17. package/rihal/skills/actions/1-analysis/research/rihal-domain-research/SKILL.md +11 -0
  18. package/rihal/skills/actions/1-analysis/research/rihal-market-research/SKILL.md +11 -0
  19. package/rihal/skills/actions/1-analysis/research/rihal-technical-research/SKILL.md +13 -0
  20. package/rihal/skills/actions/1-analysis/rihal-document-project/SKILL.md +11 -0
  21. package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +2 -0
  22. package/rihal/skills/actions/1-analysis/rihal-product-brief/SKILL.md +7 -0
  23. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/SKILL.md +12 -0
  24. package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +18 -0
  25. package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +13 -0
  26. package/rihal/skills/actions/2-plan/rihal-create-story/SKILL.md +12 -0
  27. package/rihal/skills/actions/2-plan/rihal-create-ux-design/SKILL.md +12 -0
  28. package/rihal/skills/actions/2-plan/rihal-edit-prd/SKILL.md +11 -0
  29. package/rihal/skills/actions/2-plan/rihal-frontend-design/SKILL.md +13 -0
  30. package/rihal/skills/actions/2-plan/rihal-validate-prd/SKILL.md +12 -0
  31. package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/SKILL.md +12 -0
  32. package/rihal/skills/actions/3-solutioning/rihal-create-architecture/SKILL.md +14 -0
  33. package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/SKILL.md +12 -0
  34. package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +6 -0
  35. package/rihal/skills/actions/4-implementation/rihal-code-review/SKILL.md +12 -0
  36. package/rihal/skills/actions/4-implementation/rihal-correct-course/SKILL.md +13 -0
  37. package/rihal/skills/actions/4-implementation/rihal-dev-story/SKILL.md +12 -0
  38. package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/SKILL.md +12 -0
  39. package/rihal/skills/actions/4-implementation/rihal-retrospective/SKILL.md +11 -0
  40. package/rihal/skills/actions/4-implementation/rihal-scaffold-project/SKILL.md +10 -0
  41. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +11 -0
  42. package/rihal/skills/actions/4-implementation/rihal-sprint-status/SKILL.md +10 -0
  43. package/rihal/skills/agents/ahmed-hassani-director/SKILL.md +13 -1
  44. package/rihal/skills/agents/fatima-qa/SKILL.md +14 -1
  45. package/rihal/skills/agents/haitham-frontend/SKILL.md +15 -1
  46. package/rihal/skills/agents/hanzla-engineer/SKILL.md +14 -1
  47. package/rihal/skills/agents/hussain-pm/SKILL.md +14 -1
  48. package/rihal/skills/agents/hussain-sm/SKILL.md +14 -1
  49. package/rihal/skills/agents/layla-designer/SKILL.md +15 -1
  50. package/rihal/skills/agents/majlis-council/SKILL.md +14 -1
  51. package/rihal/skills/agents/mariam-marketing/SKILL.md +15 -1
  52. package/rihal/skills/agents/nasser-eng-manager/SKILL.md +14 -1
  53. package/rihal/skills/agents/noor-writer/SKILL.md +14 -1
  54. package/rihal/skills/agents/raees-orchestrator/SKILL.md +13 -1
  55. package/rihal/skills/agents/sadiq-analyst/SKILL.md +15 -1
  56. package/rihal/skills/agents/waleed-architect/SKILL.md +16 -1
  57. package/rihal/skills/agents/yousef-backend/SKILL.md +16 -1
  58. package/rihal/skills/agents/zahra-branding/SKILL.md +15 -1
  59. package/rihal/skills/agents/zayd-ml/SKILL.md +17 -1
  60. package/rihal/skills/core/rihal-advanced-elicitation/SKILL.md +12 -0
  61. package/rihal/skills/core/rihal-brainstorming/SKILL.md +16 -0
  62. package/rihal/skills/core/rihal-clone-website/SKILL.md +21 -0
  63. package/rihal/skills/core/rihal-distillator/SKILL.md +8 -0
  64. package/rihal/skills/core/rihal-editorial-review-prose/SKILL.md +12 -0
  65. package/rihal/skills/core/rihal-editorial-review-structure/SKILL.md +18 -0
  66. package/rihal/skills/core/rihal-help/SKILL.md +12 -0
  67. package/rihal/skills/core/rihal-index-docs/SKILL.md +18 -0
  68. package/rihal/skills/core/rihal-init/SKILL.md +8 -0
  69. package/rihal/skills/core/rihal-party-mode/SKILL.md +14 -0
  70. package/rihal/skills/core/rihal-review-adversarial-general/SKILL.md +12 -0
  71. package/rihal/skills/core/rihal-review-edge-case-hunter/SKILL.md +18 -0
  72. package/rihal/skills/core/rihal-shard-doc/SKILL.md +18 -0
  73. package/rihal/state.json +22 -0
  74. package/rihal/team.yaml +205 -0
  75. package/rihal/workflows/autonomous.md +2 -2
  76. package/rihal/workflows/chain.md +1 -1
  77. package/rihal/workflows/checkpoint-preview.md +1 -1
  78. package/rihal/workflows/council.md +1 -1
  79. package/rihal/workflows/discuss.md +2 -2
  80. package/rihal/workflows/document-project.md +1 -1
  81. package/rihal/workflows/enable-hooks.md +1 -1
  82. package/rihal/workflows/help.md +1 -1
  83. package/rihal/workflows/prfaq.md +1 -1
  84. package/rihal/workflows/settings.md +18 -17
  85. package/rihal/workflows/ship.md +31 -1
  86. package/rihal/workflows/sprint-planning.md +2 -2
  87. package/server/dashboard.js +34 -575
  88. package/server/lib/api.js +123 -0
  89. package/server/lib/html/client.js +969 -0
  90. package/server/lib/html/css.js +416 -0
  91. package/server/lib/html/shell.js +230 -0
  92. package/server/lib/scanner.js +142 -0
  93. package/rihal/skills/core/rihal-advanced-elicitation/rihal-advanced-elicitation/SKILL.md +0 -148
  94. package/rihal/skills/core/rihal-advanced-elicitation/rihal-advanced-elicitation/methods.csv +0 -51
  95. package/rihal/skills/core/rihal-shard-doc/rihal-shard-doc/SKILL.md +0 -122
@@ -14,6 +14,22 @@ description: >
14
14
  automation. Do NOT use for: pure backend APIs (use Yousef), UI (use
15
15
  Haitham), architecture of non-ML systems (use Waleed), or testing
16
16
  strategy (use Fatima).
17
+ triggers:
18
+ - "machine learning"
19
+ - "ML model"
20
+ - "AI"
21
+ - "LLM"
22
+ - "prompt engineering"
23
+ - "fine-tuning"
24
+ - "RAG"
25
+ - "embeddings"
26
+ - "talk to Zayd"
27
+ - "train a model"
28
+ - "ML pipeline"
29
+ - "AI feature"
30
+ - "vector database"
31
+ - "NLP"
32
+ - "deep learning"
17
33
  ---
18
34
 
19
35
  # Zayd — Senior ML Engineer
@@ -59,7 +75,7 @@ Concrete. Cites numbers: accuracy, F1, latency, cost per 1k requests. Never ship
59
75
  | PE | Design and version-control prompt engineering for LLMs | rihal-prompt-design (future) |
60
76
  | DR | Domain research for ML feasibility | rihal-technical-research |
61
77
 
62
- ## On Activation
78
+ ## Workflow
63
79
 
64
80
  1. **Load config by reading @.rihal/skills/rihal-init/SKILL.md**
65
81
  2. **Load project context**
@@ -2,6 +2,8 @@
2
2
  name: rihal-advanced-elicitation
3
3
  description: 'Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g. socratic, first principles, pre-mortem, red team.'
4
4
  agent_party: '{project-root}/.rihal/team.yaml'
5
+ triggers:
6
+ - "advanced elicitation"
5
7
  ---
6
8
 
7
9
  # Advanced Elicitation
@@ -10,6 +12,10 @@ agent_party: '{project-root}/.rihal/team.yaml'
10
12
 
11
13
  ---
12
14
 
15
+ ## Overview
16
+
17
+ Advanced elicitation skill for Rihal Code.
18
+
13
19
  ## CRITICAL LLM INSTRUCTIONS
14
20
 
15
21
  - **MANDATORY:** Execute ALL steps in the flow section IN EXACT ORDER
@@ -140,6 +146,12 @@ x. Proceed / No Further Actions
140
146
 
141
147
  Interactive menu loop presenting 5 elicitation methods, then the enhanced content after each method application. Final output is the user-approved enhanced version of the original content.
142
148
 
149
+ ## Workflow
150
+
151
+ 1. Read the user request and extract key parameters.
152
+ 2. Execute the skill logic as described in the Overview.
153
+ 3. Return output in the format specified below.
154
+
143
155
  ## Examples
144
156
 
145
157
  ### Happy path
@@ -7,9 +7,25 @@ description: >
7
7
  thinking", "generate ideas", "idea generation", "divergent thinking",
8
8
  "lateral thinking", or "think outside the box". Do NOT use for strategic
9
9
  analysis (use rihal-sadiq-analyst) or product requirements (use rihal-create-prd).
10
+ triggers:
11
+ - "brainstorm"
12
+ - "help me brainstorm"
13
+ - "help me ideate"
14
+ - "ideation session"
15
+ - "creative
16
+ thinking"
17
+ - "generate ideas"
18
+ - "idea generation"
19
+ - "divergent thinking"
20
+ - "lateral thinking"
21
+ - "think outside the box"
10
22
  user-invocable: true
11
23
  ---
12
24
 
25
+ ## Overview
26
+
27
+ Facilitate interactive brainstorming sessions using diverse creative techniques and ideation methods.
28
+
13
29
  Structured brainstorming facilitator that guides users through creative ideation using techniques from brain-methods.csv. Aims for 100+ ideas before organizing, using anti-bias protocols to push past obvious solutions.
14
30
 
15
31
  ## Workflow
@@ -12,6 +12,21 @@ description: >
12
12
  (use rihal-create-ux-design with Layla), writing new components from a
13
13
  brief (use rihal-dev-story with Hanzla or Bilal), or inspiration-only
14
14
  references without rebuild intent.
15
+ triggers:
16
+ - "clone
17
+ this website"
18
+ - "clone this site"
19
+ - "rebuild this page"
20
+ - "replicate this
21
+ UI"
22
+ - "pixel-perfect clone"
23
+ - "make exact UI like this"
24
+ - "copy this site"
25
+ - "reverse engineer this site"
26
+ - "build me a clone of"
27
+ - "aisi website banao"
28
+ - "yeh site clone karo"
29
+ - "exact same UI chahiye like [URL]"
15
30
  argument-hint: "<url>"
16
31
  user-invocable: true
17
32
  ---
@@ -334,6 +349,12 @@ Before dispatching ANY builder:
334
349
  - Do NOT merge with red builds
335
350
  - Do NOT skip responsive extraction
336
351
 
352
+ ## Workflow
353
+
354
+ 1. Read the user request and extract key parameters.
355
+ 2. Execute the skill logic as described in the Overview.
356
+ 3. Return output in the format specified below.
357
+
337
358
  ## Examples
338
359
 
339
360
  ### Happy Path
@@ -2,6 +2,8 @@
2
2
  name: rihal-distillator
3
3
  description: Lossless LLM-optimized compression of source documents. Use when the user requests to 'distill documents' or 'create a distillate'.
4
4
  argument-hint: "[to create provide input paths] [--validate distillate-path to confirm distillate is lossless and optimized]"
5
+ triggers:
6
+ - "distillator"
5
7
  ---
6
8
 
7
9
  # Distillator: A Document Distillation Engine
@@ -188,6 +190,12 @@ Structured JSON result:
188
190
  }
189
191
  ```
190
192
 
193
+ ## Workflow
194
+
195
+ 1. Read the user request and extract key parameters.
196
+ 2. Execute the skill logic as described in the Overview.
197
+ 3. Return output in the format specified below.
198
+
191
199
  ## Examples
192
200
 
193
201
  ### Happy path
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: rihal-editorial-review-prose
3
3
  description: 'Clinical copy-editor that reviews text for communication issues. Use when user says review for prose or improve the prose'
4
+ triggers:
5
+ - "editorial review prose"
4
6
  ---
5
7
 
6
8
  # Editorial Review - Prose
@@ -17,6 +19,10 @@ description: 'Clinical copy-editor that reviews text for communication issues. U
17
19
  - **reader_type** (optional, default: `humans`) — `humans` for standard editorial, `llm` for precision focus
18
20
 
19
21
 
22
+ ## Overview
23
+
24
+ Editorial review prose skill for Rihal Code.
25
+
20
26
  ## PRINCIPLES
21
27
 
22
28
  1. **Minimal intervention:** Apply the smallest fix that achieves clarity
@@ -93,6 +99,12 @@ Three-column markdown table:
93
99
  |---------------|--------------|---------|}
94
100
  | The exact original passage | The suggested revision | Brief explanation |
95
101
 
102
+ ## Workflow
103
+
104
+ 1. Read the user request and extract key parameters.
105
+ 2. Execute the skill logic as described in the Overview.
106
+ 3. Return output in the format specified below.
107
+
96
108
  ## Examples
97
109
 
98
110
  ### Happy path
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: rihal-editorial-review-structure
3
3
  description: 'Structural editor that proposes cuts, reorganization, and simplification while preserving comprehension. Use when user requests structural review or editorial review of structure'
4
+ triggers:
5
+ - "editorial review structure"
4
6
  ---
5
7
 
6
8
  # Editorial Review - Structure
@@ -19,6 +21,10 @@ description: 'Structural editor that proposes cuts, reorganization, and simplifi
19
21
  - **reader_type** (optional, default: "humans") -- 'humans' (default) preserves comprehension aids; 'llm' optimizes for precision and density
20
22
  - **length_target** (optional) -- Target reduction (e.g., '30% shorter', 'half the length', 'no limit')
21
23
 
24
+ ## Overview
25
+
26
+ Editorial review structure skill for Rihal Code.
27
+
22
28
  ## Principles
23
29
 
24
30
  - Comprehension through calibration: Optimize for the minimum words needed to maintain understanding
@@ -178,6 +184,18 @@ Use the following output format:
178
184
  - HALT with error if reader_type is not "humans" or "llm"
179
185
  - If no structural issues found, output "No substantive changes recommended" (this is valid completion, not an error)
180
186
 
187
+ ## Workflow
188
+
189
+ 1. Read the user request and extract key parameters.
190
+ 2. Execute the skill logic as described in the Overview.
191
+ 3. Return output in the format specified below.
192
+
193
+ ## Output Format
194
+
195
+ - Structured Markdown response
196
+ - Headers for each section
197
+ - Concise, actionable content
198
+
181
199
  ## Examples
182
200
 
183
201
  ### Happy path
@@ -1,10 +1,16 @@
1
1
  ---
2
2
  name: rihal-help
3
3
  description: 'Analyzes current state and user query to answer Rihal questions or recommend the next skill(s) to use. Use when user asks for help, Rihal help, what to do next, or what to start with in Rihal.'
4
+ triggers:
5
+ - "help"
4
6
  ---
5
7
 
6
8
  # Rihal Help
7
9
 
10
+ ## Overview
11
+
12
+ Help skill for Rihal Code.
13
+
8
14
  ## Purpose
9
15
 
10
16
  Help the user understand where they are in their Rihal workflow and what to do next. Answer Rihal questions when asked.
@@ -76,6 +82,12 @@ For each recommended item, present:
76
82
 
77
83
  Status summary of current workflow position, then ordered list of recommended next skills with `[menu-code]` **Display name**, skill name in backticks, and description.
78
84
 
85
+ ## Workflow
86
+
87
+ 1. Read the user request and extract key parameters.
88
+ 2. Execute the skill logic as described in the Overview.
89
+ 3. Return output in the format specified below.
90
+
79
91
  ## Examples
80
92
 
81
93
  ### Happy path
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: rihal-index-docs
3
3
  description: 'Generates or updates an index.md to reference all docs in the folder. Use if user requests to create or update an index of all files in a specific folder'
4
+ triggers:
5
+ - "index docs"
4
6
  ---
5
7
 
6
8
  # Index Docs
@@ -8,6 +10,10 @@ description: 'Generates or updates an index.md to reference all docs in the fold
8
10
  **Goal:** Generate or update an index.md to reference all docs in a target folder.
9
11
 
10
12
 
13
+ ## Overview
14
+
15
+ Index docs skill for Rihal Code.
16
+
11
17
  ## EXECUTION
12
18
 
13
19
  ### Step 1: Scan Directory
@@ -64,6 +70,18 @@ description: 'Generates or updates an index.md to reference all docs in the fold
64
70
  - Keep descriptions concise but informative (3-10 words)
65
71
  - Sort alphabetically within groups
66
72
 
73
+ ## Workflow
74
+
75
+ 1. Read the user request and extract key parameters.
76
+ 2. Execute the skill logic as described in the Overview.
77
+ 3. Return output in the format specified below.
78
+
79
+ ## Output Format
80
+
81
+ - Structured Markdown response
82
+ - Headers for each section
83
+ - Concise, actionable content
84
+
67
85
  ## Examples
68
86
 
69
87
  ### Happy path
@@ -3,6 +3,8 @@ name: rihal-init
3
3
  internal: true
4
4
  description: "INTERNAL config loader — called by other skills, not by users directly. Loads module config vars from .rihal/. Install puts this in .rihal/skills/, not .claude/skills/."
5
5
  argument-hint: "[--module=module_code] [--vars=var1:default1,var2] [--skill-path=/path/to/calling/skill]"
6
+ triggers:
7
+ - "init"
6
8
  ---
7
9
 
8
10
  ## Overview
@@ -104,6 +106,12 @@ After writing, re-run `rihal_init.py` with the `load` subcommand (same as the fa
104
106
 
105
107
  JSON config vars returned to the calling skill. When init path runs, interactive Q&A with the user, then config files written to `_rihal/`.
106
108
 
109
+ ## Workflow
110
+
111
+ 1. Read the user request and extract key parameters.
112
+ 2. Execute the skill logic as described in the Overview.
113
+ 3. Return output in the format specified below.
114
+
107
115
  ## Examples
108
116
 
109
117
  ### Happy path (fast path)
@@ -9,9 +9,23 @@ description: >
9
9
  decisions (use rihal-majlis-council), single-agent questions where one
10
10
  specialist is clearly the right owner (invoke that agent directly), or
11
11
  sprint ceremonies (use rihal-hussain-sm).
12
+ triggers:
13
+ - "party mode"
14
+ - "activate party mode"
15
+ - "start party mode"
16
+ - "group discussion"
17
+ - "team discussion"
18
+ - "talk to everyone"
19
+ - "bring all agents"
20
+ - "multi-agent chat"
21
+ - "let's have a party"
12
22
  user-invocable: true
13
23
  ---
14
24
 
25
+ ## Overview
26
+
27
+ Orchestrates group discussions between all installed Rihal agents, enabling natural multi-agent conversations with maintained personalities.
28
+
15
29
  # Party Mode
16
30
 
17
31
  Brings together the full Rihal agent team for natural multi-agent conversations. Each agent maintains their unique personality and expertise while a facilitator manages flow, relevance-based agent selection, and cross-talk.
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: rihal-review-adversarial-general
3
3
  description: 'Perform a Cynical Review and produce a findings report. Use when the user requests a critical review of something'
4
+ triggers:
5
+ - "review adversarial general"
4
6
  ---
5
7
 
6
8
  # Adversarial Review (General)
@@ -14,6 +16,10 @@ description: 'Perform a Cynical Review and produce a findings report. Use when t
14
16
  - **also_consider** (optional) — Areas to keep in mind during review alongside normal adversarial analysis
15
17
 
16
18
 
19
+ ## Overview
20
+
21
+ Review adversarial general skill for Rihal Code.
22
+
17
23
  ## EXECUTION
18
24
 
19
25
  ### Step 1: Receive Content
@@ -35,6 +41,12 @@ Output findings as a Markdown list (descriptions only).
35
41
 
36
42
  Markdown bullet list of findings, each describing a specific problem, gap, or risk.
37
43
 
44
+ ## Workflow
45
+
46
+ 1. Read the user request and extract key parameters.
47
+ 2. Execute the skill logic as described in the Overview.
48
+ 3. Return output in the format specified below.
49
+
38
50
  ## Examples
39
51
 
40
52
  ### Happy path
@@ -1,6 +1,8 @@
1
1
  ---
2
2
  name: rihal-review-edge-case-hunter
3
3
  description: 'Walk every branching path and boundary condition in content, report only unhandled edge cases. Orthogonal to adversarial review - method-driven not attitude-driven. Use when you need exhaustive edge-case analysis of code, specs, or diffs.'
4
+ triggers:
5
+ - "review edge case hunter"
4
6
  ---
5
7
 
6
8
  # Edge Case Hunter Review
@@ -19,6 +21,10 @@ Ignore the rest of the codebase unless the provided content explicitly reference
19
21
  **Your method is exhaustive path enumeration — mechanically walk every branch, not hunt by intuition. Report ONLY paths and conditions that lack handling — discard handled ones silently. Do NOT editorialize or add filler — findings only.**
20
22
 
21
23
 
24
+ ## Overview
25
+
26
+ Review edge case hunter skill for Rihal Code.
27
+
22
28
  ## EXECUTION
23
29
 
24
30
  ### Step 1: Receive Content
@@ -66,6 +72,18 @@ No extra text, no explanations, no markdown wrapping. An empty array `[]` is val
66
72
 
67
73
  - If content is empty or cannot be decoded as text, return `[{"location":"N/A","trigger_condition":"Input empty or undecodable","guard_snippet":"Provide valid content to review","potential_consequence":"Review skipped — no analysis performed"}]` and stop
68
74
 
75
+ ## Workflow
76
+
77
+ 1. Read the user request and extract key parameters.
78
+ 2. Execute the skill logic as described in the Overview.
79
+ 3. Return output in the format specified below.
80
+
81
+ ## Output Format
82
+
83
+ - Structured Markdown response
84
+ - Headers for each section
85
+ - Concise, actionable content
86
+
69
87
  ## Examples
70
88
 
71
89
  ### Happy path
@@ -1,12 +1,18 @@
1
1
  ---
2
2
  name: rihal-shard-doc
3
3
  description: 'Splits large markdown documents into smaller, organized files based on level 2 (default) sections. Use if the user says perform shard document'
4
+ triggers:
5
+ - "shard doc"
4
6
  ---
5
7
 
6
8
  # Shard Document
7
9
 
8
10
  **Goal:** Split large markdown documents into smaller, organized files based on level 2 sections using `npx @kayvan/markdown-tree-parser`.
9
11
 
12
+ ## Overview
13
+
14
+ Shard doc skill for Rihal Code.
15
+
10
16
  ## CRITICAL RULES
11
17
 
12
18
  - MANDATORY: Execute ALL steps in the EXECUTION section IN EXACT ORDER
@@ -100,6 +106,18 @@ Present user with options for the original document:
100
106
  - Consider deleting or archiving the original document
101
107
  - Confirm user choice: "Original document kept at: [source-document-path]"
102
108
 
109
+ ## Workflow
110
+
111
+ 1. Read the user request and extract key parameters.
112
+ 2. Execute the skill logic as described in the Overview.
113
+ 3. Return output in the format specified below.
114
+
115
+ ## Output Format
116
+
117
+ - Structured Markdown response
118
+ - Headers for each section
119
+ - Concise, actionable content
120
+
103
121
  ## Examples
104
122
 
105
123
  ### Happy path
@@ -0,0 +1,22 @@
1
+ {
2
+ "version": "1",
3
+ "project": "__PROJECT_NAME__",
4
+ "created": "__INSTALL_DATE__",
5
+ "updated": "__INSTALL_DATE__",
6
+ "current_phase": "01",
7
+ "current_plan": 0,
8
+ "current_sprint": null,
9
+ "milestone": "M1 — Initial Delivery",
10
+ "phases": [
11
+ { "id": "01", "name": "Setup & Scaffolding", "status": "planned" }
12
+ ],
13
+ "executions": [],
14
+ "decisions": [],
15
+ "blockers": [],
16
+ "council_sessions": [],
17
+ "chains": [],
18
+ "workstreams": [],
19
+ "active_workstream": null,
20
+ "last_session": null,
21
+ "velocity_history": []
22
+ }