@hanzlaa/rcode 3.4.29 β†’ 3.4.31

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 (41) hide show
  1. package/AGENTS.md +1 -1
  2. package/CONTRIBUTING.md +2 -0
  3. package/cli/generate-command-skills.cjs +21 -20
  4. package/package.json +1 -1
  5. package/rihal/skills/actions/1-analysis/research/rihal-domain-research/SKILL.md +1 -0
  6. package/rihal/skills/actions/1-analysis/research/rihal-market-research/SKILL.md +1 -0
  7. package/rihal/skills/actions/1-analysis/research/rihal-technical-research/SKILL.md +1 -0
  8. package/rihal/skills/actions/1-analysis/rihal-document-project/SKILL.md +1 -0
  9. package/rihal/skills/actions/1-analysis/rihal-prfaq/SKILL.md +1 -0
  10. package/rihal/skills/actions/1-analysis/rihal-product-brief/SKILL.md +1 -0
  11. package/rihal/skills/actions/2-plan/rihal-create-epics-and-stories/SKILL.md +1 -0
  12. package/rihal/skills/actions/2-plan/rihal-create-milestone/SKILL.md +1 -0
  13. package/rihal/skills/actions/2-plan/rihal-create-prd/SKILL.md +1 -0
  14. package/rihal/skills/actions/2-plan/rihal-create-story/SKILL.md +1 -0
  15. package/rihal/skills/actions/2-plan/rihal-create-ux-design/SKILL.md +1 -0
  16. package/rihal/skills/actions/2-plan/rihal-edit-prd/SKILL.md +1 -0
  17. package/rihal/skills/actions/2-plan/rihal-frontend-design/SKILL.md +1 -0
  18. package/rihal/skills/actions/2-plan/rihal-validate-prd/SKILL.md +1 -0
  19. package/rihal/skills/actions/3-solutioning/rihal-check-implementation-readiness/SKILL.md +1 -0
  20. package/rihal/skills/actions/3-solutioning/rihal-create-architecture/SKILL.md +1 -0
  21. package/rihal/skills/actions/3-solutioning/rihal-generate-project-context/SKILL.md +1 -0
  22. package/rihal/skills/actions/4-implementation/rihal-browser-verify/SKILL.md +1 -0
  23. package/rihal/skills/actions/4-implementation/rihal-checkpoint-preview/SKILL.md +1 -0
  24. package/rihal/skills/actions/4-implementation/rihal-ci/SKILL.md +1 -0
  25. package/rihal/skills/actions/4-implementation/rihal-code-review/SKILL.md +1 -0
  26. package/rihal/skills/actions/4-implementation/rihal-correct-course/SKILL.md +1 -0
  27. package/rihal/skills/actions/4-implementation/rihal-debug/SKILL.md +1 -0
  28. package/rihal/skills/actions/4-implementation/rihal-dev-story/SKILL.md +1 -0
  29. package/rihal/skills/actions/4-implementation/rihal-git-flow/SKILL.md +1 -0
  30. package/rihal/skills/actions/4-implementation/rihal-harden/SKILL.md +1 -0
  31. package/rihal/skills/actions/4-implementation/rihal-incremental/SKILL.md +1 -0
  32. package/rihal/skills/actions/4-implementation/rihal-migrate/SKILL.md +1 -0
  33. package/rihal/skills/actions/4-implementation/rihal-perf/SKILL.md +1 -0
  34. package/rihal/skills/actions/4-implementation/rihal-prove-it/SKILL.md +1 -0
  35. package/rihal/skills/actions/4-implementation/rihal-qa-generate-e2e-tests/SKILL.md +1 -0
  36. package/rihal/skills/actions/4-implementation/rihal-retrospective/SKILL.md +1 -0
  37. package/rihal/skills/actions/4-implementation/rihal-scaffold-project/SKILL.md +1 -0
  38. package/rihal/skills/actions/4-implementation/rihal-source-truth/SKILL.md +1 -0
  39. package/rihal/skills/actions/4-implementation/rihal-sprint-planning/SKILL.md +1 -0
  40. package/rihal/skills/actions/4-implementation/rihal-sprint-status/SKILL.md +1 -0
  41. package/rihal/skills/actions/4-implementation/rihal-trim/SKILL.md +1 -0
package/AGENTS.md CHANGED
@@ -24,7 +24,7 @@ If a user says "just keep going" or "don't stop until done", that authorization
24
24
 
25
25
  - Follow [Conventional Commits](https://www.conventionalcommits.org/) format: `type(scope): subject`
26
26
  - Types allowed: `feat`, `fix`, `docs`, `style`, `refactor`, `test`, `chore`, `perf`, `revert`
27
- - Scopes allowed: `agents`, `skills`, `workflows`, `templates`, `dashboard`, `docs`, `config`, `github`, `commands`, `memory`, `brand`, `cli`, `ci`, `release`, `meta`, `tasks`, `migrations`, `refs`, `state`, `hooks`, `install`, `parity`, `triggers`, `dogfood`, `namespace`, `planning`, `insights`, `help`, `roadmap`, `session`, `audits`, `execute`, `executor`, `plan`, `planner`, `readme`, `sync`, `sprint`, `agent-exp`, `extensibility`, `lens-audit`, `tiers`, `build`, `council`, `doctor`, `postinstall`, `progress`, `security`, `tools`, `uninstall`, `update`, `test`, plus numeric phase/sprint scopes (e.g. `docs(15)`, `feat(8.3)`)
27
+ - Scopes allowed: `agents`, `skills`, `workflows`, `templates`, `dashboard`, `docs`, `config`, `github`, `commands`, `memory`, `brand`, `cli`, `ci`, `release`, `meta`, `tasks`, `migrations`, `refs`, `state`, `hooks`, `install`, `parity`, `triggers`, `dogfood`, `namespace`, `planning`, `insights`, `help`, `roadmap`, `session`, `audits`, `execute`, `executor`, `plan`, `planner`, `readme`, `sync`, `sprint`, `agent-exp`, `extensibility`, `lens-audit`, `tiers`, `build`, `council`, `doctor`, `postinstall`, `progress`, `security`, `tools`, `uninstall`, `update`, `test`, `changelog`, `scopes`, plus numeric phase/sprint scopes (e.g. `docs(15)`, `feat(8.3)`)
28
28
  - Subject: lowercase first letter, imperative mood, no trailing period, under 72 chars
29
29
  - **NEVER add Claude/AI attribution to commit messages.** No "Generated with Claude Code", no "Co-Authored-By: Claude", no "πŸ€– Generated". The user does not want this.
30
30
  - **NEVER use `--no-verify`** to bypass hooks. If hooks fail, fix the underlying issue.
package/CONTRIBUTING.md CHANGED
@@ -308,6 +308,8 @@ We use [Conventional Commits](https://www.conventionalcommits.org/) format. The
308
308
  - `tools` β€” `rihal/bin/rihal-tools.cjs` subcommands
309
309
  - `uninstall` β€” `cli/uninstall.js` flow
310
310
  - `update` β€” `cli/update.js` flow
311
+ - `changelog` β€” CHANGELOG.md edits
312
+ - `scopes` β€” AGENTS.md / CONTRIBUTING.md scope-list maintenance
311
313
  - `<phase-id>` β€” numeric phase scope when committing inside a phase (e.g. `docs(15)`, `feat(8.3)`)
312
314
  - `<sprint-id>` β€” numeric sprint scope inside a phase (e.g. `feat(15.1)`)
313
315
 
@@ -27,29 +27,30 @@ const fs = require('fs');
27
27
  const path = require('path');
28
28
 
29
29
  /**
30
- * Curated list of commands that get skill stubs. Not every command
31
- * deserves a sidebar entry β€” only the user-facing entry points and
32
- * lifecycle verbs. Internal sub-commands stay slash-only.
30
+ * Curated list of commands that get skill stubs.
31
+ *
32
+ * Issue #710: sidebar-stub bloat. The picker has a token budget for skill
33
+ * descriptions; every stub here counts. Pre-#710 this list had 43 entries β€”
34
+ * the user hit "491 descriptions dropped" because rcode + plugins blew the
35
+ * budget. Trimmed to the minimum set users actually pick from the sidebar:
36
+ * navigation + the verb-style commands they invoke daily.
37
+ *
38
+ * Everything else stays reachable via `/` autocomplete (claude-code reads
39
+ * .claude/commands/ for slash dispatch β€” sidebar stubs are UX sugar, not
40
+ * functional). Power users running niche commands like /rihal-prfaq or
41
+ * /rihal-ui-phase still get them β€” they just don't show up in the sidebar.
33
42
  */
34
43
  const SIDEBAR_COMMANDS = new Set([
35
- // Navigation & status
36
- 'do', 'status', 'progress', 'next', 'health',
37
- // Core planning & execution
38
- 'plan', 'execute', 'add-phase', 'discuss-phase', 'complete-milestone',
39
- 'plan-milestone-gaps', 'autonomous',
40
- // Project setup
41
- 'new-project', 'new-milestone', 'milestone-summary',
42
- // Sprint workflow
43
- 'sprint-planning', 'sprint-status', 'execute-sprint', 'dev-story',
44
- 'create-story', 'create-epics-and-stories',
45
- // Discussion & council
46
- 'council', 'discuss', 'prfaq',
47
- // Quality & review
48
- 'ship', 'audit', 'verify-phase', 'verify-work', 'review', 'code-review',
49
- 'feature-drift', 'ui-phase', 'ui-review',
44
+ // Navigation & status (the daily check-in)
45
+ 'do', 'status', 'next',
46
+ // Core lifecycle (the workflow loop)
47
+ 'plan', 'execute', 'ship',
48
+ // Strategic
49
+ 'council',
50
+ // Quality gate
51
+ 'audit', 'verify-phase',
50
52
  // Utility
51
- 'debug', 'session-report', 'forensics', 'map-codebase', 'quick',
52
- 'note', 'add-todo', 'check-todos', 'pause-work', 'resume-work',
53
+ 'note',
53
54
  ]);
54
55
 
55
56
  function parseFrontmatter(text) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanzlaa/rcode",
3
- "version": "3.4.29",
3
+ "version": "3.4.31",
4
4
  "description": "rcode β€” the memory bank for AI-driven SaaS teams. Persistent project context, distinctive engineering personas, and phase-based workflows. Built by Rihal. Works in Claude Code, Cursor, Gemini, VS Code, and Antigravity.",
5
5
  "main": "cli/index.js",
6
6
  "bin": {
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-domain-research
3
+ internal: true
3
4
  description: >
4
5
  Conduct industry domain deep-dive research to build subject matter
5
6
  expertise on a specific business domain. Activates when the user says
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-market-research
3
+ internal: true
3
4
  description: >
4
5
  Analyze market size, competitive landscape, customer needs, and trends for
5
6
  a product or industry. Activates when the user says "market research",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-technical-research
3
+ internal: true
3
4
  description: >
4
5
  Research technical feasibility, architecture options, and implementation
5
6
  approaches for a proposed product or feature. Activates when the user says
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-document-project
3
+ internal: true
3
4
  description: >
4
5
  Analyze an existing codebase and produce documentation for both human and
5
6
  LLM consumption (brownfield analysis). Activates when the user says
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-prfaq
3
+ internal: true
3
4
  description: Working Backwards PRFAQ challenge to forge product concepts.
4
5
  triggers:
5
6
  - "prfaq"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-product-brief
3
+ internal: true
3
4
  description: >
4
5
  Create a product brief through guided discovery or autonomous research.
5
6
  Activates when the user says "create a product brief", "write a product
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-create-epics-and-stories
3
+ internal: true
3
4
  description: >
4
5
  Break a PRD into epics and user stories that drive development. Activates
5
6
  when the user says "create epics", "break this into stories", "generate
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-create-milestone
3
+ internal: true
3
4
  description: >
4
5
  Design the milestone roadmap (M1..Mn) for a project from an approved PRD.
5
6
  Activates when the user says "create milestones", "plan milestones",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-create-prd
3
+ internal: true
3
4
  description: >
4
5
  Create a new Product Requirements Document from scratch through guided
5
6
  facilitation. Activates when the user says "create a PRD", "write product
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-create-story
3
+ internal: true
3
4
  description: >
4
5
  Prepare a dev-ready user story with full implementation context. Activates
5
6
  when the user says "create the next story", "prepare a story", "create
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-create-ux-design
3
+ internal: true
3
4
  description: >
4
5
  Guide through realizing a UX design that informs architecture and
5
6
  implementation β€” user flows, wireframes, design system updates. Activates
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-edit-prd
3
+ internal: true
3
4
  description: >
4
5
  Update an existing Product Requirements Document with new sections,
5
6
  revisions, or clarifications. Activates when the user says "update the
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-frontend-design
3
+ internal: true
3
4
  description: >
4
5
  Create distinctive, production-grade frontend interfaces with a committed
5
6
  aesthetic direction β€” typography, colour, motion, spatial composition,
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-validate-prd
3
+ internal: true
3
4
  description: >
4
5
  Validate an existing PRD for comprehensiveness, leanness, organization,
5
6
  and internal consistency. Activates when the user says "validate the PRD",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-check-implementation-readiness
3
+ internal: true
3
4
  description: >
4
5
  Verify that PRD, UX designs, architecture decisions, and epics/stories are
5
6
  all aligned and ready for implementation. Activates when the user says
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-create-architecture
3
+ internal: true
3
4
  description: >
4
5
  Write an Architecture Decision Record (ADR) to lock a significant
5
6
  technical decision. Activates when the user says "write an ADR", "create
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-generate-project-context
3
+ internal: true
3
4
  description: >
4
5
  Generate a project-context.md file that summarizes project standards,
5
6
  conventions, tech stack, and key patterns for AI agents to reference.
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-browser-verify
3
+ internal: true
3
4
  description: Use Chrome DevTools MCP to verify browser behaviour β€” DOM state, console errors, network requests,.
4
5
  triggers:
5
6
  - "verify in browser"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-checkpoint-preview
3
+ internal: true
3
4
  description: "LLM-assisted human-in-the-loop review."
4
5
  triggers:
5
6
  - "checkpoint preview"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-ci
3
+ internal: true
3
4
  description: CI/CD setup and quality gates for the rcode-default stack β€” GitHub Actions for Node test matrix,.
4
5
  triggers:
5
6
  - "set up ci"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-code-review
3
+ internal: true
3
4
  description: >
4
5
  Review code changes using parallel adversarial review layers and produce
5
6
  actionable findings. Activates when the user says "review this code", "run
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-correct-course
3
+ internal: true
3
4
  description: >
4
5
  Course-correct when major change is discovered mid-sprint or
5
6
  mid-implementation. Activates when the user says "course correct", "change
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-debug
3
+ internal: true
3
4
  description: Root-cause debugging via the scientific method.
4
5
  triggers:
5
6
  # English
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-dev-story
3
+ internal: true
3
4
  description: >
4
5
  Execute an approved story file by writing tests and code that fulfill
5
6
  every acceptance criterion. Activates when the user says "dev this story",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-git-flow
3
+ internal: true
3
4
  description: Branching, commits, conflicts, parallel work β€” aligned with the Rihal Epicβ†’Featureβ†’Task hierarchy.
4
5
  triggers:
5
6
  - "git flow"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-harden
3
+ internal: true
3
4
  description: Security hardening checklist for SaaS applications.
4
5
  triggers:
5
6
  - "harden this"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-incremental
3
+ internal: true
3
4
  description: Ship code in small, atomic, verifiable steps.
4
5
  triggers:
5
6
  - "ship incrementally"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-migrate
3
+ internal: true
3
4
  description: Plan and execute the move from MVP to production-grade infrastructure without rewriting from.
4
5
  triggers:
5
6
  - "graduate the mvp"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-perf
3
+ internal: true
3
4
  description: Performance optimisation for the rcode-default stack β€” Next.js (LCP / TBT / CLS / hydration),.
4
5
  triggers:
5
6
  - "optimize performance"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-prove-it
3
+ internal: true
3
4
  description: Test-first development.
4
5
  triggers:
5
6
  - "prove it"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-qa-generate-e2e-tests
3
+ internal: true
3
4
  description: >
4
5
  Generate end-to-end tests for an existing feature using the project's
5
6
  standard test framework. Activates when the user says "generate e2e
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-retrospective
3
+ internal: true
3
4
  description: >
4
5
  Run an epic retrospective that reviews completed work, extracts learnings,
5
6
  and produces owned action items. Activates when the user says "run
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-scaffold-project
3
+ internal: true
3
4
  description: >
4
5
  Scaffold a new project for Rihalians using the official Rihal template repo.
5
6
  Activates when the user says "scaffold project", "create project", "new project",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-source-truth
3
+ internal: true
3
4
  description: Cite official documentation before writing or recommending any framework, library, or API code.
4
5
  triggers:
5
6
  - "cite the docs"
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-sprint-planning
3
+ internal: true
3
4
  description: >
4
5
  Generate or update a sprint plan that sequences stories for dev execution.
5
6
  Activates when the user says "plan the sprint", "create sprint plan", "run
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-sprint-status
3
+ internal: true
3
4
  description: >
4
5
  Generate a sprint status report showing progress, blockers, and
5
6
  recommended next actions. Activates when the user says "sprint status",
@@ -1,5 +1,6 @@
1
1
  ---
2
2
  name: rihal-trim
3
+ internal: true
3
4
  description: Code simplification.
4
5
  triggers:
5
6
  - "trim this"