@hanzlaa/rcode 3.4.4 → 3.4.5

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 (213) hide show
  1. package/AGENTS.md +1 -1
  2. package/CONTRIBUTING.md +63 -1
  3. package/README.md +9 -4
  4. package/cli/generate-command-skills.cjs +5 -5
  5. package/cli/index.js +0 -0
  6. package/cli/install.js +112 -3
  7. package/cli/lib/manifest.cjs +1 -1
  8. package/cli/uninstall.js +8 -0
  9. package/dist/rcode.js +19 -1
  10. package/package.json +16 -17
  11. package/rihal/agents/rihal-ahmed.md +2 -1
  12. package/rihal/agents/rihal-code-fixer.md +46 -0
  13. package/rihal/agents/rihal-code-reviewer.md +46 -1
  14. package/rihal/agents/rihal-deviation-analyzer.md +1 -0
  15. package/rihal/agents/rihal-docs-auditor.md +106 -1
  16. package/rihal/agents/rihal-edge-case-hunter.md +47 -1
  17. package/rihal/agents/rihal-executor.md +1 -1
  18. package/rihal/agents/rihal-khalid.md +40 -1
  19. package/rihal/agents/rihal-layla.md +2 -1
  20. package/rihal/agents/rihal-nasser.md +2 -1
  21. package/rihal/agents/rihal-noor.md +3 -2
  22. package/rihal/agents/rihal-nyquist-auditor.md +1 -1
  23. package/rihal/agents/rihal-phase-researcher.md +46 -1
  24. package/rihal/agents/rihal-planner.md +1 -1
  25. package/rihal/agents/rihal-profiler.md +45 -2
  26. package/rihal/agents/rihal-project-researcher.md +47 -0
  27. package/rihal/agents/rihal-remediation-planner.md +45 -0
  28. package/rihal/agents/rihal-roadmapper.md +46 -0
  29. package/rihal/agents/rihal-security-adversary.md +46 -1
  30. package/rihal/agents/rihal-security-auditor.md +45 -1
  31. package/rihal/agents/rihal-ui-auditor.md +44 -1
  32. package/rihal/agents/rihal-ux-designer.md +41 -1
  33. package/rihal/agents/rihal-zahra.md +2 -1
  34. package/rihal/agents/rihal-zayd.md +2 -1
  35. package/rihal/bin/lib/config.cjs +13 -1
  36. package/rihal/bin/lib/council-panel.cjs +185 -23
  37. package/rihal/bin/lib/roadmap.cjs +27 -2
  38. package/rihal/bin/rihal-tools.cjs +1837 -99
  39. package/rihal/commands/audit.md +2 -2
  40. package/rihal/commands/capture.md +12 -0
  41. package/rihal/commands/diagnose-issues.md +18 -0
  42. package/rihal/commands/discuss-phase-power.md +18 -0
  43. package/rihal/commands/feature-drift.md +18 -0
  44. package/rihal/commands/karpathy-audit.md +18 -0
  45. package/rihal/commands/lens-audit.md +70 -0
  46. package/rihal/commands/new-project-research.md +18 -0
  47. package/rihal/commands/new-project-roadmap.md +18 -0
  48. package/rihal/commands/phase.md +11 -0
  49. package/rihal/references/continuation-format.md +3 -3
  50. package/rihal/references/output-format.md +79 -0
  51. package/rihal/references/revision-loop.md +1 -1
  52. package/rihal/references/verb-dictionary.md +85 -28
  53. package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +1 -1
  54. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/SKILL.md +12 -2
  55. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/steps/step-04-final-validation.md +12 -0
  56. package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +12 -2
  57. package/rihal/skills/actions/2-plan/rihal-create-story/SKILL.md +12 -2
  58. package/rihal/skills/actions/4-implementation/rihal-browser-verify/SKILL.md +1 -1
  59. package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +1 -1
  60. package/rihal/skills/actions/4-implementation/rihal-ci/SKILL.md +1 -1
  61. package/rihal/skills/actions/4-implementation/rihal-code-review/SKILL.md +16 -4
  62. package/rihal/skills/actions/4-implementation/rihal-debug/SKILL.md +14 -1
  63. package/rihal/skills/actions/4-implementation/rihal-git-flow/SKILL.md +1 -1
  64. package/rihal/skills/actions/4-implementation/rihal-harden/SKILL.md +1 -1
  65. package/rihal/skills/actions/4-implementation/rihal-incremental/SKILL.md +1 -1
  66. package/rihal/skills/actions/4-implementation/rihal-migrate/SKILL.md +1 -1
  67. package/rihal/skills/actions/4-implementation/rihal-perf/SKILL.md +1 -1
  68. package/rihal/skills/actions/4-implementation/rihal-prove-it/SKILL.md +1 -1
  69. package/rihal/skills/actions/4-implementation/rihal-scaffold-project/steps/step-01-target.md +6 -0
  70. package/rihal/skills/actions/4-implementation/rihal-source-truth/SKILL.md +1 -1
  71. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +14 -3
  72. package/rihal/skills/actions/4-implementation/rihal-trim/SKILL.md +1 -1
  73. package/rihal/skills/agents/ahmed-hassani-director/SKILL.md +15 -1
  74. package/rihal/skills/agents/dalil-scout/SKILL.md +14 -2
  75. package/rihal/skills/agents/fatima-qa/SKILL.md +16 -1
  76. package/rihal/skills/agents/haitham-frontend/SKILL.md +13 -1
  77. package/rihal/skills/agents/hanzla-engineer/SKILL.md +13 -1
  78. package/rihal/skills/agents/hussain-pm/SKILL.md +16 -1
  79. package/rihal/skills/agents/hussain-sm/SKILL.md +14 -1
  80. package/rihal/skills/agents/layla-designer/SKILL.md +13 -1
  81. package/rihal/skills/agents/majlis-council/SKILL.md +16 -1
  82. package/rihal/skills/agents/mariam-marketing/SKILL.md +14 -1
  83. package/rihal/skills/agents/nasser-eng-manager/SKILL.md +16 -1
  84. package/rihal/skills/agents/noor-writer/SKILL.md +15 -1
  85. package/rihal/skills/agents/raees-orchestrator/SKILL.md +15 -1
  86. package/rihal/skills/agents/rihal-cross-platform-auditor/SKILL.md +162 -0
  87. package/rihal/skills/agents/rihal-dep-auditor/SKILL.md +151 -0
  88. package/rihal/skills/agents/rihal-deviation-analyzer/SKILL.md +78 -0
  89. package/rihal/skills/agents/rihal-i18n-auditor/SKILL.md +152 -0
  90. package/rihal/skills/agents/rihal-observability-auditor/SKILL.md +156 -0
  91. package/rihal/skills/agents/sadiq-analyst/SKILL.md +12 -2
  92. package/rihal/skills/agents/waleed-architect/SKILL.md +12 -2
  93. package/rihal/skills/agents/yousef-backend/SKILL.md +12 -2
  94. package/rihal/skills/agents/zahra-branding/SKILL.md +15 -1
  95. package/rihal/skills/agents/zayd-ml/SKILL.md +13 -1
  96. package/rihal/skills/core/rihal-advanced-elicitation/SKILL.md +2 -2
  97. package/rihal/skills/core/rihal-auth-audit/SKILL.md +1 -1
  98. package/rihal/skills/core/rihal-brainstorming/SKILL.md +13 -2
  99. package/rihal/skills/core/rihal-client-gate/SKILL.md +1 -1
  100. package/rihal/skills/core/rihal-clone-website/SKILL.md +11 -1
  101. package/rihal/skills/core/rihal-deploy-unify/SKILL.md +1 -1
  102. package/rihal/skills/core/rihal-distillator/SKILL.md +2 -2
  103. package/rihal/skills/core/rihal-editorial-review-prose/SKILL.md +1 -1
  104. package/rihal/skills/core/rihal-editorial-review-structure/SKILL.md +2 -2
  105. package/rihal/skills/core/rihal-help/SKILL.md +18 -1
  106. package/rihal/skills/core/rihal-incident-record/SKILL.md +1 -1
  107. package/rihal/skills/core/rihal-index-docs/SKILL.md +1 -1
  108. package/rihal/skills/core/rihal-memory-audit/SKILL.md +18 -1
  109. package/rihal/skills/core/rihal-memory-init/SKILL.md +13 -1
  110. package/rihal/skills/core/rihal-memory-update/SKILL.md +13 -1
  111. package/rihal/skills/core/rihal-mvp-graduate/SKILL.md +1 -1
  112. package/rihal/skills/core/rihal-ocr-consistency/SKILL.md +1 -1
  113. package/rihal/skills/core/rihal-rebrand/SKILL.md +1 -1
  114. package/rihal/skills/core/rihal-review-adversarial-general/SKILL.md +1 -1
  115. package/rihal/skills/core/rihal-review-edge-case-hunter/SKILL.md +17 -1
  116. package/rihal/skills/core/rihal-shard-doc/SKILL.md +1 -1
  117. package/rihal/skills/core/rihal-theme-system/SKILL.md +1 -1
  118. package/rihal/team.yaml +0 -7
  119. package/rihal/templates/RESEARCH.md +84 -0
  120. package/rihal/templates/VALIDATION.md +45 -0
  121. package/rihal/templates/memory/INDEX.md +1 -0
  122. package/rihal/templates/memory/project/design-system.md +128 -0
  123. package/rihal/templates/summary.md +33 -3
  124. package/rihal/workflows/add-tests.md +1 -1
  125. package/rihal/workflows/add-todo.md +6 -0
  126. package/rihal/workflows/analyze-dependencies.md +6 -0
  127. package/rihal/workflows/audit-fix.md +12 -0
  128. package/rihal/workflows/audit-milestone.md +2 -2
  129. package/rihal/workflows/audit.md +23 -14
  130. package/rihal/workflows/autonomous-smart-discuss.md +247 -0
  131. package/rihal/workflows/autonomous.md +54 -267
  132. package/rihal/workflows/capture.md +60 -0
  133. package/rihal/workflows/chain.md +1 -1
  134. package/rihal/workflows/code-review-fix.md +6 -3
  135. package/rihal/workflows/code-review.md +34 -10
  136. package/rihal/workflows/complete-milestone.md +17 -8
  137. package/rihal/workflows/correct-course.md +6 -0
  138. package/rihal/workflows/council.md +37 -23
  139. package/rihal/workflows/create-architecture.md +31 -0
  140. package/rihal/workflows/create-epics-and-stories.md +7 -1
  141. package/rihal/workflows/create-prd.md +25 -0
  142. package/rihal/workflows/dashboard.md +1 -1
  143. package/rihal/workflows/debug.md +8 -0
  144. package/rihal/workflows/decisions.md +1 -1
  145. package/rihal/workflows/diff.md +6 -0
  146. package/rihal/workflows/discuss-phase-discuss-areas.md +271 -0
  147. package/rihal/workflows/discuss-phase.md +27 -266
  148. package/rihal/workflows/do.md +51 -12
  149. package/rihal/workflows/docs-update.md +3 -0
  150. package/rihal/workflows/document-project.md +7 -1
  151. package/rihal/workflows/edit-prd.md +31 -0
  152. package/rihal/workflows/enable-hooks.md +1 -1
  153. package/rihal/workflows/execute-regression-gates.md +131 -0
  154. package/rihal/workflows/execute-sprint.md +31 -2
  155. package/rihal/workflows/execute-verify-phase-goal.md +136 -0
  156. package/rihal/workflows/execute-waves.md +404 -0
  157. package/rihal/workflows/execute.md +101 -642
  158. package/rihal/workflows/feature-drift.md +243 -0
  159. package/rihal/workflows/forensics.md +10 -2
  160. package/rihal/workflows/health.md +65 -16
  161. package/rihal/workflows/help.md +36 -9
  162. package/rihal/workflows/import.md +17 -3
  163. package/rihal/workflows/init.md +20 -10
  164. package/rihal/workflows/install.md +2 -10
  165. package/rihal/workflows/lens-audit.md +689 -0
  166. package/rihal/workflows/map-codebase.md +7 -1
  167. package/rihal/workflows/memory-audit.md +67 -5
  168. package/rihal/workflows/memory-distill.md +10 -0
  169. package/rihal/workflows/memory-init.md +4 -0
  170. package/rihal/workflows/memory-update.md +4 -0
  171. package/rihal/workflows/new-milestone.md +7 -1
  172. package/rihal/workflows/new-project-create-roadmap.md +176 -0
  173. package/rihal/workflows/new-project-define-requirements.md +160 -0
  174. package/rihal/workflows/new-project-research-decision.md +247 -0
  175. package/rihal/workflows/new-project.md +3 -557
  176. package/rihal/workflows/note.md +1 -1
  177. package/rihal/workflows/phase.md +54 -0
  178. package/rihal/workflows/plan-milestone-gaps.md +1 -1
  179. package/rihal/workflows/plan-prd-express.md +108 -0
  180. package/rihal/workflows/plan-research-validation.md +313 -0
  181. package/rihal/workflows/plan-spawn-planner.md +204 -0
  182. package/rihal/workflows/plan.md +91 -532
  183. package/rihal/workflows/plant-seed.md +1 -1
  184. package/rihal/workflows/pr-branch.md +1 -1
  185. package/rihal/workflows/profile-user.md +1 -1
  186. package/rihal/workflows/quick.md +3 -3
  187. package/rihal/workflows/remove-phase.md +6 -1
  188. package/rihal/workflows/remove-workspace.md +6 -0
  189. package/rihal/workflows/rerun.md +1 -1
  190. package/rihal/workflows/research-phase.md +4 -2
  191. package/rihal/workflows/resume-work.md +8 -3
  192. package/rihal/workflows/retrospective.md +31 -0
  193. package/rihal/workflows/review-adversarial.md +12 -0
  194. package/rihal/workflows/review.md +6 -0
  195. package/rihal/workflows/scaffold-project.md +31 -0
  196. package/rihal/workflows/scan.md +10 -0
  197. package/rihal/workflows/secure-phase.md +15 -2
  198. package/rihal/workflows/session-report.md +32 -7
  199. package/rihal/workflows/ship.md +7 -2
  200. package/rihal/workflows/show.md +6 -0
  201. package/rihal/workflows/sprint-status.md +4 -4
  202. package/rihal/workflows/status.md +2 -2
  203. package/rihal/workflows/ui-phase.md +1 -1
  204. package/rihal/workflows/undo.md +2 -3
  205. package/rihal/workflows/update.md +2 -2
  206. package/rihal/workflows/validate-phase.md +1 -1
  207. package/rihal/workflows/validate-prd.md +31 -0
  208. package/rihal/workflows/verify-phase.md +38 -5
  209. package/rihal/workflows/verify-work.md +25 -11
  210. package/rihal/workflows/workstream.md +20 -8
  211. package/server/lib/html/client.js +13 -63
  212. package/server/lib/html/shell.js +0 -1
  213. package/server/lib/scanner.js +33 -2
@@ -7,13 +7,23 @@ description: >
7
7
  "assemble story context". Do NOT use to execute a story (use
8
8
  rihal-dev-story).
9
9
  triggers:
10
+ # English
10
11
  - "create the next story"
11
12
  - "prepare a story"
12
- - "create
13
- story {id}"
13
+ - "create story"
14
14
  - "write the story for"
15
15
  - "get next story ready for dev"
16
16
  - "assemble story context"
17
+ # Roman Urdu / Hindi
18
+ - "story banao"
19
+ - "kahani banao"
20
+ - "agli story tayyar karo"
21
+ # Arabic native
22
+ - "أنشئ القصة"
23
+ - "اكتب القصة"
24
+ - "حضّر القصة"
25
+ - "القصة التالية"
26
+ - "جهّز القصة للتنفيذ"
17
27
  ---
18
28
  @.rihal/references/karpathy-guidelines.md
19
29
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-browser-verify
3
- description: Use Chrome DevTools MCP to verify browser behaviour — DOM state, console errors, network requests, performance traces, screenshot diffs. Use when implementing or debugging any browser-runtime feature, especially Three.js scenes, scroll-driven UI, or frontend perf concerns. Closes the gap between "the build passes" and "the user actually sees what we intended".
3
+ description: Use Chrome DevTools MCP to verify browser behaviour — DOM state, console errors, network requests,.
4
4
  triggers:
5
5
  - "verify in browser"
6
6
  - "check the dom"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-checkpoint-preview
3
- description: 'LLM-assisted human-in-the-loop review. Make sense of a change, focus attention where it matters, test. Use when the user says "checkpoint", "human review", or "walk me through this change".'
3
+ description: "LLM-assisted human-in-the-loop review."
4
4
  triggers:
5
5
  - "checkpoint preview"
6
6
  ---
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-ci
3
- description: CI/CD setup and quality gates for the rcode-default stack — GitHub Actions for Node test matrix, Helm charts for K8s deployment, Docker Compose for dev environments. Use when standing up CI for a new repo, adding a quality gate, debugging a flaky workflow, or migrating dev-compose to production Helm. Opinionated about zero-runtime-dep invariants and pre-merge gates.
3
+ description: CI/CD setup and quality gates for the rcode-default stack — GitHub Actions for Node test matrix,.
4
4
  triggers:
5
5
  - "set up ci"
6
6
  - "github actions"
@@ -7,13 +7,25 @@ description: >
7
7
  implementation", or "CR". Do NOT use for documentation review (use
8
8
  rihal-validate-prd or editorial skills).
9
9
  triggers:
10
+ # English
10
11
  - "review this code"
11
- - "run
12
- code review"
12
+ - "run code review"
13
13
  - "do a PR review"
14
14
  - "review the diff"
15
- - "critique this
16
- implementation"
15
+ - "critique this implementation"
16
+ - "find bad code practices"
17
+ - "code smells"
18
+ - "code quality check"
19
+ # Roman Urdu / Hindi
20
+ - "code check karo"
21
+ - "code review karo"
22
+ - "kharab code dekho"
23
+ # Arabic native
24
+ - "راجع الكود"
25
+ - "مراجعة الكود"
26
+ - "افحص الكود"
27
+ - "تدقيق الكود"
28
+ - "جودة الكود"
17
29
  ---
18
30
  @.rihal/references/karpathy-guidelines.md
19
31
 
@@ -1,7 +1,8 @@
1
1
  ---
2
2
  name: rihal-debug
3
- description: Root-cause debugging via the scientific method. Use when a test fails, a build breaks, behaviour doesn't match expectations, or any "it's broken and I don't know why" moment. Forces hypothesis → experiment → observation → narrow → repeat — never guessing or shotgunning fixes. Default observability layer is Sentry; the skill knows how to read Sentry traces if available.
3
+ description: Root-cause debugging via the scientific method.
4
4
  triggers:
5
+ # English
5
6
  - "debug this"
6
7
  - "why is this broken"
7
8
  - "find the root cause"
@@ -10,6 +11,18 @@ triggers:
10
11
  - "track this down"
11
12
  - "narrow down the bug"
12
13
  - "scientific method"
14
+ # Roman Urdu / Hindi
15
+ - "kharab kyu hai"
16
+ - "bug dhoondo"
17
+ - "fix karo bug"
18
+ - "theek karo"
19
+ # Arabic native
20
+ - "صحّح هذا"
21
+ - "ما المشكلة"
22
+ - "ابحث عن السبب"
23
+ - "حقّق في الخطأ"
24
+ - "أصلح الخطأ"
25
+ - "تتبّع السبب"
13
26
  user-invocable: true
14
27
  ---
15
28
  @.rihal/references/karpathy-guidelines.md
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-git-flow
3
- description: Branching, commits, conflicts, parallel work — aligned with the Rihal Epic→Feature→Task hierarchy from GITHUB_WORKFLOW.md. Use when starting a new feature, opening a PR, resolving a merge conflict, or coordinating multi-developer work. Enforces Conventional Commits, no AI attribution lines, no force-push to main.
3
+ description: Branching, commits, conflicts, parallel work — aligned with the Rihal Epic→Feature→Task hierarchy.
4
4
  triggers:
5
5
  - "git flow"
6
6
  - "branching strategy"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-harden
3
- description: Security hardening checklist for SaaS applications. Use before launching any feature that touches authentication, authorization, tenant data, file upload, or external integrations. Specifically opinionated about Keycloak/Active Directory sync (rcode learned this the hard way), JWT validation pitfalls, and tenant isolation in multi-org Postgres.
3
+ description: Security hardening checklist for SaaS applications.
4
4
  triggers:
5
5
  - "harden this"
6
6
  - "security check"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-incremental
3
- description: Ship code in small, atomic, verifiable steps. Use when implementing any feature, fixing any bug, or refactoring any module. Forces one logical change per commit, build-and-test gate after each step, and a rollback-ready trail. Pairs with rihal-prove-it (TDD) and rihal-code-review.
3
+ description: Ship code in small, atomic, verifiable steps.
4
4
  triggers:
5
5
  - "ship incrementally"
6
6
  - "atomic commits"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-migrate
3
- description: Plan and execute the move from MVP to production-grade infrastructure without rewriting from scratch. Use when an MVP works but the next round of features hits a wall — flaky deploys, manual ops, no observability, no tests, hand-rolled auth. Specifically addresses the documented Rihal pain ("MVP delivered, hard to revamp"). Pairs with rihal-harden for security pass and rihal-ci for the new pipeline.
3
+ description: Plan and execute the move from MVP to production-grade infrastructure without rewriting from.
4
4
  triggers:
5
5
  - "graduate the mvp"
6
6
  - "production grade infra"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-perf
3
- description: Performance optimisation for the rcode-default stack — Next.js (LCP / TBT / CLS / hydration), Three.js (frame budget, draw calls, geometry uploads), Postgres (query plans, indexes), and Vercel/K8s (cold starts, memory). Use when Lighthouse scores regress, fps drops, queries get slow, or a deploy gets OOM-killed. Pairs with rihal-browser-verify for runtime measurement.
3
+ description: Performance optimisation for the rcode-default stack — Next.js (LCP / TBT / CLS / hydration),.
4
4
  triggers:
5
5
  - "optimize performance"
6
6
  - "page is slow"
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-prove-it
3
- description: Test-first development. Use when implementing any new behaviour, fixing any bug, or changing existing logic. Writes a failing test first, then the minimum code to pass it, then refactors. For UI flows uses Playwright; for unit logic uses Jest or node:test. The phrase "prove it" is the activation — every claim of "this works" must have a test backing it.
3
+ description: Test-first development.
4
4
  triggers:
5
5
  - "prove it"
6
6
  - "tdd"
@@ -9,6 +9,12 @@ Determine the target directory for the new project.
9
9
  - Accept either a bare name (`my-app`) or a full path (`/home/user/projects/my-app`).
10
10
  - If bare name: resolve to `{cwd}/{name}` where `{cwd}` is the directory the user is currently in.
11
11
  - Store resolved path as `{target_path}` and project name as `{project_name}`.
12
+ - **Security:** Reject paths containing `..` traversal sequences before proceeding:
13
+ ```bash
14
+ case "{target_path}" in
15
+ *..* ) echo "Error: path contains traversal sequence — choose a different location"; exit 1 ;;
16
+ esac
17
+ ```
12
18
 
13
19
  ## Output
14
20
  Confirm back to the user:
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-source-truth
3
- description: Cite official documentation before writing or recommending any framework, library, or API code. Use when working with Next.js, React, Strapi, Postgres, or any third-party tool. Forces the agent to fetch the upstream doc page (or local docs in `node_modules`) and quote the version-specific API rather than relying on training-data memory. Catches "the API changed in v15" foot-guns.
3
+ description: Cite official documentation before writing or recommending any framework, library, or API code.
4
4
  triggers:
5
5
  - "cite the docs"
6
6
  - "official source"
@@ -7,12 +7,23 @@ description: >
7
7
  Do NOT use for epic breakdown (use rihal-create-epics-and-stories) or
8
8
  status reporting (use rihal-sprint-status).
9
9
  triggers:
10
+ # English
10
11
  - "plan the sprint"
11
12
  - "create sprint plan"
12
- - "run
13
- sprint planning"
13
+ - "run sprint planning"
14
14
  - "sequence the next sprint"
15
- - "generate sprint N plan"
15
+ - "generate sprint plan"
16
+ - "schedule the sprint"
17
+ # Roman Urdu / Hindi
18
+ - "sprint plan karo"
19
+ - "sprint banao"
20
+ - "agla sprint plan karo"
21
+ # Arabic native
22
+ - "خطّط السباق"
23
+ - "خطط السبرنت"
24
+ - "أنشئ خطة السباق"
25
+ - "السباق التالي"
26
+ - "جدولة السبرنت"
16
27
  ---
17
28
  @.rihal/references/karpathy-guidelines.md
18
29
 
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: rihal-trim
3
- description: Code simplification. Reduce lines, remove dead branches, collapse abstractions, delete commented-out code. Use when a file has grown past comprehension, a function takes more than 80 lines, or a class has accumulated "while I'm here" features. Applies the rcode Distillator philosophy — lossless compression — to source code rather than documents.
3
+ description: Code simplification.
4
4
  triggers:
5
5
  - "trim this"
6
6
  - "simplify this code"
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-ahmed-hassani
2
+ name: rihal-ahmed-hassani-director
3
3
  description: >
4
4
  Technology & Development Director who bridges CTO vision to executable
5
5
  delivery across Rihal's engineering teams. Activates when the user says
@@ -13,17 +13,31 @@ description: >
13
13
  (use Nasser, Engineering Manager), writing code (use Hanzla/Haitham/
14
14
  Yousef/Zayd), or sprint ceremonies (use Hussain-SM).
15
15
  triggers:
16
+ # English
16
17
  - "director review"
17
18
  - "executive decision"
18
19
  - "board level"
19
20
  - "strategic direction"
20
21
  - "company strategy"
21
22
  - "talk to Ahmed"
23
+ - "talk to Ahmed Al Hassani"
22
24
  - "C-suite"
23
25
  - "leadership decision"
24
26
  - "org design"
25
27
  - "executive alignment"
26
28
  - "company roadmap"
29
+ - "DORA metrics"
30
+ - "RACI matrix"
31
+ - "delivery timeline"
32
+ # Roman Urdu / Hindi
33
+ - "delivery plan banao"
34
+ - "Ahmed sai poocho"
35
+ # Arabic native
36
+ - "تحدث مع أحمد الحسني"
37
+ - "خطة التسليم"
38
+ - "معايير الهندسة"
39
+ - "تنسيق الفرق"
40
+ - "مقاييس التسليم"
27
41
  ---
28
42
  @.rihal/references/karpathy-guidelines.md
29
43
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-dalil-scout
2
+ name: rihal-dalil-scout
3
3
  description: >
4
4
  Codebase Scout — Dalil (دليل) — for repository discovery, multi-root
5
5
  exploration, focused topic sweeps, and producing structured codebase
@@ -13,6 +13,7 @@ description: >
13
13
  strategic decisions (use Sadiq / Waleed), test design (use Fatima), or
14
14
  code modification (use Hanzla / Omar).
15
15
  triggers:
16
+ # English
16
17
  - "scan codebase"
17
18
  - "map codebase"
18
19
  - "scout the repo"
@@ -24,7 +25,18 @@ triggers:
24
25
  - "code map"
25
26
  - "codebase audit"
26
27
  - "where is X used"
27
- - "what languages / what stack"
28
+ - "what languages"
29
+ - "what stack"
30
+ # Roman Urdu / Hindi
31
+ - "codebase scan karo"
32
+ - "repo explore karo"
33
+ - "Dalil sai poocho"
34
+ # Arabic native
35
+ - "تحدث مع دليل"
36
+ - "افحص المشروع"
37
+ - "استكشف الكود"
38
+ - "خريطة الكود"
39
+ - "ما هو في المستودع"
28
40
  ---
29
41
  @.rihal/references/karpathy-guidelines.md
30
42
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-fatima
2
+ name: rihal-fatima-qa
3
3
  description: >
4
4
  QA engineer for test generation, test strategy, edge-case hunting, bug
5
5
  triage, and release gating. Activates when the user says "write tests
@@ -12,6 +12,7 @@ description: >
12
12
  Hanzla), planning sprints (use Hussain-SM), deployment (use Khalid), or
13
13
  UX testing like usability studies (use Layla).
14
14
  triggers:
15
+ # English
15
16
  - "write tests"
16
17
  - "test coverage"
17
18
  - "QA review"
@@ -24,6 +25,20 @@ triggers:
24
25
  - "write integration tests"
25
26
  - "test this"
26
27
  - "review test coverage"
28
+ - "find edge cases"
29
+ - "what could break"
30
+ # Roman Urdu / Hindi
31
+ - "tests likho"
32
+ - "QA karo"
33
+ - "test plan banao"
34
+ - "Fatima sai poocho"
35
+ # Arabic native
36
+ - "تحدث مع فاطمة"
37
+ - "اكتب الاختبارات"
38
+ - "استراتيجية الاختبار"
39
+ - "تغطية الاختبارات"
40
+ - "خطة الاختبار"
41
+ - "ضمان الجودة"
27
42
  ---
28
43
  @.rihal/references/karpathy-guidelines.md
29
44
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-haitham
2
+ name: rihal-haitham-frontend
3
3
  description: >
4
4
  Senior frontend engineer for React, Next.js, Tailwind, shadcn/ui,
5
5
  Arabic RTL layouts, pixel-perfect UIs, website clones, and production
@@ -14,6 +14,7 @@ description: >
14
14
  for: UX design decisions (use Layla), backend APIs (use Yousef),
15
15
  ML/data integration (use Zayd), or architecture decisions (use Waleed).
16
16
  triggers:
17
+ # English
17
18
  - "frontend"
18
19
  - "React"
19
20
  - "Next.js"
@@ -27,6 +28,17 @@ triggers:
27
28
  - "Tailwind"
28
29
  - "design system implementation"
29
30
  - "TypeScript component"
31
+ - "Arabic RTL layout"
32
+ # Roman Urdu / Hindi
33
+ - "UI banao"
34
+ - "frontend banao"
35
+ - "Haitham sai poocho"
36
+ # Arabic native
37
+ - "تحدث مع هيثم"
38
+ - "ابني الواجهة"
39
+ - "تصميم RTL"
40
+ - "صفحة Next"
41
+ - "مكون React"
30
42
  ---
31
43
  @.rihal/references/karpathy-guidelines.md
32
44
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-hanzla
2
+ name: rihal-hanzla-engineer
3
3
  description: >
4
4
  Senior full-stack software engineer for story execution, code
5
5
  implementation, bug fixes, refactoring, and hands-on development work.
@@ -14,6 +14,7 @@ description: >
14
14
  testing strategy design (use Fatima), deployment (use Khalid), or
15
15
  writing product requirements (use Hussain-PM).
16
16
  triggers:
17
+ # English
17
18
  - "implement this"
18
19
  - "write the code"
19
20
  - "build this feature"
@@ -26,6 +27,17 @@ triggers:
26
27
  - "pair program"
27
28
  - "code this"
28
29
  - "debug this"
30
+ # Roman Urdu / Hindi
31
+ - "code likho"
32
+ - "feature banao"
33
+ - "bug fix karo"
34
+ - "Hanzla sai poocho"
35
+ # Arabic native
36
+ - "تحدث مع حنظلة"
37
+ - "اكتب الكود"
38
+ - "ابني هذه الميزة"
39
+ - "أصلح الخطأ"
40
+ - "إعادة هيكلة"
29
41
  ---
30
42
  @.rihal/references/karpathy-guidelines.md
31
43
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-hussain-pm
2
+ name: rihal-hussain-pm
3
3
  description: >
4
4
  Product Manager for PRD creation, requirements discovery, user research
5
5
  framing, and scope prioritization. Activates when the user says "create
@@ -13,6 +13,7 @@ description: >
13
13
  (use Hussain-SM), architecture decisions (use Waleed), implementation
14
14
  (use Hanzla), testing strategy (use Fatima), or visual design (use Layla).
15
15
  triggers:
16
+ # English
16
17
  - "product manager"
17
18
  - "user stories"
18
19
  - "sprint planning"
@@ -25,6 +26,20 @@ triggers:
25
26
  - "acceptance criteria"
26
27
  - "story points"
27
28
  - "prioritize the backlog"
29
+ - "what should we build"
30
+ - "define the scope"
31
+ # Roman Urdu / Hindi
32
+ - "PRD banao"
33
+ - "scope define karo"
34
+ - "stories banao"
35
+ - "Hussain sai poocho"
36
+ # Arabic native
37
+ - "تحدث مع حسين"
38
+ - "وثيقة المتطلبات"
39
+ - "متطلبات المنتج"
40
+ - "قصص المستخدم"
41
+ - "معايير القبول"
42
+ - "خارطة المنتج"
28
43
  ---
29
44
  @.rihal/references/karpathy-guidelines.md
30
45
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-hussain-sm
2
+ name: rihal-hussain-sm
3
3
  description: >
4
4
  Scrum master for sprint planning, story preparation, sprint status
5
5
  reporting, retrospectives, and mid-sprint course correction. Activates
@@ -12,8 +12,10 @@ description: >
12
12
  (use Hussain-PM), market research (use Sadiq), architecture (use Waleed),
13
13
  implementation (use Hanzla), or testing (use Fatima).
14
14
  triggers:
15
+ # English
15
16
  - "scrum master"
16
17
  - "retrospective"
18
+ - "retro"
17
19
  - "standup"
18
20
  - "sprint review"
19
21
  - "remove blockers"
@@ -24,6 +26,17 @@ triggers:
24
26
  - "facilitate"
25
27
  - "agile"
26
28
  - "scrum ceremony"
29
+ - "course correct"
30
+ # Roman Urdu / Hindi
31
+ - "retro karo"
32
+ - "sprint review karo"
33
+ - "Hussain SM sai poocho"
34
+ # Arabic native
35
+ - "تحدث مع حسين-SM"
36
+ - "اجتماع المراجعة"
37
+ - "مراجعة السباق"
38
+ - "إزالة العوائق"
39
+ - "حالة السباق"
27
40
  ---
28
41
  @.rihal/references/karpathy-guidelines.md
29
42
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-layla
2
+ name: rihal-layla-designer
3
3
  description: >
4
4
  UX Designer and UI specialist for interaction design, user flows, design
5
5
  systems, accessibility audits, and visual craft reviews. Activates when
@@ -12,6 +12,7 @@ description: >
12
12
  writing front-end code (use Hanzla), backend architecture (use Waleed),
13
13
  writing PRDs (use Hussain-PM), or test cases (use Fatima).
14
14
  triggers:
15
+ # English
15
16
  - "design review"
16
17
  - "UX review"
17
18
  - "UI design"
@@ -25,6 +26,17 @@ triggers:
25
26
  - "component design"
26
27
  - "user flow"
27
28
  - "Figma"
29
+ - "user journey"
30
+ # Roman Urdu / Hindi
31
+ - "design banao"
32
+ - "UX dekho"
33
+ - "Layla sai poocho"
34
+ # Arabic native
35
+ - "تحدث مع ليلى"
36
+ - "صمم تجربة المستخدم"
37
+ - "مراجعة التصميم"
38
+ - "تجربة الاستخدام"
39
+ - "نظام التصميم"
28
40
  ---
29
41
  @.rihal/references/karpathy-guidelines.md
30
42
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-majlis
2
+ name: rihal-majlis-council
3
3
  description: >
4
4
  Multi-agent consulting council that convenes the Rihal team to discuss
5
5
  any topic, collects perspectives from all relevant specialists, and
@@ -14,6 +14,7 @@ description: >
14
14
  right owner (invoke that agent directly), or running the read-only
15
15
  dashboard (use Diwan).
16
16
  triggers:
17
+ # English
17
18
  - "council"
18
19
  - "get team input"
19
20
  - "team decision"
@@ -26,6 +27,20 @@ triggers:
26
27
  - "strategic alignment"
27
28
  - "get consensus"
28
29
  - "bring in the team"
30
+ - "convene the majlis"
31
+ - "ask everyone"
32
+ - "what does the team think"
33
+ # Roman Urdu / Hindi
34
+ - "sab sa consult karo"
35
+ - "team ko poocho"
36
+ - "majlis bulao"
37
+ # Arabic native
38
+ - "اعقد المجلس"
39
+ - "اجمع الفريق"
40
+ - "شورى"
41
+ - "استشارة جماعية"
42
+ - "ما رأي الفريق"
43
+ - "قرار جماعي"
29
44
  ---
30
45
  @.rihal/references/karpathy-guidelines.md
31
46
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-mariam
2
+ name: rihal-mariam-marketing
3
3
  description: >
4
4
  Marketing lead for go-to-market strategy, positioning, enterprise and
5
5
  government client messaging, Arabic-English bilingual content, case
@@ -15,6 +15,7 @@ description: >
15
15
  (use Sadiq — strategic research), writing technical docs (use
16
16
  Noor), or product requirements (use Hussain-PM).
17
17
  triggers:
18
+ # English
18
19
  - "marketing"
19
20
  - "go-to-market"
20
21
  - "GTM"
@@ -28,6 +29,18 @@ triggers:
28
29
  - "copywriting"
29
30
  - "social media strategy"
30
31
  - "announcement"
32
+ - "GCC market"
33
+ # Roman Urdu / Hindi
34
+ - "GTM banao"
35
+ - "marketing plan banao"
36
+ - "Mariam sai poocho"
37
+ # Arabic native
38
+ - "تحدث مع مريم"
39
+ - "خطة التسويق"
40
+ - "استراتيجية الإطلاق"
41
+ - "محتوى تسويقي"
42
+ - "السوق الخليجي"
43
+ - "تحديد الجمهور"
31
44
  ---
32
45
  @.rihal/references/karpathy-guidelines.md
33
46
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-nasser
2
+ name: rihal-nasser-eng-manager
3
3
  description: >
4
4
  Software Engineering Manager who runs day-to-day team operations at
5
5
  Rihal — 1:1s, hiring, onboarding, growth plans, performance feedback,
@@ -14,6 +14,7 @@ description: >
14
14
  CTO), sprint ceremonies (use Hussain-SM), or writing code (use
15
15
  Hanzla/Haitham/Yousef/Zayd).
16
16
  triggers:
17
+ # English
17
18
  - "engineering manager"
18
19
  - "team structure"
19
20
  - "hiring"
@@ -26,6 +27,20 @@ triggers:
26
27
  - "technical leadership"
27
28
  - "team scaling"
28
29
  - "performance review"
30
+ - "1:1 with"
31
+ - "growth plan"
32
+ - "burnout check"
33
+ # Roman Urdu / Hindi
34
+ - "1 on 1 plan karo"
35
+ - "hiring plan banao"
36
+ - "Nasser sai poocho"
37
+ # Arabic native
38
+ - "تحدث مع ناصر"
39
+ - "إدارة الفريق"
40
+ - "تقييم الأداء"
41
+ - "خطة التوظيف"
42
+ - "صحة الفريق"
43
+ - "نمو الموظفين"
29
44
  ---
30
45
  @.rihal/references/karpathy-guidelines.md
31
46
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: rihal-agent-noor
2
+ name: rihal-noor-writer
3
3
  description: >
4
4
  Technical writer, scribe, and presentation lead for documentation,
5
5
  README files, API docs, architecture diagrams (Mermaid), pitch decks,
@@ -13,6 +13,7 @@ description: >
13
13
  Hussain-PM), code implementation (use Hanzla), market research (use
14
14
  Sadiq), or test cases (use Fatima).
15
15
  triggers:
16
+ # English
16
17
  - "write documentation"
17
18
  - "docs"
18
19
  - "README"
@@ -25,6 +26,19 @@ triggers:
25
26
  - "document this"
26
27
  - "write a guide"
27
28
  - "write release notes"
29
+ - "Mermaid diagram"
30
+ - "pitch deck"
31
+ # Roman Urdu / Hindi
32
+ - "docs likho"
33
+ - "README banao"
34
+ - "Noor sai poocho"
35
+ # Arabic native
36
+ - "تحدث مع نور"
37
+ - "اكتب التوثيق"
38
+ - "وثائق API"
39
+ - "اكتب README"
40
+ - "دليل المستخدم"
41
+ - "ملاحظات الإصدار"
28
42
  ---
29
43
  @.rihal/references/karpathy-guidelines.md
30
44