@contextforge/core
v0.1.10
Published
Core detection, registry, sync, and generation logic for ContextForge.
Downloads
1,331
Maintainers
Readme
ContextForge Core
Website: https://contextforge.org
@contextforge/core contains the detection, registry, sync, doctor, config, lockfile, and generation logic used by the ContextForge CLI.
Most users should run the CLI:
npx @contextforge/cli initWhat Core Handles
- Detects project stacks such as Next.js, TypeScript, Tailwind, shadcn/ui, Prisma, Drizzle, Vitest, Jest, and Playwright.
- Fetches the official remote registry.
- Resolves pack manifests and pack files.
- Installs instruction content under
.contextforge. - Writes and migrates
.contextforge/config.json. - Writes
.contextforge/lock.json. - Generates small root pointer files for
AGENTS.mdandCLAUDE.md. - Runs
doctorchecks for missing files, stale packs, and mismatched project state.
Official Registry
https://registry.contextforge.org/index.jsonGenerated Layout
Core writes prompt content under .contextforge:
.contextforge/
config.json
lock.json
agents/
codex/<pack>.md
claude/<pack>.md
cursor/<pack>.md
copilot/<pack>.md
skills/
<pack>/SKILL.mdRoot AGENTS.md and CLAUDE.md files are pointer files only. They tell agents to read .contextforge.
Links
- Website: https://contextforge.org
- Main repo: https://github.com/Alone-Y154/ContextForge
- Registry repo: https://github.com/Alone-Y154/ContextForge-registry
- npm CLI: https://www.npmjs.com/package/@contextforge/cli
- npm Core: https://www.npmjs.com/package/@contextforge/core
- Registry: https://registry.contextforge.org/index.json
License
MIT
