AI-oriented documentation toolkit.
Project description
AI Docs Toolkit
AI Docs Toolkit is a documentation toolkit for AI-assisted software development.
It treats documentation as an engineering interface between humans, AI agents, code, tests and change management. The project is post-MVP and is hardening planning, validation, distribution and integration workflows.
Purpose
The toolkit is intended for projects where:
- AI agents participate in implementation;
- system knowledge must stay readable for humans and usable by automation;
- documentation should define constraints, expected behavior and validation rules;
- changes should be traceable across business rules, architecture, contracts, modules, acceptance criteria and code.
The core idea is that documentation should not be a secondary artifact created after implementation. It should guide implementation, validation and review.
Use Cases
AI Docs Toolkit is being designed to support:
- typed Markdown documents with YAML front matter;
- document taxonomy and explicit relationships;
- validation of metadata, required sections and links;
- document graph construction;
- impact analysis for planned and actual changes;
- context bundles for AI agents;
- CI, pre-commit and agent workflow integrations.
Current Status
The repository has completed the local MVP loop:
- typed Markdown documents with YAML front matter;
- schema and structure validation;
- document graph output;
- impact analysis;
- context bundle output;
- CI, pre-commit and agent workflow examples.
At this stage the repository contains:
- concept documents that explain the methodology;
- architecture and reference documents for repository structure, schemas, CLI, graph, impact, context, CI and distribution;
- planning documents that define active post-MVP hardening work;
- a workflow for implementing plan stages as documented change units;
- YAML schemas for MVP front matter and document types;
- Markdown document templates and a minimal project example;
- Python package baseline and an executable
ai-docsCLI.
Installation
Current supported local development install from a source checkout:
python -m pip install -e ".[dev]"
ai-docs --version
ai-docs validate
Current CI/source checkout install contract:
python -m pip install -e .
ai-docs validate --json
Published package commands are documented as contracts for after a package release exists:
python -m pip install ai-docs-toolkit
pipx install ai-docs-toolkit
uvx ai-docs-toolkit ai-docs validate
Docker, npm/npx and standalone binary distribution are deferred. See Distribution Strategy for supported and deferred channels.
Quick Start
Validate this repository:
ai-docs validate
Generate machine-readable validation output:
ai-docs validate --json
Build a document graph:
ai-docs graph --format json
Analyze impact for changed files:
ai-docs impact --changed
Prepare an agent context bundle for changed files:
ai-docs context --changed
Documentation Map
Start here:
Architecture:
Planning:
Workflows:
Reference:
- Document Types
- Front Matter Fields
- Planning Document Model
- Source Of Truth Model
- Test Case Documentation
- Distribution Strategy
- CI And Agent Integration
Development Model
The toolkit is developed using its own documentation methodology.
Changes should be handled as documented change units:
- identify the active plan stage;
- read Plan Stage Workflow before executing planning tasks;
- read the source documents for the task;
- update affected documentation before or together with implementation;
- keep planning documents aligned with the actual repository state;
- run
ai-docs validatebefore closure.
For the current execution workflow, see Plan Stage Workflow.
Planning Direction
The MVP plan is closed and retained as work history. Current work is tracked in the post-MVP hardening plan.
Details:
Non-Goals For MVP
The MVP does not aim to provide:
- semantic contradiction detection;
- automatic documentation rewriting;
- full IDE plugins;
- hosted services;
- database-backed graph storage;
- cross-repository dependency graphs.
License
License is not selected yet. This is tracked as a product documentation gap in BLG-017 Product Core Documentation Gaps.
Project details
Release history Release notifications | RSS feed
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 ai_docs_toolkit-0.1.0b1.tar.gz.
File metadata
- Download URL: ai_docs_toolkit-0.1.0b1.tar.gz
- Upload date:
- Size: 47.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16c58f756e2e9622de153070f923149b42326dcb5f03214518608ff8368b64fb
|
|
| MD5 |
527f2d7ca7efe7f184b946835abef213
|
|
| BLAKE2b-256 |
9bd735c0a55113d49727ad59a4ec4280fc4e62c07fd29c83d4081350f7770ab2
|
File details
Details for the file ai_docs_toolkit-0.1.0b1-py3-none-any.whl.
File metadata
- Download URL: ai_docs_toolkit-0.1.0b1-py3-none-any.whl
- Upload date:
- Size: 39.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88277ba841dd92406bb42f0e3b0cf7ce3edbb31035550bf1b24864e4b5fa499f
|
|
| MD5 |
94305335630bca16fba2fcb418102f30
|
|
| BLAKE2b-256 |
36e7abc8c7f7f94bf5dac20d98d6e2c1d5d642f239eb4bb9b058d4cdcba6d079
|