Skill Packs
How HI packs group skills, lint assets, hooks, and source guides, and how hi init selects them
A pack is a named bundle of operating context. It can carry skills, lint assets, hooks, source guides, and tool runtimes. The CLI selects packs, not single skills.
Packs distribute operating context only. Product requirements, business logic, and repository-specific truth stay in the repository that owns them.
Pack Selection
hi init detects repository facts, proposes packs, asks the operator to confirm, writes the selection to .devpunks/settings.json (packs), then runs the update pipeline. hi update installs the latest Baseline for that selection. The retired hi scaffold command is now hi init.
- The proposal is every
defaultpack plus every pack whose signal matches the repository. - Default packs are preselected, not mandatory. The operator can remove them in the
hi initmultiselect or inpacks. hi updateinstallspack-core, exactly the listed packs, and their dependencies. An unknown pack id is an error.pack-coreis always installed and never listed. It carries the shared items:commit-gate,handoff,harness,hooks,managed-lint,prompts,shared-prompt,source-guides,subagents, andtools.- A detected pack that is not selected shows as an information row in
hi diff. It is not drift. - To add or remove a pack, run
hi initagain (it prefills from settings) or editpacks, then runhi update. Do not install skills one by one.
The HI CLI scaffolding runbook owns the command mechanics.
Pack Categories
Each pack has exactly one of five categories.
| Category | Selected by | Packs |
|---|---|---|
default | Preselected in every repository. | debug, docs, misc, planning, quality, research, requirements, security, subagents, verification |
surface | A backend or frontend signal in the repository. | backend, frontend |
detected | A trigger package in a manifest (shadcn also: a components.json at the workspace root). | better-auth, ci-solutions, collective-intelligence, drizzle, effect, elysia, expo, nextjs, pulumi, react, shadcn, sqlalchemy, tanstack-query, trpc, turborepo |
language | Language detection. | python, typescript |
optional | The operator only. | video |
An optional pack is never detected. Detection, hi init --yes, and hi update adoption never select it, even when a trigger matches. To install it, select it in the hi init multiselect or add its id to packs in .devpunks/settings.json, then run hi update.
Surface signals:
backend: the technologiesbetter-auth,drizzle,elysia, ortrpc; or a path segmentapi,backend,server, orservices; or a package-name segmentapi,backend,server, orservice.frontend: the technologiesnextjsorreact.
Trigger Packages
A detected pack is proposed when one of its trigger packages is in a non-wiki manifest. A trailing / is a prefix match: @effect/ matches @effect/platform. A package that the repository builds itself is never a trigger: when a workspace has the name of the package, the dependencies on it in other workspaces do not detect the pack.
| Pack | Trigger packages |
|---|---|
better-auth | better-auth |
ci-solutions | @collective-intelligence/external-apps-client-sdk, @collective-intelligence/external-apps-client-sdk-react, @collective-intelligence/external-apps-server-sdk |
collective-intelligence | @collective-intelligence/ |
drizzle | drizzle-kit, drizzle-orm |
effect | effect, @effect/ |
elysia | elysia |
expo | expo, @expo/ |
nextjs | next |
pulumi | @pulumi/, @pulumi/pulumi |
react | react, react-dom |
shadcn | shadcn, shadcn-ui, or a components.json beside the workspace package.json |
sqlalchemy | sqlalchemy, alembic |
tanstack-query | @tanstack/react-query |
trpc | @trpc/ |
turborepo | turbo |
The typescript language pack also lists typescript as a trigger package. The python pack has no trigger package; language detection selects it.
Wiki roots (apps/wiki, app/wiki, wiki), harness folders (.claude, .codex, .cursor, .opencode), worktrees, and git-ignored paths never drive detection.
Pack Members
The table lists the skills of each pack, from the pack catalog.
| Pack | Category | Trigger packages | Skills |
|---|---|---|---|
planning | default | - | business-finder, finder-phase, functional-finder, wayfinder, prototype-phase, delivery-phase, goalify, grilling, handoff, create-architecture, create-spec, create-plan, implement-spec, repo-asset-management, resolve-debt-phase, review-phase |
requirements | default | - | requirements-phase, requirements-grill, brainstorm, flow-lenses, domain-modeling, repo-asset-management, write-backlog |
debug | default | - | debugging-phase, bug-discovery-phase, bug-resolution-phase, debug-agent |
docs | default | - | docs-ingest-phase, docs-onboarding, writing-fragments, writing-beats, writing-shape, writing-for-agents, write-graph-based-skills, rule-authoring |
quality | default | - | tdd, make-tsuite, codebase-design, simplify |
research | default | - | parallel-research, prototype, improve-codebase-architecture |
verification | default | - | create-verification-skill, update-verification-skill, verify-behavior |
security | default | - | architect-pipeline, audit-cicd-security, security-best-practices |
misc | default | - | show-me, wait-what, ask-hi, retro, pr |
subagents | default | - | swarm-planner |
backend | surface | - | backend-domain-structure, backend-recoverable-actions, logging-best-practices |
frontend | surface | - | agent-browser, animate, brandkit, break-ui, design-phase, design-taste-frontend, emil-design-eng, find-animation-opportunities, image-to-code, imagegen-frontend-mobile, imagegen-frontend-web, frontend-domain-structure, mobile-native, prototype-variants, review-animations |
typescript | language | typescript | model-checking, quality-types |
python | language | - | async-python-patterns, backend-domain-structure, python-backend-structure, python-code-style, python-design-patterns, python-testing-patterns |
better-auth | detected | better-auth | better-auth-best-practices |
ci-solutions | detected | @collective-intelligence/external-apps-client-sdk, @collective-intelligence/external-apps-client-sdk-react, @collective-intelligence/external-apps-server-sdk | ci-clickstack, ci-solution-structure, generate-human-backlog-skills |
collective-intelligence | detected | @collective-intelligence/ | ci-clickstack |
drizzle | detected | drizzle-kit, drizzle-orm | none |
effect | detected | effect, @effect/ | effect, effect-backend-structure, effect-recoverable-actions, effect-service-design |
elysia | detected | elysia | elysiajs |
expo | detected | expo, @expo/ | add-app-clip, animate-expo, building-native-ui, eas-simulator, eas-update-insights, expo-api-routes, expo-brownfield, expo-cicd-workflows, expo-deployment, expo-dev-client, expo-examples, expo-module, expo-observe, expo-skill-eval, expo-tailwind-setup, expo-ui, native-data-fetching, upgrading-expo, use-dom, web-to-native |
nextjs | detected | next | next-best-practices, next-cache-components |
pulumi | detected | @pulumi/, @pulumi/pulumi | pulumi-overview, pulumi-best-practices, pulumi-component, pulumi-automation-api, pulumi-esc, provider-upgrade, package-usage |
react | detected | react, react-dom | async-react-patterns, react-doctor, vercel-composition-patterns, vercel-react-best-practices |
shadcn | detected | shadcn, shadcn-ui | shadcn |
sqlalchemy | detected | sqlalchemy, alembic | sqlalchemy-schema-design |
tanstack-query | detected | @tanstack/react-query | tanstack-query |
trpc | detected | @trpc/ | none |
turborepo | detected | turbo | turborepo |
video | optional | - | cinetic, earshot, real-sound |
Two skills are in two packs: repo-asset-management (planning, requirements) and backend-domain-structure (backend, python). The Skill Reference gives a "use when" line and a source link for each skill.
frontend carries design-phase with the design skills its gates compose: brandkit, shadcn (through the shadcn Pack, which pack-frontend installs), the imagegen skills, find-animation-opportunities, prototype-variants, the craft skills, break-ui, mobile-native, and the animation skills. Its Expo branch also uses animate-expo and expo-tailwind-setup, which stay in the expo pack. See Design.
shadcn is its own detected Pack. pack-frontend installs it, so design-phase can run shadcn init in an app that has no components.json yet. Scoped prompt specs list shadcn only for a workspace where the shadcn technology is detected: a components.json beside the workspace package.json (not git-ignored), or a shadcn or shadcn-ui dependency. Other frontend scopes do not list it in their Skills table (#276).
Notes on the default packs
- planning carries most phase wrappers: the Finder wrappers and
finder-phase,prototype-phase,delivery-phase,review-phase,resolve-debt-phase, andgoalify. It also carries the planning chain (create-architecture,create-spec,create-plan,implement-spec), the sharedgrillingprimitive,wayfinder, andhandoff. - requirements carries
requirements-phase,requirements-grill,brainstorm,flow-lenses,domain-modeling, andwrite-backlog.flow-lensesis internal: the grill checkpoint andcreate-architecturecall it. The requirements chain also needsgrilling,create-architecture,create-spec, andcreate-planfromplanning, andshow-meandwait-whatfrommisc. - debug carries
debugging-phase, the ClawPatch phasesbug-discovery-phaseandbug-resolution-phase, anddebug-agent. - docs carries
docs-ingest-phase,docs-onboarding, the public writer chain (writing-fragments,writing-beats,writing-shape), and the agent-writing skills (writing-for-agents,write-graph-based-skills,rule-authoring). - verification carries the Project Verifier skills:
verify-behavior,create-verification-skill, andupdate-verification-skill. - quality separates production change from test-portfolio work.
tdddrives behavior changes with a red-green loop from an observed RED test; refactoring belongs to the per-tasksimplifystep and to review.make-tsuiteaudits or changes tests only and keeps production code unchanged.codebase-designandsimplifygive design vocabulary and a clarity pass. - research carries
parallel-research,prototype, andimprove-codebase-architecture. - security carries
architect-pipeline(provider-neutral CI/CD and deployment orchestration),audit-cicd-security(explicit pipeline audits), andsecurity-best-practices(application security on explicit request). Thepulumipack owns Pulumi API, state, ESC, and Automation API details. - misc carries
show-me,wait-what,ask-hi,retro, andpr.prwrites every pull request body; delivery uses it at draft time and at closeout.ask-hianswers questions about how the HI Baseline works: which skill or phase fits a task, how skills hand off, and what packs, rules, hooks, and verifiers do. - subagents carries
swarm-planner, whichcreate-plancomposes.
The video pack
video carries cinetic (cinematic motion design rendered from code), earshot (listening to judge, trim, or compare sound the agent cannot hear), and real-sound (soundtracks for code-made videos from real licensed recordings). The skills name their tools in requiresTools, and the selected pack adds them to the required tools:
| Tool | Kind | Used by |
|---|---|---|
earshot | uv tool, installed by hi tools ensure at a pinned commit | earshot, real-sound |
uv | check-only | earshot, real-sound |
ffmpeg, ffprobe | check-only | all three |
python3 >= 3.11 | check-only | all three |
node >= 22 | check-only | cinetic |
The CLI never installs a check-only tool: hi tools ensure fails when one is missing or older than its minimum version. Deselecting video removes its skills on the next hi update and leaves the installed tools in place. The root prompt spec lists the video skills; workspace prompt specs do not.
write-backlog is model-invoked; it is the only skill that writes to a backlog provider. The Skill Graph shows which phases and skills call each pack member.
Property testing across packs
The test evidence chain spans several packs. Each skill owns its part; this list only points at it.
quality:tddproperties.mdowns the Form values (example | property | stateful-property | model | type), the Property Patterns, the Generator rules and the Pinned Replay.sensitivity.mdowns the Sensitivity Proof for a test that passed on its first run.typescript:model-checkingwrites a*.proof.tsModel of a flow, checks it withtsprover, and wirescheck:modelsinto CI.effect:PROPERTY_TESTING.mdmaps thetddpatterns toArbitraryandit.effect.prop.planning:create-architectureadds a## Modelssection whenmodel-checkingis installed and a flow matches its trigger.create-specadds## Spec Invariants(INV-nnn).create-planadds the task fieldstest_form,invariant_refsandsensitivity_evidence.review-phasedoes not check test evidence.requirements:requirements-grillwrites the repository-rootGLOSSARY-MAP.mdthat pointsdomain-modelingat the published glossary pages.
Pack Output
A selected pack becomes one Registry item, pack-<id>. Its dependencies are its skills, lint assets, source guides, and tool runtimes.
| Output | What the packs contribute |
|---|---|
| Skills | Copied to .agents/skills/<id>/. Claude reads them through the .claude/skills symlink; Codex, Cursor, and OpenCode read .agents/skills directly. |
| Lint assets | quality: vitest-core, and bun-test-core for tests that import from bun:test. ci-solutions: ci-solution, in every Software Scope of the repository, because the pack has no detection technology. effect: effect-no-barrel-imports, effect-tsgo-recommended. nextjs: next-core, next-leafmost-suspense. react: react-core, react-frontend-layers, react-you-might-not-need-an-effect. tanstack-query: tanstack-query-core. typescript: typescript-anti-slop. |
| Hooks | python and typescript: format-edited-file. Shared hooks come from pack-core. |
| Rules | collective-intelligence: collective-intelligence-sdk-guidance, a Built file at .agents/rules/packs/collective-intelligence-sdk-guidance.md. Before an agent changes code that imports a @collective-intelligence/ package, the rule tells it to read node_modules/@collective-intelligence/<pkg>/AGENTS.md when the package ships one, and to run the skills/<name>/SKILL.md that the file lists for an SDK workflow. HI copies no file from node_modules. |
| Source guides | better-auth, drizzle, effect, elysia, nextjs, react, tanstack-query, and trpc. This is the only content that drizzle and trpc add, because they ship no skill. |
| Tool runtimes | typescript: typegraph-runtime. |
| Prompt specs | Packs shape the generated prompt specs. Scoped skill lists leave out every *-phase skill and the Finder wrappers; the root spec lists them as workflow entrypoints. |
react-frontend-layers checks the entities layer model of frontend-domain-structure (app/ or routes/, composition/, features/, entities/, modules/, integrations/, ui/) in each Software Scope where the react Pack applies. The skill sits in the frontend Pack; the lint asset sits in the react Pack. Hooks tells how the asset installs and how to turn off one of its rules.
Validation Gates, External Tool Contract, and Hooks explain the hook and tool mechanics.