j.init

Initializes a new project with Jenga AI's directory structure, board configs, and git repository.

Updated Aug 3, 2026
Ready to run
npx skills add https://github.com/samwelmunga/jenga-npm --skill j-init-samwelmunga
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: j.init
Source: https://github.com/samwelmunga/jenga-npm/tree/main/.agents/skills/j-init
Command: npx skills add https://github.com/samwelmunga/jenga-npm --skill j-init-samwelmunga

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and assets (resource) components.

What problem does it solve? Setting up a Jenga AI-managed project by hand means creating a dozen directories, config files, and templates in the right places — and doing it wrong (or re-running it on an existing codebase) silently overwrites board state. This Skill automates the entire scaffold safely, and exists as a collision-safe alias when a host tool's built-in "/init" command shadows Jenga's own. ## Core Features & Use Cases - Existing-state detection: Classifies the target directory as empty, already-scaffolded, or an existing codebase before touching anything, and refuses to overwrite a prior scaffold. - Full project scaffolding: Creates the project/ board tree, PROJECT_SUMMARY.md, workflow.json, test-config and scope-thresholds configs, knowledge-graph stubs, docs/STRATEGY.md, CHANGELOG.md, and a git repository with an initial commit. - Visibility controls: Lets the user choose whether the project/ working files and the .claude/.agents framework scaffold are tracked in git or added to .gitignore, recorded in jenga.config.json. - Use Case: You installed @jenga-ai/agent via npm and want to start a new project — invoke this Skill to scaffold the board, configs, and git repo in one step, then move on to /pi-plan. ## Quick Start Ask the agent to initialize a new Jenga AI project in the current directory using the j-init setup flow.

Frequently Asked Questions about j.init

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I initialize a new Jenga AI project?▼

Invoke the j-init skill from the project root. It detects the directory state, asks how working files and the framework scaffold should appear in git, then runs init.sh to create the board structure, configs, and an initial commit.

What is the difference between /init and /j-init?▼

They run the identical setup flow. j-init exists because some host tools like GitHub Copilot ship their own built-in /init command that can shadow Jenga's alias, so j-init guarantees an unshadowed path to the same scaffold.

What happens if I run init in a directory that already has code?▼

The detection script returns existing-codebase and scaffolding pauses. You choose between running /uncharted onboard to backfill the board first, scaffolding fresh with an empty board, or aborting; non-interactive runs default to abort.

Can I keep the project board out of git commits?▼

Yes. Choose the ignored visibility mode during setup and the script adds project/ to .gitignore while recording project_files_visibility in jenga.config.json. A separate flag controls whether .claude/ and .agents/ are committed.

Why does the init script fail with a jq error?▼

The visibility scripts require jq to write jenga.config.json and git to create the repository. Install both tools and run the script from the project root, then retry initialization.