@nifrajs/skills
v3.1.0
Published
Agent skills for nifra - portable SKILL.md bundles that teach a coding agent Nifra's contracts, boundaries, and CI gates, and point it at the live MCP server instead of stale recall.
Maintainers
Readme
@nifrajs/skills
Portable agent skills for Nifra - one SKILL.md bundle, published to every agent
surface that reads a skills/ directory.
A skill is loaded on demand: the agent sees only each skill's name and description until it decides one applies, then reads the body. That keeps Nifra's conventions out of the context window until they matter.
skills/
nifra/SKILL.md entry point - MCP-first rule, the core loop, the non-negotiables
nifra-api/SKILL.md typed routes, schemas, middleware, WebSockets, the never-throwing client
nifra-web/SKILL.md file routing, loaders/actions, SSR, islands, the client/server boundary
nifra-verify/SKILL.md check, assure, capabilities, manifest diff, the verification ladderInstall
Pi
pi install npm:@nifrajs/skillsClaude Code
/plugin marketplace add nifrajs/nifra
/plugin install nifra@nifraAnything that reads a skills directory (Cursor, .agents/skills, a project .pi/skills)
bun add -d @nifrajs/skills
cp -R node_modules/@nifrajs/skills/skills/* .agents/skills/These skills are deliberately thin
They teach shape and rules, not signatures. Signatures come from the MCP server, which is typechecked against the version installed in the project being edited:
bunx @nifrajs/cli init-agents # register the MCP server in an existing appNot in a Nifra project? The docs tools are hosted at https://mcp.nifra.dev.
That split is the anti-drift design: a skill that restated the API would rot on the next release,
while a skill that says "ask nifra_types" stays correct. Keep it that way when editing these files -
if you find yourself pasting a signature in, reach for a tool reference instead.
For AI agents
Start with LLM.md - this package's contract card, one cheap read instead of the whole
corpus. For the wider framework: the repo's AGENTS.md is the copy-paste quick
reference, and llms-full.txt is the full machine-readable corpus. Run
nifra check as the done-gate, or nifra mcp to give the agent live project tools.
MIT licensed.
