Add AIDLC to a project you already have
Install AIDLC into an existing repository so your AI assistant starts with real knowledge of the code.
What you'll do
Install the CLI and run init in your repository. It adds the AIDLC files and writes a
first description of your code for your AI assistant to read. None of your code is changed.
Steps
Install the CLI once, so
aidlcis on your path:npm install -g @rasensio/aidlcGo to the root of your repository and run
init. It asks which AI tools you use:cd path/to/your-repo aidlc initTo skip the questions and set up one tool, name it instead:
aidlc init --platform claude-codeThe other names are
codex,copilot,cursor,kiroandwindsurf. To see whatinitwould write before it writes anything, add--dry-run.Read the two files
initwrote in.aidlc/context/:architecture.mdandstyle-guide.md. They describe your code, and your assistant reads them before every phase, so fix anything they get wrong now. A mistake here repeats in every piece of work.See the new files, then commit them:
git status git add .aidlc .claude CLAUDE.md .gitattributes git commit -m "chore: add AIDLC"The tool folder and instructions file depend on the tool you chose — for example
.cursor/for Cursor or.kiro/for Kiro. Add whatevergit statuslists as new.
Check it worked
Run aidlc status. You should see No active lifecycle instances. That means AIDLC is set
up and waiting for your first piece of work.