@ivni/project-foundation
v2.0.0
Published
Interactive Bun installer for the Project Foundation agent skill suite.
Maintainers
Readme
Project Foundation
Project Foundation is a focused Agent Skill suite for moving from uncertainty to an agreed, durable project foundation:
- Find Blind Spots performs a read-only search for consequential unknowns, classifies them by product, UX, business, domain, or engineering concern, and routes each to the right owner or validation method.
- Discovery Interview defaults to a non-technical product-owner track for product value, functionality, domain rules, UX, and business constraints. It asks one stakeholder-owned decision at a time while writing only one scratch discovery record.
- Run Subphase takes exactly one subphase of a phase requirements slice to done — entry gate, agreed verification seams, vertical slices, verification evidence, an independent review, one commit — and then stops, because a subphase is sized to a single context window.
- Codex Review Loop explicitly launches an independent read-only Codex reviewer over the current task's uncommitted changes, then lets the primary agent validate findings, make bounded fixes, run checks, and re-review until clean or honestly blocked.
- Claude Review Loop runs the same bounded workflow through an actual Claude Fable/xhigh reviewer with only read-only file inspection tools; the primary agent remains responsible for all tests.
- Qwen Review Loop runs the same bounded workflow through an actual Qwen Code CLI reviewer pinned
to
qwen3.8-maxwithxhighreasoning in the read-only plan approval mode; the primary agent remains responsible for all tests. - Project Foundation turns the resulting product and UX contract into agent-led technical synthesis, architecture, delivery process, and a canonical artifact set.
One further skill stands apart from that arc and is installed independently:
- Teach treats the current directory as a stateful learning workspace — mission, curated sources, glossary, learning records, and lessons — so a topic can be taught across many sessions. It shares no artifacts with the engineering skills and never touches a software project's docs.
The package includes an interactive Bun installer for Codex, Claude Code, Pi, OpenCode, and Hermes Agent.
Quick start
Install Bun, then run:
bunx @ivni/project-foundationChoose any combination of the eight skills, the agent environments, a user or project scope, and a copy or managed-link installation. All eight skills are preselected; deselect the ones you do not want. The wizard shows a complete preview before writing anything.
The skill registry is the source of truth: each registry key is also the package directory, native
target name, managed-store name, and receipt skillId. Adding another skill does not require a new
installer code path.
You can also open a flow directly:
bunx @ivni/project-foundation install
bunx @ivni/project-foundation@latest update
bunx @ivni/project-foundation removeNothing is installed globally as an executable. bunx downloads and runs the package for that
invocation. Use @latest for updates when you want to bypass ambiguity around cached package
resolution.
Supported environments
| Agent | User scope | Project scope |
| --- | --- | --- |
| Codex | ~/.agents/skills | .agents/skills |
| Claude Code | ~/.claude/skills | .claude/skills |
| Pi | ~/.pi/agent/skills | .pi/skills |
| OpenCode | ~/.config/opencode/skills | .opencode/skills |
| Hermes Agent | ~/.hermes/skills | Not supported |
The installer understands cross-agent discovery. For example, Codex, Pi, and OpenCode can share
one .agents/skills target instead of receiving redundant copies.
Safety model
- Every mutation is preceded by a preview.
- A multi-skill operation uses an outer compensating transaction, so a later skill failure rolls back earlier skill mutations from the same confirmation.
- Existing unmanaged content is never overwritten silently.
- Locally modified managed installs can be shown as a diff, kept, removed, or backed up first.
- Multi-path operations use compensating rollback when a write fails.
- Downgrades are rejected.
- The installer never writes
.gitor mutates the index, branches, commits, or worktrees. Project-scope files can change the working tree and remain the user's Git responsibility. - No telemetry is collected.
Documentation
- Installation
- Targets and scopes
- Copy vs link
- Updating
- Removing
- Troubleshooting
- Compatibility sources
- Development
- Release process
Development
bun install --frozen-lockfile
bun run checkThe public package is the repository root. The private workspaces under packages/ separate the
CLI source from the eight raw skill payloads. See Development for the full
layout and verification workflow.
