Harness Intelligence Wiki
HarnessSkills and Packs

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 default pack plus every pack whose signal matches the repository.
  • Default packs are preselected, not mandatory. The operator can remove them in the hi init multiselect or in packs.
  • hi update installs pack-core, exactly the listed packs, and their dependencies. An unknown pack id is an error.
  • pack-core is always installed and never listed. It carries the shared items: commit-gate, handoff, harness, hooks, managed-lint, prompts, shared-prompt, source-guides, subagents, and tools.
  • 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 init again (it prefills from settings) or edit packs, then run hi 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.

CategorySelected byPacks
defaultPreselected in every repository.debug, docs, misc, planning, quality, research, requirements, security, subagents, verification
surfaceA backend or frontend signal in the repository.backend, frontend
detectedA 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
languageLanguage detection.python, typescript
optionalThe 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 technologies better-auth, drizzle, elysia, or trpc; or a path segment api, backend, server, or services; or a package-name segment api, backend, server, or service.
  • frontend: the technologies nextjs or react.

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.

PackTrigger packages
better-authbetter-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/
drizzledrizzle-kit, drizzle-orm
effecteffect, @effect/
elysiaelysia
expoexpo, @expo/
nextjsnext
pulumi@pulumi/, @pulumi/pulumi
reactreact, react-dom
shadcnshadcn, shadcn-ui, or a components.json beside the workspace package.json
sqlalchemysqlalchemy, alembic
tanstack-query@tanstack/react-query
trpc@trpc/
turborepoturbo

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.

PackCategoryTrigger packagesSkills
planningdefault-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
requirementsdefault-requirements-phase, requirements-grill, brainstorm, flow-lenses, domain-modeling, repo-asset-management, write-backlog
debugdefault-debugging-phase, bug-discovery-phase, bug-resolution-phase, debug-agent
docsdefault-docs-ingest-phase, docs-onboarding, writing-fragments, writing-beats, writing-shape, writing-for-agents, write-graph-based-skills, rule-authoring
qualitydefault-tdd, make-tsuite, codebase-design, simplify
researchdefault-parallel-research, prototype, improve-codebase-architecture
verificationdefault-create-verification-skill, update-verification-skill, verify-behavior
securitydefault-architect-pipeline, audit-cicd-security, security-best-practices
miscdefault-show-me, wait-what, ask-hi, retro, pr
subagentsdefault-swarm-planner
backendsurface-backend-domain-structure, backend-recoverable-actions, logging-best-practices
frontendsurface-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
typescriptlanguagetypescriptmodel-checking, quality-types
pythonlanguage-async-python-patterns, backend-domain-structure, python-backend-structure, python-code-style, python-design-patterns, python-testing-patterns
better-authdetectedbetter-authbetter-auth-best-practices
ci-solutionsdetected@collective-intelligence/external-apps-client-sdk, @collective-intelligence/external-apps-client-sdk-react, @collective-intelligence/external-apps-server-sdkci-clickstack, ci-solution-structure, generate-human-backlog-skills
collective-intelligencedetected@collective-intelligence/ci-clickstack
drizzledetecteddrizzle-kit, drizzle-ormnone
effectdetectedeffect, @effect/effect, effect-backend-structure, effect-recoverable-actions, effect-service-design
elysiadetectedelysiaelysiajs
expodetectedexpo, @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
nextjsdetectednextnext-best-practices, next-cache-components
pulumidetected@pulumi/, @pulumi/pulumipulumi-overview, pulumi-best-practices, pulumi-component, pulumi-automation-api, pulumi-esc, provider-upgrade, package-usage
reactdetectedreact, react-domasync-react-patterns, react-doctor, vercel-composition-patterns, vercel-react-best-practices
shadcndetectedshadcn, shadcn-uishadcn
sqlalchemydetectedsqlalchemy, alembicsqlalchemy-schema-design
tanstack-querydetected@tanstack/react-querytanstack-query
trpcdetected@trpc/none
turborepodetectedturboturborepo
videooptional-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, and goalify. It also carries the planning chain (create-architecture, create-spec, create-plan, implement-spec), the shared grilling primitive, wayfinder, and handoff.
  • requirements carries requirements-phase, requirements-grill, brainstorm, flow-lenses, domain-modeling, and write-backlog. flow-lenses is internal: the grill checkpoint and create-architecture call it. The requirements chain also needs grilling, create-architecture, create-spec, and create-plan from planning, and show-me and wait-what from misc.
  • debug carries debugging-phase, the ClawPatch phases bug-discovery-phase and bug-resolution-phase, and debug-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, and update-verification-skill.
  • quality separates production change from test-portfolio work. tdd drives behavior changes with a red-green loop from an observed RED test; refactoring belongs to the per-task simplify step and to review. make-tsuite audits or changes tests only and keeps production code unchanged. codebase-design and simplify give design vocabulary and a clarity pass.
  • research carries parallel-research, prototype, and improve-codebase-architecture.
  • security carries architect-pipeline (provider-neutral CI/CD and deployment orchestration), audit-cicd-security (explicit pipeline audits), and security-best-practices (application security on explicit request). The pulumi pack owns Pulumi API, state, ESC, and Automation API details.
  • misc carries show-me, wait-what, ask-hi, retro, and pr. pr writes every pull request body; delivery uses it at draft time and at closeout. ask-hi answers 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, which create-plan composes.

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:

ToolKindUsed by
earshotuv tool, installed by hi tools ensure at a pinned commitearshot, real-sound
uvcheck-onlyearshot, real-sound
ffmpeg, ffprobecheck-onlyall three
python3 >= 3.11check-onlyall three
node >= 22check-onlycinetic

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: tdd properties.md owns the Form values (example | property | stateful-property | model | type), the Property Patterns, the Generator rules and the Pinned Replay. sensitivity.md owns the Sensitivity Proof for a test that passed on its first run.
  • typescript: model-checking writes a *.proof.ts Model of a flow, checks it with tsprover, and wires check:models into CI.
  • effect: PROPERTY_TESTING.md maps the tdd patterns to Arbitrary and it.effect.prop.
  • planning: create-architecture adds a ## Models section when model-checking is installed and a flow matches its trigger. create-spec adds ## Spec Invariants (INV-nnn). create-plan adds the task fields test_form, invariant_refs and sensitivity_evidence. review-phase does not check test evidence.
  • requirements: requirements-grill writes the repository-root GLOSSARY-MAP.md that points domain-modeling at 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.

OutputWhat the packs contribute
SkillsCopied to .agents/skills/<id>/. Claude reads them through the .claude/skills symlink; Codex, Cursor, and OpenCode read .agents/skills directly.
Lint assetsquality: 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.
Hookspython and typescript: format-edited-file. Shared hooks come from pack-core.
Rulescollective-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 guidesbetter-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 runtimestypescript: typegraph-runtime.
Prompt specsPacks 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.

On this page