No slash command · from hypervibe
Internal helper that idempotently adds or updates entries in the project CLAUDE.md file, managing sections like Stack, Key Commands, Conventions, and Environment Variables while skipping duplicates and creating missing sections.
Ships in hypervibe. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
/bootstrap carries no language signal by itself). If nothing in the conversation gives a signal, fall back to the OS locale (node -e "console.log(Intl.DateTimeFormat().resolvedOptions().locale)") before defaulting to English. ALWAYS reply in that language for every user-facing message: questions, progress, confirmations, summaries, errors - including any example text quoted in this skill, which is illustrative and must be translated, never sent verbatim.You add or update entries in the project CLAUDE.md file idempotently. You work silently.
The project CLAUDE.md also contains a managed block between <!-- hypervibe:project-rules --> and <!-- /hypervibe:project-rules -->, written by scripts/rules/update-project-claude-md.mjs. That block belongs to the plugin: it is rewritten on every sync, and its rules carry a fingerprint so an untouched one can be corrected later.
Never write inside it. The lines this helper adds live outside the block, and are never touched by the sync. If a caller asks for a line that duplicates a managed rule (database reads, TypeScript, responsive, slugs), drop it: the managed block already says it, in one place.
The CLAUDE.md file follows a conventional structure created by /bootstrap. Recognized sections:
| Section | Purpose | Example line |
|---|---|---|
stack | Technologies used | - **Database**: Neon PostgreSQL |
commands | CLI commands | - \pnpm db:push` - Push schema to Neon` |
conventions | Coding rules / patterns | - DB: import from \@/db`, never a cross-app relative path.` |
env-vars | Environment variables list | - \DATABASE_URL` - Neon connection string` |
custom | A free-form section with its own heading | ## Change the admin password in production |
The caller passes something like:
Add to CLAUDE.md:
- section:
stack, line:- **Database**: Neon PostgreSQL- section:
commands, lines: [\pnpm db:push` - Push schema,`pnpm db:studio` - Open Drizzle Studio`]- section:
conventions, line:- DB: import from \@project/db`, never a cross-app relative path.`
Or for a custom section:
Add to CLAUDE.md a custom section:
- heading:
## Configure the Stripe webhook in production- body: (multi-line text)
test -f CLAUDE.md && echo "exists" || echo "missing"
Create a minimal CLAUDE.md template:
# <project-name>
<one-line description>
## Stack
## Key Commands
## Conventions
## Environment Variables
Read the project name from package.json:
node -e "process.stdout.write(require('./package.json').name)"
Write the initial file, then continue to Step 2.
Read the full file content and identify existing sections.
For each standard section, use these heading patterns (case-insensitive):
| Section | Recognized headings |
|---|---|
stack | ## Stack, ## Tech Stack, ## Technologies |
commands | ## Key Commands, ## Commands, ## Scripts |
conventions | ## Conventions, ## Rules, ## Guidelines |
env-vars | ## Environment Variables, ## Env Vars, ## Environment |
If the target section exists → use it as the anchor for insertion.
If the target section does not exist → create it. Insert the new section after the last existing standard section (so Stack comes before Commands, etc., following the order stack → commands → conventions → env-vars → custom sections). If no standard section exists, append at the end.
For each line the caller wants to add:
- **Database**: ... but different value), replace the existing line instead of adding a new one. This handles the case where the user swapped their DB from Postgres to SQLite.For custom sections, check if a section with the exact same ## heading already exists:
Use the Edit tool with enough surrounding context to disambiguate (not just the line to change - include 1-2 lines before and after for uniqueness).
For new sections, use Write to append the section at the right location.
Always preserve the file's existing structure: don't reorder existing sections, don't reformat existing lines, don't remove unrelated content.
Read the file back and confirm:
Report back to the caller:
✅ CLAUDE.md updated:
- stack: +1 line (Database: Neon PostgreSQL)
- commands: +2 lines
- conventions: +1 line, 0 replaced
Or, if nothing changed (all lines already present):
ℹ️ CLAUDE.md already up to date - no changes needed.
- **Database**: ... appears twice in Stack (bug from an older plugin), deduplicate it silently as part of the work.## heading.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub flavien-ia/hypervibe-craft --plugin hypervibe90 skills in this plugin
/accessibilityAccessibility audit of a Next.js app: reads the code (images, buttons, links, form fields, keyboard, focus, zoom, motion), measures the live pages with PageSpeed Insights, explains each problem plainly, then applies the fixes the user approves./add-2faAdd two-factor authentication (2FA TOTP) to an existing T3 project's login. Orchestrator - asks which authenticator app the user wants, detects whether the project uses admin auth (single fixed login) or user accounts, and delegates to the right setup. Admin mode - 2FA is mandatory for the single admin, secret + backup codes stored in the Bitwarden vault. User mode - 2FA is optional per user, each user enables it from their account page, secrets + backup codes stored per-user in the database. Requires the project to already have hypervibe auth (`/add-auth`)./add-agent-dashboardAdd a monitoring screen for AI agents in the project admin: cost, run history, turn-by-turn traces, and a button to launch a run by hand. Installed when an agent is created, safe to re-run./add-aiAdd AI to an existing Next.js project: chat assistant, content processing, or generation. Estimates the cost from live prices and provisions a spending-capped key before writing any code. Model-independent through OpenRouter./add-analyticsAdd Google Analytics (GA4) to an existing Next.js project. Includes RGPD cookie consent banner./add-authAdd NextAuth (Auth.js) authentication to an existing T3 project. One structured question decides the mode - admin (fixed login in env vars) or users (DB-backed email+password with signup, signin, account page, delete account, and optional forgot-password if email is configured). OAuth providers (Google, GitHub) are offered as optional add-ons AFTER the user-credentials baseline, never as a replacement. This skill is an orchestrator - it delegates the actual implementation to `_setup-auth-admin` or `_setup-auth-users` depending on the chosen mode.Other plugins' skills for the same job