Documentation-as-code bootstrap for AI agents
Project description
adrlane
Documentation-as-code bootstrap for AI agents.
adrlane init scaffolds a minimal docs/ layout and an agent-facing contract so AI tools know where to read and write project documentation. The agent decides when to update docs — there is no sync pipeline or enforcement.
Documentation model
init creates a minimal core that grows with the project:
| Path | Purpose |
|---|---|
docs/specs/ |
What the system should do |
docs/plans/ |
How to implement a spec |
docs/adr/ |
Why significant decisions were made |
docs/ideas/ |
Early concepts that may be promoted to specs |
docs/roadmap/ |
Now / Next / Later horizons for future initiatives |
docs/llm/ |
Agent contract and templates |
Templates live in docs/llm/templates/. Documents use markdown sections (## Status, ## Related) — not YAML frontmatter.
When the project gains new documentation needs (CLI reference, runbooks, API docs), the agent adds new folders under docs/ and updates docs/README.md. init does not predict project type or scaffold empty sections.
By default, init also installs five agent skills for Cursor and Claude Code:
adrlane-dev-context— ambient: read specs before coding, propose ADRs after significant decisionsadrlane-write-idea,adrlane-write-spec,adrlane-write-plan,adrlane-write-adr— explicit documentation tasks
Use --agent cursor or --agent claude-code (repeatable) to limit which adapters are installed.
For a single global install across all projects:
adrlane skills install --global
Update global or per-repo skills after upgrading adrlane:
adrlane skills upgrade --global
cd my-repo && adrlane skills upgrade --local
skills install --local must be run from an adrlane repository root.
Release history stays in Git and release tooling — not in docs/.
Requirements
Development
uv sync
uv run adrlane --help
uv run adrlane init --path /path/to/target-repo
uv run adrlane init --path /path/to/target-repo --agent cursor
uv run adrlane skills install --global
uv run adrlane skills upgrade --local
uv run adrlane init --path /path/to/target-repo --dry-run
Run tests:
uv run pytest
Pre-commit Hooks
This project uses pre-commit to run code quality checks before commits. Install the hooks:
uv run pre-commit install
The hooks will automatically run on git commit. They check for:
- Code formatting and linting (ruff)
- Trailing whitespace and end-of-file fixes
- YAML, JSON, and TOML syntax
- Merge conflicts and debug statements
Run hooks manually on all files:
uv run pre-commit run --all-files
Global install
uv tool install -e .
adrlane init --path /path/to/target-repo
Dependency management
uv add <package> # runtime dependency
uv add --dev <package> # dev dependency
uv lock # refresh lockfile after manual pyproject edits
License
AGPL-3.0-or-later. See LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file adrlane-0.2.1.tar.gz.
File metadata
- Download URL: adrlane-0.2.1.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23bcfec969bcff77808d19466c8a32f0b78bd62b3517bacadcf81137915dc632
|
|
| MD5 |
13dda86f81faa3439ac4a6b3af0886f9
|
|
| BLAKE2b-256 |
74744429b9684729b7b46f1660015c05ea9d51d5f463a5c2d11a2a347ccfa14f
|
Provenance
The following attestation bundles were made for adrlane-0.2.1.tar.gz:
Publisher:
release.yml on koradon/adrlane
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adrlane-0.2.1.tar.gz -
Subject digest:
23bcfec969bcff77808d19466c8a32f0b78bd62b3517bacadcf81137915dc632 - Sigstore transparency entry: 2132248056
- Sigstore integration time:
-
Permalink:
koradon/adrlane@7b4836034dfba1616e72b0255c1a10a120cbb9de -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/koradon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7b4836034dfba1616e72b0255c1a10a120cbb9de -
Trigger Event:
push
-
Statement type:
File details
Details for the file adrlane-0.2.1-py3-none-any.whl.
File metadata
- Download URL: adrlane-0.2.1-py3-none-any.whl
- Upload date:
- Size: 38.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0b91c1c1944bc571f0de6d8adbc979ec83be14eb700edbe1394b080a7912639
|
|
| MD5 |
93671ece7d4086502d91b7a19ce2f305
|
|
| BLAKE2b-256 |
e0e0a020d7e6f476fd859061f5f973b4b03acc0d11730362b2c737ed8dc57bc5
|
Provenance
The following attestation bundles were made for adrlane-0.2.1-py3-none-any.whl:
Publisher:
release.yml on koradon/adrlane
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
adrlane-0.2.1-py3-none-any.whl -
Subject digest:
d0b91c1c1944bc571f0de6d8adbc979ec83be14eb700edbe1394b080a7912639 - Sigstore transparency entry: 2132248269
- Sigstore integration time:
-
Permalink:
koradon/adrlane@7b4836034dfba1616e72b0255c1a10a120cbb9de -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/koradon
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@7b4836034dfba1616e72b0255c1a10a120cbb9de -
Trigger Event:
push
-
Statement type: