-
Notifications
You must be signed in to change notification settings - Fork 2
Claude Code Installation
5 minutes to install ai-coding-ok in your project via Claude Code.
- Claude Code installed and authenticated
- A project directory (new or existing)
In Claude Code, run:
/plugin install ai-coding-ok@claude-plugins-official
This installs the ai-coding-ok skill globally. You only need to do this once per machine.
Alternative (legacy git-clone):
git clone https://github.com/Mark7766/ai-coding-ok ~/.claude/skills/ai-coding-ok
cd your-project
claudeIn the Claude Code session, say any of these:
install ai-coding-ok
Or in Chinese:
安装 ai-coding-ok
初始化 ai-coding-ok
Claude will detect the trigger and enter Mode A (Install).
Claude will ask:
"In one sentence, what are you building?"
Example answers:
| Your project | Good answer |
|---|---|
| Personal expense tracker | "A personal expense tracker that records what I spend each day" |
| Team weekly report tool | "A tool for collecting weekly reports from team members, with auto-reminders every Friday" |
| Internal API service | "A REST API for managing customer orders, with PostgreSQL backend" |
Claude will then:
- Infer your tech stack, architecture, design principles
-
Replace all
{{placeholders}}in the 16+ template files - Bootstrap the first task-history entry
- Prompt you for source directory configuration (for hooks)
Claude will also ask:
"Where does your source code live? (e.g.
src/,lib/,app/— default:src/ tests/)"
This configures the Claude Code hooks to only trigger on changes to your actual source files.
Claude will output a summary:
✅ Installation complete
Files installed:
AGENTS.md, CLAUDE.md, .github/copilot-instructions.md,
.github/agent/system-prompt.md, .github/agent/coding-standards.md,
.github/agent/workflows.md, .github/agent/prompt-templates.md,
.github/agent/memory/project-memory.md,
.github/agent/memory/decisions-log.md,
.github/agent/memory/task-history.md,
.github/project-metadata.yml, .github/PULL_REQUEST_TEMPLATE.md,
.github/ISSUE_TEMPLATE/*, .github/workflows/*,
.claude/settings.local.json
Key decisions:
- Project name: your-project
- Tech stack: Python 3.12 + FastAPI + SQLite + pytest
- Design principle: minimalist, practical
Next: Open AGENTS.md to review. PDCA loop is active.
Run the verification script:
bash scripts/verify.shExpected output:
✓ All required files are present.
✓ No unfilled placeholders — setup looks fully customized.
See Installation Verification for detailed exit code meanings.
From now on, every coding task in this project will automatically:
- Plan — Read 7 files (AGENTS.md + 3 agent specs + 3 memory files) before writing code
- Do — Write code + tests in the same change
- Check — Run tests, verify no regression
- Act — Update task-history.md (always), and decisions-log.md / project-memory.md (when needed)
The PDCA loop is enforced by the Five-Layer Defense System.
The installer will detect conflicts and offer three choices:
- Overwrite (risky)
- Copy only missing files (recommended)
- Abort
It never silently overwrites existing files.
If both files exist, the installer will warn you and recommend merging into settings.local.json only. See Hooks System for details.
Use install.py instead of install.sh:
python install.py --claude-code🧠 ai-coding-ok — AI 编程的 PDCA 记忆闭环。
GitHub · Issues · MIT License