akili-specs

中文文档
2.42.0发布于 2026/11/03MIT零依赖

Portable AKILI-SPECS methodology commands and skills for AI-assisted development.

原始使用文档
文档目录12 节
  1. What is AKILI?
  2. How it works
  3. Install
  4. What you need
  5. Install
  6. Check it worked
  7. Your first spec
  8. Commands at a glance
  9. In your AI assistant
  10. In your terminal
  11. Learn more
  12. Contributing and license
 █████╗ ██╗  ██╗██╗██╗     ██╗
██╔══██╗██║ ██╔╝██║██║     ██║
███████║█████╔╝ ██║██║     ██║
██╔══██║██╔═██╗ ██║██║     ██║
██║  ██║██║  ██╗██║███████╗██║
╚═╝  ╚═╝╚═╝  ╚═╝╚═╝╚══════╝╚═╝

AKILI

Spec-driven development for AI coding assistants: plan the change, build it, test it, and learn from it.

npm version License MIT Node.js 18+

Works with Claude Code · OpenCode · Google Antigravity · OpenAI Codex CLI · Cursor · Grok Bot — on macOS, Linux and Windows

What is AKILI?

AKILI adds slash commands and skills to your AI coding assistant. It makes the assistant write a spec before it codes, then build the change, test it and check the work against that spec. After each change, it learns what to do better next time.

What you get

  • Shared project context that the assistant reads every session.
  • Every change planned in writing and traceable to a requirement.
  • Built-in review and tests before anything is called done.
  • A method that learns from every finished change.
  • Extras for security audits, video, diagrams and a growth track (/akili-seo, /akili-marketing): see the overview.
TermMeaning
slash commandA prompt you type in your assistant, such as /akili-propose, that runs one step of the method.
skillA reusable set of instructions the assistant loads when the work needs it, such as debugging or UI design.
specThe folder of documents for one change: requirements, design and a task list, written before any code.
constitutionThe project-wide baseline (product, design and technical docs, plus the guides the assistant reads), set up once.

How it works

The AKILI flow: set up the project once, then each change is proposed, specified, built, tested, validated and archived; seven commands run any time, among them a security audit and a pull-request review that can also run in CI; two of them, SEO and marketing, form a growth track.

  • Set up the project once with /akili-constitution.
  • Each change then runs propose, specify, execute, test, validate, archive.
  • Some commands work any time, outside that path.
  • The full flow is in docs/flow.md.

Install

What you need

  • Node.js 18 or newer
  • Git
  • One supported AI tool: Claude Code, OpenCode, Google Antigravity, OpenAI Codex CLI, Cursor or Grok Bot

Install

npx akili-specs init

The wizard asks which tool to set up and whether to install globally or in this project. With pnpm, run pnpm dlx akili-specs init instead.

Check it worked

npx akili-specs doctor

Restart your AI tool, then type /akili- and the AKILI commands appear (in Codex, type $akili-).

Other tools, flags, manual install, updating and troubleshooting: see docs/cli.md.

Your first spec

Run these in your AI assistant, in order:

  1. /akili-constitution: AKILI studies your project and writes the baseline docs and guides, such as docs/prd.md.
  2. /akili-propose <name>: you describe the change and AKILI writes a short proposal, proposal.md.
  3. /akili-specify <spec-path>: AKILI plans the change in requirements.md, design.md and tasks.md.
  4. /akili-execute <spec-path>: AKILI builds the approved tasks one by one and logs the work in execution.md.
  5. /akili-test, /akili-validate, then /akili-archive (each with the spec path): you get test-report.md, validation-report.md, then archive-summary.md.

Tiny copy or color change? Use /akili-quick <change-name> and skip the steps. Coming back after a break? Run /akili-resume to see where each spec stands. A worked example with real names is in docs/flow.md.

Commands at a glance

In your AI assistant

CommandUse it to…
Every change
/akili-constitutionset up or repair the project baseline docs and the guides your assistant reads
/akili-propose <name>write a short proposal that you review before full planning
/akili-specify <spec-path>plan one bounded change: requirements, design and a task list
/akili-execute <spec-path>build the approved tasks one by one, each independently checked
/akili-test <spec-path>write and run tests, and record the evidence
/akili-validate <spec-path>check that the finished work matches the approved spec
/akili-archive <spec-path>close a finished change and record what was learned
Any time
/akili-quick <change-name>make a trivial, low-risk change in one step; it escalates if the change is bigger
/akili-auditcheck that the code still matches your product and design docs
/akili-resumepick up after a break with a briefing on your active specs
/akili-seo <site-domain>set up Google Search Console for a domain and audit its SEO
/akili-security [<path>…]audit your repository for security vulnerabilities; confirmed findings are routed to bug proposals. Not supported on native Windows (use WSL, Linux or macOS)
/akili-marketing <mode> [args]draft LinkedIn, Instagram and Facebook posts as Markdown files; it never publishes
/akili-review [<pr> | <base>..<head> | --staged]review a pull request or diff against its specs; posts one summary comment only when asked (--comment) or from CI; it never edits, approves or blocks

In your terminal

CommandUse it to…
akili initrun the setup wizard
akili installinstall the commands and skills without the wizard
akili updateupdate to the latest version and reinstall the files
akili listlist what the package ships
akili doctorcheck that the expected files are installed; --agents checks that your project's agent instruction files are up to date (--fix updates them)
akili routingchoose which AI model runs each step (model routing)
akili check-updateprint a line if a newer version is published
akili notificationsturn update announcements on or off (Claude Code only)

Every option and example: docs/cli.md.

Learn more

I want to…Read
see every command, skill and install target in one placedocs/overview.md
browse all the docsdocs/README.md
follow the whole flow, step by stepdocs/flow.md
look up one commanddocs/commands/README.md
look up one skilldocs/skills/README.md
review a product's design with Impeccable, or see the third-party skill AKILI ships, its licence and pindocs/skills/impeccable-bridge.md, docs/skills/impeccable.md
use the terminal tool or fix an installdocs/cli.md
pick the AI model for each stepdocs/model-routing.md
know how skills are chosen and keptdocs/skills/governance.md
compare AKILI with OpenSpecdocs/openspec-comparison.md
use AKILI from an MCP client with nothing installed (hosted AKILI MCP service, not live yet)akili.com.co

Contributing and license

Contributions: see CONTRIBUTING.md; releases follow docs/release-checklist.md. Created and maintained by Juan Carlos Cadavid — jcadavid.com. Released under the MIT License. Every command and every agent template carries this authorship notice. The license lets you use, modify and redistribute AKILI, provided the copyright and attribution notices are kept. Third-party component. AKILI ships Impeccable by Paul Bakaus (Apache-2.0) as the impeccable skill, vendored unmodified apart from a declared frontmatter block, with its LICENSE and NOTICE beside it. AKILI-SPECS is not affiliated with the Impeccable project; see docs/skills/impeccable.md.

版本与发布记录

akili-specs 共发布 77 个版本,首次发布于 2026/07/18;过去 12 个月发布了 77 个版本。

版本发布日期距今
2.42.0latest2026/11/03今天
2.41.02026/11/021 天前
2.40.02026/10/313 天前
2.39.02026/10/304 天前
2.38.02026/10/295 天前
2.37.22026/10/286 天前

关于 akili-specs 的常见问题

akili-specs 是什么?

用于人工智能辅助开发的便携式AKILI-SPECS方法命令和技能。

如何安装 akili-specs?

在项目目录运行 npm install akili-specs,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 akili,可以用 npx akili 直接运行。

akili-specs 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/akili-specs 是否存在。

akili-specs 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=18.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

akili-specs 可以商用吗?

akili-specs 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

akili-specs 还在维护吗?

最新版本 2.42.0 发布于 2026/11/03(今天);至今共发布 77 个版本,其中过去 12 个月发布了 77 个;首次发布于 2026/07/18。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。