Skip to main content

Kizai's project-level AI Coding SOP toolkit for controlled agent workflow governance.

Project description

kz-ai-coding-sop

Kizai's own AI Coding SOP for controlled, agent-based software development.

中文定位:Kizai 的可控式 AI Coding 标准作业流程。

Controlled AI coding means the human defines the rules, the agent follows the workflow, and every change stays understandable, reviewable, and verifiable.

What This Is

KZ AI Coding SOP is Kizai's project-level SOP and governance toolkit for AI coding agents. Its repository is:

It initializes a project with shared instructions for Codex, Claude Code, Cursor, Antigravity, OpenClaw, and similar agents.

KZ SOP uses a Superpowers-first workflow: when Superpowers skills are available in the current agent harness, KZ SOP routes agents to those skills as the workflow baseline. KZ SOP does not own, copy, bundle, modify, or claim authorship of Superpowers.

Superpowers is an upstream skill/workflow project maintained by Jesse Vincent and Prime Radiant:

In short: KZ SOP is Kizai's own development process and repository-level rules; Superpowers is an upstream skill capability that KZ SOP can reference and route to when installed.

Package Status

KZ SOP is distributed through npm and PyPI:

  • npm package: kz-sop
  • PyPI package: kz-ai-coding-sop
  • CLI command: kz-sop

Public install commands work for versions already published on the corresponding package registry. For local development or pre-release verification, use the local commands below.

Quick Start After Publishing

Use npm or pnpm:

npx kz-sop init
pnpm dlx kz-sop init

Or use Python:

pip install kz-ai-coding-sop
kz-sop init

This initializes the current project with KZ SOP files.

Local Usage Before Publishing

Python can be tested immediately from this repository:

cd kz-ai-coding-sop
python3 -m kz_sop.cli skills list
python3 -m kz_sop.cli init
python3 -m kz_sop.cli doctor

To install the local Python package into your environment:

cd kz-ai-coding-sop
python3 -m pip install .
kz-sop init

For npm, install Node.js first, then run:

cd kz-ai-coding-sop
npm install
npm run build
node dist/cli.js init

You can also test the package before publishing:

npm pack

Commands

kz-sop init
kz-sop update
kz-sop doctor
kz-sop skills list
  • init generates KZ SOP files without overwriting existing files.
  • update refreshes the KZ-owned generated files (AGENTS.md, .kz/sop.config.json) to the packaged version and prints which files changed. Re-run it after upgrading the package to pull the latest SOP. Local edits to those two files are overwritten, so keep project-specific notes elsewhere; everything else is left untouched.
  • doctor checks required KZ files and reminds you to confirm Superpowers is installed in your agent harness.
  • skills list lists recommended upstream Superpowers skills and any packaged KZ-owned skills.

Typical Project Setup

In a new project:

mkdir my-project
cd my-project
git init
npx kz-sop init

or:

mkdir my-project
cd my-project
git init
pip install kz-ai-coding-sop
kz-sop init

By default, kz-sop init keeps the generated SOP files local and low-noise by adding them to .gitignore:

# KZ AI Coding SOP generated files
.kz/
AGENTS.md

If you want to make KZ SOP a shared team contract, remove those ignore entries intentionally and commit the files.

Superpowers should be installed separately in each agent harness you use. KZ SOP does not auto-install third-party plugins.

Packaged Skills

KZ SOP v0.1.x includes a small curated set of packaged skills:

  • startup-pressure-test: pressure-test startup ideas before building.
  • grill-me: stress-test a plan or design through focused questioning.
  • karpathy-guidelines: reduce common LLM coding mistakes while writing, reviewing, or refactoring code.
  • spec-driven-development: lock a verifiable spec and acceptance contract before writing code.
  • waza-router: route work to Waza-style engineering habits.
  • ecc-operator-system: audit cross-harness AI agent workflow readiness.
  • ralph-loop: run an autonomous fresh-context iteration loop for work larger than one context window.
  • planning-with-files: keep a long task on disk so it survives context loss, compaction, or /clear.

These extend KZ SOP without changing the default Superpowers-first workflow. Attribution for adapted upstream material is listed in THIRD_PARTY_NOTICES.md.

Generated Files

AGENTS.md
.kz/
  sop.config.json
.gitignore

The .gitignore update only adds generated SOP paths:

# KZ AI Coding SOP generated files
.kz/
AGENTS.md

Recommended First Prompt

Please follow KZ AI Coding SOP for this project.
First read AGENTS.md.
Do not write code immediately.
Start by reporting project understanding, stack detection, structure analysis, plan, relevant Superpowers skills, risks, and verification steps.

Release Checklist

Before publishing npm:

npm install
npm run build
npm publish

Before publishing PyPI:

python3 -m pip install build twine
python3 -m build
python3 -m twine upload dist/*

Recommended pre-release verification:

python3 -m compileall kz_sop
python3 -m pip wheel . --no-deps -w /tmp/kz-sop-wheel

Philosophy

AI is not a free-form developer. It is an engineering worker that must follow project rules, load the right workflow skills, preserve architecture, verify results, and explain its changes.

KZ SOP owns project governance. Superpowers owns the default agent workflow.

Documentation

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kz_ai_coding_sop-0.1.5.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kz_ai_coding_sop-0.1.5-py3-none-any.whl (35.3 kB view details)

Uploaded Python 3

File details

Details for the file kz_ai_coding_sop-0.1.5.tar.gz.

File metadata

  • Download URL: kz_ai_coding_sop-0.1.5.tar.gz
  • Upload date:
  • Size: 29.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for kz_ai_coding_sop-0.1.5.tar.gz
Algorithm Hash digest
SHA256 cdbe4c799aea7347bd63d52d066bea69f4d0b0886862f04acbe68627795da168
MD5 42bc00c272005ba4780900f91280a9f2
BLAKE2b-256 351f8acb09fc31826455e1098fa4a3d7ada847777a3559dc466df8e70062cf5a

See more details on using hashes here.

File details

Details for the file kz_ai_coding_sop-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for kz_ai_coding_sop-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 66da87598aa300e57417861b5b25f716739957085dd5b6b89b949000e127a30f
MD5 e550b106e06d3c6dec0d82e8c01dc2bb
BLAKE2b-256 a46420e5d27ec36a86f5a2cfba4fd772d7f69afcf54ed37a240dc8161291b198

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page