diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 0923188..d0b08e2 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,11 +1,11 @@
{
- "name": "python-project-template",
- "build": {
- "context": ".",
- "dockerfile": "Dockerfile"
- },
- "postCreateCommand": "bash scripts/setup.sh",
- "remoteEnv": {
- "MISE_GITHUB_TOKEN": "${localEnv:MISE_GITHUB_TOKEN}"
- }
+ "name": "python-project-template",
+ "build": {
+ "context": ".",
+ "dockerfile": "Dockerfile"
+ },
+ "postCreateCommand": "bash scripts/setup.sh",
+ "remoteEnv": {
+ "MISE_GITHUB_TOKEN": "${localEnv:MISE_GITHUB_TOKEN}"
+ }
}
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 0999c03..81162e6 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -30,5 +30,3 @@ jobs:
persist-credentials: false
- name: Run prek checks
uses: j178/prek-action@v2
- with:
- extra-args: --all-files --skip no-commit-to-branch
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index ac5d02c..49d0472 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -6,7 +6,7 @@ on:
- master
- main
paths:
- - docs/**
+ - website/**
- .github/workflows/docs.yml
- zensical.toml
push:
@@ -14,7 +14,7 @@ on:
- master
- main
paths:
- - docs/**
+ - website/**
- .github/workflows/docs.yml
- zensical.toml
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
deleted file mode 100644
index 5101593..0000000
--- a/.pre-commit-config.yaml
+++ /dev/null
@@ -1,56 +0,0 @@
-default_install_hook_types: [pre-commit, commit-msg]
-repos:
- - repo: https://github.com/pre-commit/pre-commit-hooks
- rev: v6.0.0
- hooks:
- - id: check-added-large-files
- - id: check-case-conflict
- - id: check-executables-have-shebangs
- - id: check-illegal-windows-names
- - id: check-json
- - id: check-merge-conflict
- - id: check-shebang-scripts-are-executable
- - id: check-toml
- - id: check-yaml
- - id: destroyed-symlinks
- - id: detect-private-key
- - id: end-of-file-fixer
- - id: mixed-line-ending
- args: [--fix=lf]
- - id: trailing-whitespace
- args: [--markdown-linebreak-ext=md]
-
- - repo: https://github.com/commitizen-tools/commitizen
- rev: v4.18.0
- hooks:
- - id: commitizen
- stages: [commit-msg]
-
- - repo: https://github.com/astral-sh/uv-pre-commit
- rev: 0.12.7
- hooks:
- - id: uv-lock
- args: [--check]
- - id: uv-export
-
- - repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.16.5
- hooks:
- - id: ruff-check
- args: [--fix]
- - id: ruff-format
-
- - repo: https://github.com/astral-sh/ty-pre-commit
- rev: v0.0.75
- hooks:
- - id: ty
-
- - repo: https://github.com/rvben/rumdl-pre-commit
- rev: v0.2.62
- hooks:
- - id: rumdl
-
- - repo: https://github.com/shellcheck-py/shellcheck-py
- rev: v0.11.0.1-1
- hooks:
- - id: shellcheck
diff --git a/.shellcheckrc b/.shellcheckrc
new file mode 100644
index 0000000..8349693
--- /dev/null
+++ b/.shellcheckrc
@@ -0,0 +1 @@
+external-sources=false
diff --git a/.vscode/settings.json b/.vscode/settings.json
deleted file mode 100644
index e25f107..0000000
--- a/.vscode/settings.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- "explorer.excludeGitIgnore": true,
- "editor.formatOnSave": true,
- "editor.insertSpaces": true,
- "[markdown]": {
- "editor.defaultFormatter": "rvben.rumdl"
- },
- "[python]": {
- "editor.codeActionsOnSave": {
- "source.fixAll.ruff": "explicit",
- "source.organizeImports.ruff": "explicit"
- },
- "editor.defaultFormatter": "charliermarsh.ruff",
- "editor.rulers": [
- 120
- ]
- },
- "[toml]": {
- "editor.defaultFormatter": "tamasfe.even-better-toml"
- },
- "[yaml]": {
- "editor.defaultFormatter": "redhat.vscode-yaml",
- "editor.quickSuggestions": {
- "comments": false,
- "other": true,
- "strings": true
- }
- },
- "chat.useAgentsMdFile": true,
- "python.languageServer": "None",
- "ruff.nativeServer": true
-}
diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..2e94b21
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,11 @@
+# Repository instructions
+
+Read the [development guide](docs/development.md) for setup, tooling, checks, and deployment. Before implementation, consult the [design index](docs/designs/SITEMAP.md) and inspect the affected source, configuration, and tests.
+
+When registering the first design, replace the design index's empty-state note and fenced example with the real entry. Update the index in the same change when a design's title, path, summary, or status changes. Track review and implementation status separately.
+
+Keep developer and agent guidance under `docs/` and in this file. The README and `website/` serve end users. Leave them untouched during internal documentation maintenance. Update them when the task calls for a change to end-user material.
+
+Preserve unrelated changes and accepted requirements. Work within the task's authorization. Staging, committing, pushing, installing tools or hooks, and deploying require authorization from the task or existing project policy. Keep credentials and private content out of docs and logs.
+
+Run the relevant checks, review files rewritten by tooling, and report what was verified. Update the affected internal guidance and design status when the evidence changes.
diff --git a/README.md b/README.md
index dcf14c8..d57909b 100644
--- a/README.md
+++ b/README.md
@@ -1,47 +1,41 @@
+
python-project-template
+
+
A Python tooling template with a Dev Container, repository checks, and a documentation site.
+
-
-
-
-
-
-
-
-
-
+
+
+
-
Production-ready Python devcontainer template focused on speed, consistency, and team workflows.
+
Use this template β
## Features
-- π Platform-independent development with Dev Containers
-- π§© Host isolation: no local Python/toolchain setup required
-- βοΈ Auto bootstrap on container create (`scripts/setup.sh`)
-- π οΈ Runtime + task management with `mise`
-- β‘ Fast Python workflow with `uv`, `ruff`, `ty`, and `pytest`
-- β
CI quality gates (lint, format, type checks, tests, coverage)
-- π Pre-commit + commit-msg hooks with Conventional Commit support
-- π Dependabot automation for dependencies and GitHub Actions
-- π€ AI-agent-ready guidance via `AGENTS.md` and repo skills
-- π Docs pipeline with `zensical` + GitHub Pages deploy
+- π An Ubuntu [Dev Container](https://containers.dev/) with Python and uv. The [setup script](scripts/setup.sh) installs the rest of the toolchain when the container is created.
+- π οΈ [mise](https://mise.jdx.dev/) manages tools and tasks inside the container or in a local shell. [EditorConfig](https://editorconfig.org/) shares formatting settings across compatible editors.
+- β‘ [uv](https://docs.astral.sh/uv/) initializes your Python project and manages dependencies, [Ruff](https://docs.astral.sh/ruff/) lints and formats Python, and [ty](https://docs.astral.sh/ty/) checks types.
+- π§Ή [Tombi](https://tombi-toml.github.io/tombi/) checks TOML, [rumdl](https://rumdl.dev/) checks Markdown, [Biome](https://biomejs.dev/) checks web files, and [ShellCheck](https://www.shellcheck.net/) checks shell scripts.
+- β
[Prek](https://prek.j178.dev/) runs the configured checks locally and in [GitHub Actions](https://docs.github.com/en/actions), including JSON and YAML validation.
+- π Prek includes Git hooks for staged files and [Commitizen](https://commitizen-tools.github.io/commitizen/) checks commit messages against [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/). [Gitleaks](https://github.com/gitleaks/gitleaks) is available for manual secret scans.
+- π [Dependabot](https://docs.github.com/en/code-security/concepts/supply-chain-security/dependabot-version-updates) is configured for monthly minor and patch updates to GitHub Actions and uv dependencies. A workflow can [auto-merge](https://docs.github.com/en/pull-requests/how-tos/merge-and-close-pull-requests/automatically-merging-a-pull-request) patch updates when repository settings allow it.
+- π A [Zensical](https://zensical.org/docs/get-started/) documentation site to customize. The included workflow can publish docs changes after you configure [GitHub Pages](https://docs.github.com/en/pages) to use GitHub Actions.
+- π€ [GitHub issue forms and a pull request template](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates), plus repository guidance for coding agents in [`AGENTS.md`](AGENTS.md).
-## Quick Start (Dev Container)
+## Quick start
-Prerequisites: Docker + VS Code with the Dev Containers extension.
+1. Select **Use this template** on GitHub and clone the repository you create.
-```bash
-# Clone the template
-git clone https://github.com/HYP3R00T/python-project-template.git
+2. With [Docker](https://docs.docker.com/learn/) running, open your checkout in VS Code with the [Dev Containers extension](https://code.visualstudio.com/docs/devcontainers/containers) and choose **Dev Containers: Reopen in Container**.
-# Enter the project folder
-cd python-project-template
+3. Once the container is ready, initialize the Python project from your new repositoryβs root.
-# Open in VS Code
-code .
-```
+ ```bash
+ uv init
+ ```
-Then run: `Dev Containers: Reopen in Container` from the VS Code Command Palette.
+From there, choose your package layout, dependencies, and test suite. The [setup guide](https://python-template.hyperoot.dev/get-started/development-environment/) covers both the Dev Container and local development. The [testing guide](https://python-template.hyperoot.dev/how-to/add-tests/) shows how to add and run tests.
diff --git a/biome.json b/biome.json
new file mode 100644
index 0000000..ec94eb1
--- /dev/null
+++ b/biome.json
@@ -0,0 +1,22 @@
+{
+ "$schema": "https://biomejs.dev/schemas/2.6.9/schema.json",
+ "files": {
+ "includes": ["**", "!**/*.md", "!**/*.mdx", "!**/*.yaml", "!**/*.yml"]
+ },
+ "vcs": {
+ "enabled": true,
+ "clientKind": "git",
+ "useIgnoreFile": true
+ },
+ "formatter": {
+ "useEditorconfig": true,
+ "lineWidth": 120
+ },
+ "linter": {
+ "rules": { "preset": "recommended" }
+ },
+ "html": {
+ "experimentalFullSupportEnabled": true,
+ "formatter": { "enabled": true }
+ }
+}
diff --git a/docs/designs/SITEMAP.md b/docs/designs/SITEMAP.md
new file mode 100644
index 0000000..5de9b20
--- /dev/null
+++ b/docs/designs/SITEMAP.md
@@ -0,0 +1,16 @@
+# Feature designs
+
+No feature designs are registered yet.
+
+## Example entry
+
+```markdown
+## [Example feature](example-feature.md)
+
+- **Date** β YYYY-MM-DD
+- **Author** β Example contributor
+- **Components** β Example component
+- **Summary** β Describe the behavior covered by the design.
+- **Review status** β Draft
+- **Implementation state** β Not started
+```
diff --git a/docs/dev/contributing/authoring-documentation.md b/docs/dev/contributing/authoring-documentation.md
deleted file mode 100644
index 820dde3..0000000
--- a/docs/dev/contributing/authoring-documentation.md
+++ /dev/null
@@ -1,99 +0,0 @@
-# Authoring Documentation
-
-Write effective documentation using Markdown and Zensical features. Follow [Documentation Principles](documentation-principles/index.md) for consistency.
-
-## Current Docs Layout
-
-The repository maintains docs under `docs/` and `docs/dev/`.
-
-- `docs/index.md` - Documentation home
-- `docs/dev/contributing/authoring-documentation.md` - Authoring guidance
-- `docs/dev/setup/index.md` - Developer setup
-- `docs/dev/contributing/naming-conventions.md` - Naming conventions for code identifiers
-- `docs/dev/contributing/documentation-principles/` - Standards and rules
-
-## Markdown Essentials
-
-**File structure:**
-
-- One H1 per file (page title)
-- H2 for sections, H3 for subsections (don't go deeper)
-- Fenced code blocks with language identifiers
-
-**Links & References:**
-
-| Type | Format | Use When |
-|------|--------|----------|
-| Internal docs | `[Link Text](path/to/file.md)` | Linking to other docs |
-| Source code | Full GitHub link to the target file | Referencing code in passing |
-| External | `[Link Text](https://url.com)` | Third-party resources |
-
-For complete Markdown syntax, see [Zensical Reference](https://zensical.org/docs/authoring/markdown/).
-
-## Admonitions (Callouts)
-
-Use `???+` for collapsible blocks (expanded by default):
-
-```markdown
-???+ note "Optional Title"
- Block content here.
-```
-
-**Core types**: `note`, `tip`, `info`, `warning`, `danger`, `question`, `success`
-
-**When to use:**
-
-- Use for prerequisites, warnings, best practices, and status labels
-- Avoid for regular content, minor points, and replacing structure
-
-Example:
-
-```markdown
-???+ warning "Destructive Action"
- This will delete data permanently.
-```
-
-For advanced admonitions, see [Zensical Guide](https://zensical.org/docs/authoring/admonitions/).
-
-## Tables
-
-Use for structured data. Keep simple (3-5 columns ideal):
-
-```markdown
-| Column A | Column B | Column C |
-|----------|----------|----------|
-| Data 1 | Data 2 | Data 3 |
-```
-
-## Style Guidelines
-
-| Guideline | Good | Avoid |
-|-----------|---------|---------|
-| **Voice** | Direct, active: "Run this command" | Passive: "Command should be run" |
-| **Clarity** | Define acronyms once | Use undefined abbreviations |
-| **Code examples** | Show context: `cd docs` then run command | Isolated commands without setup |
-| **Consistency** | Use same terms throughout | Mix terminology |
-| **Characters** | Prefer keyboard-friendly punctuation for consistency; use em dashes (β), emojis, and other non-QWERTY symbols sparingly | Overusing decorative symbols or mixing punctuation styles without purpose |
-
-## Before Committing
-
-```bash
-mise run docs
-```
-
-Verify:
-
-- Broken links
-- Formatting correct
-- Code blocks render
-- Admonitions display
-- Tables aligned
-- No encoding artifacts (for example, replacement characters like `οΏ½`)
-- Follows documentation principles
-- Matches current code (no fiction)
-
-## See Also
-
-- [Documentation Principles](documentation-principles/index.md) - Core standards
-- [Zensical Markdown](https://zensical.org/docs/authoring/markdown/) - Full syntax reference
-- [Zensical Admonitions](https://zensical.org/docs/authoring/admonitions/) - Advanced callouts
diff --git a/docs/dev/contributing/documentation-principles/index.md b/docs/dev/contributing/documentation-principles/index.md
deleted file mode 100644
index 3386eb0..0000000
--- a/docs/dev/contributing/documentation-principles/index.md
+++ /dev/null
@@ -1,17 +0,0 @@
-# Documentation Principles
-
-These principles keep docs accurate, minimal, and maintainable.
-
-## Principles
-
-- [Docs describe what exists](principle-1-no-fiction.md) - Document only current main state.
-- [One document, one purpose](principle-2-single-responsibility.md) - One audience and one question per file.
-- [Scale by folders](principle-3-scale-by-folders.md) - Promote long docs to folders.
-- [Link to code properly](principle-4-link-to-code.md) - Use permalinks for non-doc files.
-- [Format and consistency](principle-5-format-style.md) - Avoid low-signal formatting.
-- [Structure uniformity](principle-6-structure-uniformity.md) - Keep naming and layout consistent.
-
-## Scope
-
-- Applies to all files in `docs/`.
-- Rare exceptions must be explicit and explained in the document.
diff --git a/docs/dev/contributing/documentation-principles/principle-1-no-fiction.md b/docs/dev/contributing/documentation-principles/principle-1-no-fiction.md
deleted file mode 100644
index d344611..0000000
--- a/docs/dev/contributing/documentation-principles/principle-1-no-fiction.md
+++ /dev/null
@@ -1,12 +0,0 @@
-# Principle 1: Docs describe what exists
-
-Document only the current state of `main`. Do not describe planned or in-progress work.
-
-???+ note "Live documentation"
- Code changes and docs ship together in every PR.
-
-## Core Rules
-
-- Keep facts in `docs/`. Speculation, roadmaps, and ideas belong outside the repo.
-- Do not write docs for a feature until the feature PR is ready to merge.
-- Update docs whenever code changes in the same PR.
diff --git a/docs/dev/contributing/documentation-principles/principle-2-single-responsibility.md b/docs/dev/contributing/documentation-principles/principle-2-single-responsibility.md
deleted file mode 100644
index e4b8974..0000000
--- a/docs/dev/contributing/documentation-principles/principle-2-single-responsibility.md
+++ /dev/null
@@ -1,16 +0,0 @@
-# Principle 2: One document, one purpose
-
-Each document answers one question and addresses one audience. If your title needs "and", split it.
-
-## Signs Your Document Needs Splitting
-
-- Title contains "and" (example: "Deployment and Monitoring")
-- Document covers multiple audiences or use cases
-- File feels overwhelming to read in one sitting
-- Logical sections could stand alone as separate topics
-
-## Example
-
-Bad: `DevOps-Guide.md` (too broad, many audience types)
-
-Good: `how-to-deploy.md`, `how-to-rollback.md`, `monitoring-architecture.md`
diff --git a/docs/dev/contributing/documentation-principles/principle-3-scale-by-folders.md b/docs/dev/contributing/documentation-principles/principle-3-scale-by-folders.md
deleted file mode 100644
index 9ee724c..0000000
--- a/docs/dev/contributing/documentation-principles/principle-3-scale-by-folders.md
+++ /dev/null
@@ -1,18 +0,0 @@
-# Principle 3: Docs scale by folders, not file length
-
-When a file exceeds 3 to 4 logical sections, promote it to a folder. This allows independent evolution without merge conflicts.
-
-## When to Promote a File to a Folder
-
-- File has more than 3 to 4 distinct logical sections
-- File requires a table of contents to navigate
-- Multiple parts could evolve at different rates
-
-## Example Transformation
-
-`gitops.md` becomes too long. Create folder `gitops/` with focused documents:
-
-- `overview.md` - High-level introduction
-- `reconciliation.md` - Reconciliation process
-- `secrets.md` - Secret management
-- `index.md` - Navigation hub
diff --git a/docs/dev/contributing/documentation-principles/principle-4-link-to-code.md b/docs/dev/contributing/documentation-principles/principle-4-link-to-code.md
deleted file mode 100644
index 1bbb5f3..0000000
--- a/docs/dev/contributing/documentation-principles/principle-4-link-to-code.md
+++ /dev/null
@@ -1,39 +0,0 @@
-# Principle 4: Link to code properly
-
-Never duplicate large code blocks. Link to the source instead. Code changes frequently; docs do not.
-
-## Linking to Documentation Files
-
-Use relative paths within the `docs/` folder.
-
-**DO:**
-
-- `[Documentation Principles](index.md)`
-- `[Authoring Guide](../../dev/authoring-documentation.md)`
-
-**DON'T:**
-
-- Relative paths to code outside docs: `[config](../../pyproject.toml)`
-- Broken anchor attempts to non-doc files
-
-## Linking to Code and Non-Documentation Files
-
-Use full GitHub permalinks. Static documentation sites cannot resolve relative paths outside `docs/`.
-
-**DO:**
-
-- `https://github.com/HYP3R00T/python-project-template/blob/main/pyproject.toml`
-- `https://github.com/HYP3R00T/python-project-template/blob/main/zensical.toml`
-
-**DON'T:**
-
-- Relative paths: `[setup.sh](../../scripts/setup.sh)`
-- Links without protocol or host: `blob/main/file.py`
-
-## Referencing Git History and Decisions
-
-When writing "Thinking" or "Journey" docs, link to specific commit SHAs.
-
-**DO:**
-
-- "In [commit a1b2c3d](https://github.com/HYP3R00T/python-project-template/commit/a1b2c3d), we updated the test coverage threshold to keep CI quality gates clear"
diff --git a/docs/dev/contributing/documentation-principles/principle-5-format-style.md b/docs/dev/contributing/documentation-principles/principle-5-format-style.md
deleted file mode 100644
index 92a3de7..0000000
--- a/docs/dev/contributing/documentation-principles/principle-5-format-style.md
+++ /dev/null
@@ -1,92 +0,0 @@
-# Principle 5: Format, style, and consistency
-
-Avoid patterns that undermine readability or signal poor authorship. These standards keep documentation clean and professional.
-
-## Punctuation and Em Dashes
-
-Use punctuation intentionally. Em dashes are allowed, but use them sparingly and consistently within a document.
-
-Prefer keyboard characters when they communicate just as clearly.
-
-**DON'T:**
-
-- Overuse em dashes in every paragraph
-- Mix many punctuation styles for the same purpose
-
-**DO:**
-
-- "Configuration (provided in the setup file) is required"
-- "Configuration - provided in the setup file - is required"
-- "Configurationβprovided in the setup fileβis required" (when your team prefers em dashes and uses them consistently)
-
-## Directional Arrows and Symbols
-
-Symbols are allowed in moderation. For most technical docs, prefer plain prose, lists, and keyboard-available characters.
-
-**DON'T:**
-
-- Decorate steps with many special symbols
-- Use symbol-heavy notation when plain text is clearer
-
-**DO:**
-
-- Use numbered lists for sequences
-- Use simple punctuation and plain labels
-
-## ASCII Art and Box Diagrams
-
-Plain prose and numbered lists are clearer and maintainable.
-
-**DON'T:**
-
-- Box drawings or ASCII flow diagrams
-
-**DO:**
-
-- Prose descriptions and numbered lists
-
-## Emoji Usage
-
-Professional documents should use little to no emoji. If used, keep emoji rare and never rely on them for meaning.
-
-**DON'T:**
-
-```text
-β
Done
-β Not done
-```
-
-**DO:**
-
-```text
-Done
-Not done
-```
-
-## Unicode Escape Sequences in Prose
-
-Escape sequences appear as literal text in many systems and are not accessible.
-
-**DON'T:**
-
-- Use "\u274c" or "\u2705" in documentation text
-
-**DO:**
-
-- Use plain text labels: "(DO)", "(DON'T)", "(GOOD)", "(AVOID)"
-
-## Code Block Language Specifiers
-
-All code blocks require language tags for syntax highlighting and clarity.
-
-**DON'T:**
-
-```text
-kubectl apply -f deployment.yaml
-```
-
-**DO:**
-
-```shell
-kubectl apply -f deployment.yaml
-```
diff --git a/docs/dev/contributing/documentation-principles/principle-6-structure-uniformity.md b/docs/dev/contributing/documentation-principles/principle-6-structure-uniformity.md
deleted file mode 100644
index d3d7d35..0000000
--- a/docs/dev/contributing/documentation-principles/principle-6-structure-uniformity.md
+++ /dev/null
@@ -1,50 +0,0 @@
-# Principle 6: Documentation structure uniformity
-
-Consistency in structure helps readers navigate confidently and maintainers scale without confusion.
-
-## File Naming
-
-Use lowercase with hyphens only.
-
-**DO:**
-
-- `layer-1-docker.md`
-- `bump-api.md`
-- `environment-variables-guide.md`
-
-**DON'T:**
-
-- `Layer1Docker.md`
-- `BumpApi.md`
-- `Environment_Variables.md`
-
-## Folder Structure
-
-Every folder with 2 or more docs needs an `index.md` as a navigation hub. Single-document folders should flatten to the parent directory.
-
-`index.md` should:
-
-- List all documents in the folder with one-line descriptions
-- Be the entry point for readers discovering the folder
-- Use consistent naming (`index.md`, not `README.md`)
-
-## Document Structure
-
-Every document must:
-
-- Start with `# Title` matching the navigation label in `zensical.toml`
-- Begin with a sentence establishing context and relationship to the system
-- Use standard sections in this order:
- 1. Purpose or Overview
- 2. How It Works
- 3. Steps or Configuration
- 4. Key Concepts
- 5. Examples (optional)
- 6. Permissions or Requirements
- 7. Next Steps or Related Documents
-
-## Documentation Location
-
-All documentation belongs in `docs/` following its existing folder structure.
-
-Use folders that actually exist in the repository, and only introduce new top-level domains when content growth requires them.
diff --git a/docs/dev/contributing/index.md b/docs/dev/contributing/index.md
deleted file mode 100644
index 55ff146..0000000
--- a/docs/dev/contributing/index.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# Contributing
-
-Standards and guides for contributors working in this repository.
-
-## Documents in This Section
-
-- [Naming conventions](naming-conventions.md) - File, symbol, and folder naming rules.
-- [Authoring documentation](authoring-documentation.md) - How to write and structure docs.
-- [Documentation principles](documentation-principles/index.md) - The six principles all docs must follow.
diff --git a/docs/dev/contributing/naming-conventions.md b/docs/dev/contributing/naming-conventions.md
deleted file mode 100644
index fac919b..0000000
--- a/docs/dev/contributing/naming-conventions.md
+++ /dev/null
@@ -1,147 +0,0 @@
-# Naming Conventions
-
-This document defines naming conventions for all Python identifiers in this repository.
-All conventions follow standard Python style (PEP 8) with project-specific rules layered on top.
-
-## Packages
-
-Use lowercase with hyphens for distribution names in `pyproject.toml`.
-Use clear nouns that describe purpose.
-
-(GOOD)
-
-- `python-project-template` - repository package name
-- `python-project-template-utils` - optional helper package
-- `python-project-template-cli` - optional CLI package
-
-(AVOID)
-
-- `core` - too generic
-- `python_project_template` - underscores are for import/module names, not distribution names
-- `PythonProjectTemplate` - wrong case
-
-Note: the Python import name (the `src/` folder) uses underscores as required by Python
-(e.g. `python_project_template`), but the installable package name in `pyproject.toml`
-uses hyphens (e.g. `python-project-template`).
-
-## Modules (Files)
-
-Use lowercase with underscores. Names must be gerunds or nouns that describe what the module does, not what it contains.
-
-(GOOD)
-
-- `compositing.py` - performs compositing operations
-- `engine.py` - runs model inference
-- `model_transformer.py` - defines the transformer model
-
-(AVOID)
-
-- `utils.py` - too generic, says nothing about purpose
-- `helpers.py` - same problem
-- `ColorUtils.py` - wrong case
-
-## Classes
-
-Use `PascalCase`. Names must be nouns that describe what the class represents.
-
-(GOOD)
-
-- `ProjectConfig`
-- `DocsBuilder`
-- `CommandRunner`
-
-(AVOID)
-
-- `corridorKeyEngine` - wrong case
-- `ProcessFrames` - verb, not a noun
-- `Mgr` - abbreviations that obscure meaning
-
-## Functions and Methods
-
-Use `snake_case`. Public functions must be verbs or verb phrases that describe what the function does.
-Private functions (prefixed with `_`) follow the same rule.
-
-(GOOD)
-
-- `process_frame`
-- `linear_to_srgb`
-- `clean_matte`
-- `_load_model`
-
-(AVOID)
-
-- `processFrame` - wrong case
-- `frame` - not a verb
-- `do_stuff` - not descriptive
-
-## Constants
-
-Use `UPPER_SNAKE_CASE`. Module-private constants are prefixed with `_`.
-Each constant must have a comment on the line above it explaining what it represents.
-
-(GOOD)
-
-```python
-# Slope of the linear segment
-_SRGB_LINEAR_SCALE = 12.92
-```
-
-(AVOID)
-
-```python
-_SRGB_LINEAR_SCALE = 12.92 # inline comment
-LINEAR_SCALE = 12.92 # missing private prefix for module-internal constants
-scale = 12.92 # wrong case, not descriptive
-```
-
-## Variables
-
-Use `snake_case`. Names must be descriptive nouns. Single-letter names are only acceptable as loop indices or in mathematical expressions that mirror a well-known formula.
-
-(GOOD)
-
-- `processed_alpha`
-- `fg_despilled_lin`
-- `checkpoint_path`
-
-(AVOID)
-
-- `processedAlpha` - wrong case
-- `pa` - abbreviation that obscures meaning
-- `temp` - not descriptive
-
-## Parameters
-
-Use `snake_case`. Follow the same rules as variables. Boolean parameters must be phrased as `is_`, `use_`, `has_`, or `auto_` prefixes.
-
-(GOOD)
-
-- `input_is_linear`
-- `use_refiner`
-- `auto_despeckle`
-
-(AVOID)
-
-- `linear` - ambiguous, not clearly boolean
-- `refiner` - reads as a noun, not a flag
-
-## Type Aliases
-
-Use `PascalCase` when defining a named type alias.
-
-(GOOD)
-
-```python
-ImageArray = np.ndarray
-```
-
-(AVOID)
-
-```python
-image_array = np.ndarray # looks like a variable
-```
-
-## Related
-
-- [Documentation Principles](documentation-principles/index.md)
-- [Authoring Documentation](authoring-documentation.md)
diff --git a/docs/dev/index.md b/docs/dev/index.md
deleted file mode 100644
index a6a2a5a..0000000
--- a/docs/dev/index.md
+++ /dev/null
@@ -1,11 +0,0 @@
-# Developer Docs
-
-Everything needed to contribute to and maintain this Python template repository.
-
-## Documents in This Section
-
-- [Setup](setup/index.md) - Local environment, dependencies, and hooks.
-- [Template Setup](setup/from-template.md) - Create your own repository from this template and get started.
-- [Resources](resources.md) - Official links for tools, standards, and references used here.
-- [Testing](testing/index.md) - How to run tests and add new test suites.
-- [Contributing](contributing/index.md) - Naming conventions and documentation standards.
diff --git a/docs/dev/resources.md b/docs/dev/resources.md
deleted file mode 100644
index 3eb390a..0000000
--- a/docs/dev/resources.md
+++ /dev/null
@@ -1,255 +0,0 @@
-# Developer Resources
-
-Reference links for the tools and standards used in this repository.
-
-Use this page as a starting point when you need official docs, best practices, or setup
-guidance. The sections are ordered by **scope of responsibility** β from the widest
-(project-level governance) to the most specific (AI augmentation). A new contributor
-should be able to read this top-to-bottom and understand not just *what* the tools are,
-but *why they exist and where they fit*.
-
-## Open Source Governance
-
-Defines how humans interact with the project β before any code is written or any tool
-is installed. These documents establish the social contract, contribution rules, and
-legal standing of the project.
-
-**Purpose:** Legitimacy, contribution clarity, and compliance.
-
-- **License:**
- Project license terms and usage permissions.
- - [choosealicense.com](https://choosealicense.com/)
-
-- **Contributing Guide:**
- Contributor workflow, expectations, and process guidance.
- - CONTRIBUTING.md (in repo root)
-
-- **Code of Conduct:**
- Community behavior and collaboration standards.
- - [contributor-covenant.org](https://www.contributor-covenant.org/)
-
-- **Security Policy:**
- Vulnerability reporting and security handling policy.
- - SECURITY.md (in repo root)
-
-> **Heuristic:** If someone needs to decide whether to *use or contribute to* this project, they read this section first.
-
-## Repository Conventions
-
-Language-agnostic rules that every file, editor, and collaborator must follow. These
-are configuration files checked into the repository β a contributor can read and follow
-them without running anything.
-
-**Purpose:** Consistency across editors, operating systems, and contributors.
-
-- **Git Ignore:**
- Rules for excluding local or generated files from Git tracking.
- - [git-scm.com/docs/gitignore](https://git-scm.com/docs/gitignore)
- - [github/gitignore templates](https://github.com/github/gitignore)
-
-- **Git Attributes:**
- File handling rules for diff, merge, and line-ending behavior.
- - [git-scm.com/docs/gitattributes](https://git-scm.com/docs/gitattributes)
- - [gitattributes/gitattributes](https://github.com/gitattributes/gitattributes)
-
-- **EditorConfig:**
- Cross-editor formatting and whitespace consistency.
- - [editorconfig.org](https://editorconfig.org)
-
-- **CommonMark:**
- Markdown syntax specification reference.
- - [commonmark.org](https://commonmark.org)
-
-> **Heuristic:** If you switched from Python to Go tomorrow, these conventions would still apply unchanged.
-
-## Development Environment
-
-How you get a working machine, regardless of language. These are infrastructure-level
-tools that exist before any language runtime is considered.
-
-**Purpose:** Reproducible, portable development environments for every contributor.
-
-- **Docker:**
- Container runtime used by development environments.
- - [docker.com](https://www.docker.com)
-
-- **Dev Containers:**
- Reproducible development environments for this project.
- - [containers.dev](https://containers.dev)
-
-- **mise (toolchain manager):**
- Toolchain/version manager and task runner for local development.
- - [mise.jdx.dev](https://mise.jdx.dev)
-
-> **Heuristic:** These tools run before your language is even selected. They are infrastructure, not runtime.
-
-## Language and Runtime
-
-Everything tied to a specific language β how code runs, how dependencies are managed,
-and how the environment is isolated. Subsectioned by language so this scales cleanly
-when new runtimes are added.
-
-**Purpose:** Define how code runs and how the language environment is managed.
-
-> **Heuristic:** If you removed this language from the project, the entire section disappears with it.
-
-### Python
-
-- **Python:**
- Core language runtime and standard library reference.
- - [docs.python.org](https://docs.python.org/3)
-
-- **uv (dependency and env management):**
- Dependency management and virtual environment workflow.
- - [docs.astral.sh/uv](https://docs.astral.sh/uv)
-
-## Code Quality
-
-Everything that enforces correctness β statically (before running) and dynamically
-(at runtime via tests). Split into two sub-concerns: static analysis and test coverage.
-
-**Purpose:** Ensure the codebase behaves correctly and meets defined standards.
-
-### Static Analysis
-
-Catches errors, style violations, and type inconsistencies without running the code.
-
-- **Ruff (linting and formatting):**
- Python linting and formatting checks.
- - [docs.astral.sh/ruff](https://docs.astral.sh/ruff)
-
-- **ty (type checker):**
- Static type checking for Python code.
- - [github.com/astral-sh/ty](https://github.com/astral-sh/ty)
-
-- **ShellCheck (shell script linting):**
- Static analysis for shell scripts.
- - [www.shellcheck.net](https://www.shellcheck.net)
-
-- **Rumdl (Markdown linting):**
- Markdown linting and style checks.
- - [rumdl.dev](https://rumdl.dev/)
-
-### Testing
-
-Validates that the system behaves as expected at runtime.
-
-- **pytest:**
- Test runner and assertion framework.
- - [docs.pytest.org](https://docs.pytest.org)
-
-- **pytest-cov:**
- Coverage reporting integration for pytest.
- - [pytest-cov.readthedocs.io](https://pytest-cov.readthedocs.io)
-
-> **Heuristic:** Static analysis catches *incorrect code*. Tests catch *incorrect behavior*. Keep them conceptually separate even when they share a CI step.
-
-## Commit Workflow
-
-What happens between `git add` and `git push`. These are executable tools β distinct
-from the configuration files in Repository Conventions β and are the most common source
-of contributor friction when not documented clearly.
-
-**Purpose:** Ensure all changes are consistent, reviewable, and policy-compliant before
-entering the codebase.
-
-- **pre-commit (hook framework):**
- Framework for running checks in Git hooks.
- - [pre-commit.com](https://pre-commit.com)
-
-- **prek (hook installer/runner):**
- Hook installer and runner used by this template.
- - [prek.j178.dev](https://prek.j178.dev/)
-
-- **Commitizen (commit message standards):**
- Conventional commit message tooling.
- - [commitizen-tools.github.io/commitizen](https://commitizen-tools.github.io/commitizen)
-
-- **Gitleaks (secret scanning):**
- Detects accidental secret exposure in commits.
- - [gitleaks.io](https://gitleaks.io)
-
-> **Heuristic:** If a tool runs automatically on `git commit`, it belongs here β not in CI/CD.
-
-## CI/CD and Automation
-
-The execution layer that turns local rules into automated, repeatable pipelines. These
-tools run *after* the commit leaves your machine.
-
-**Purpose:** Automate quality checks, builds, releases, and deployments consistently
-across environments.
-
-- **GitHub Actions:**
- CI/CD workflow platform used in this repository.
- - [docs.github.com/actions](https://docs.github.com/actions)
-
-- **checkout action:**
- Checks out repository code in workflow jobs.
- - [github.com/actions/checkout](https://github.com/actions/checkout)
-
-- **setup-uv action:**
- Installs uv in GitHub Actions workflows.
- - [github.com/astral-sh/setup-uv](https://github.com/astral-sh/setup-uv)
-
-- **configure-pages action:**
- Configures GitHub Pages deployment environment.
- - [github.com/actions/configure-pages](https://github.com/actions/configure-pages)
-
-- **deploy-pages action:**
- Deploys built docs/site artifacts to GitHub Pages.
- - [github.com/actions/deploy-pages](https://github.com/actions/deploy-pages)
-
-- **upload-pages-artifact action:**
- Uploads build artifacts for Pages deployment.
- - [github.com/actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact)
-
-> **Heuristic:** If it runs in a pipeline triggered by a push or PR, it belongs here.
-
-## Documentation
-
-How the project explains itself β how knowledge is written, structured, and published
-for contributors and users.
-
-**Purpose:** Make the project understandable and teachable, both now and as it grows.
-
-- **Zensical (docs site generation):**
- Static documentation site generator used by this repository.
- - [zensical.org/docs](https://zensical.org/docs)
-
-> **Future additions:** Architecture Decision Records (ADRs), design docs, API references.
-
-## AI and Agent Ecosystem
-
-A first-class layer for tools that augment development with machine intelligence.
-This project follows an **agent-agnostic, standards-first** approach so workflows can
-work across different assistants and platforms over time.
-
-**Purpose:** Augment development workflows with AI assistance and programmable agent
-capabilities.
-
-> **Heuristic:** Prefer open standards first, then vendor-specific implementations.
-
-### Core Standards
-
-These standards define interoperability and reusable behavior across tooling.
-
-- **Agents.md:**
- Agent behavior and repository interaction conventions.
- - [agents.md](https://agents.md/)
-
-- **AgentSkills:**
- Reusable, composable skill definitions for agents.
- - [agentskills.io/home](https://agentskills.io/home)
-
-- **Model Context Protocol (MCP):**
- Open protocol for tool and context interoperability.
- - [modelcontextprotocol.io](https://modelcontextprotocol.io)
-
-## Keeping This Current
-
-- Add a tool as soon as it appears in a project config or workflow.
-- Remove tools that are no longer active β stale links erode trust.
-- Prefer official documentation over blog posts or tutorials.
-- Keep descriptions short and practical β link to the details, don't duplicate them.
-- If a language is added, create a new subsection under **Language and Runtime**
- before adding anything else.
diff --git a/docs/dev/setup/from-template.md b/docs/dev/setup/from-template.md
deleted file mode 100644
index 3c51d05..0000000
--- a/docs/dev/setup/from-template.md
+++ /dev/null
@@ -1,102 +0,0 @@
-# Create a New Repository from This Template
-
-This guide explains how to create your own repository from this template and complete first-time bootstrap.
-
-## Prerequisites
-
-- GitHub account with permission to create repositories
-- Git installed locally
-- [Docker](https://docker.com/) installed and running
-- [Visual Studio Code](https://code.visualstudio.com)
-- [VS Code Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
-- [Mise](https://mise.jdx.dev/)
-- [uv](https://docs.astral.sh/uv/)
-
-## Create Your Repository
-
-1. Open the template repository on GitHub.
-2. Select **Use this template**.
-3. Choose an owner and repository name.
-4. Select visibility (public or private).
-5. Create the repository.
-
-## Clone and Enter the Project
-
-```bash
-git clone https://github.com/YOUR_USERNAME/YOUR_REPOSITORY.git
-cd YOUR_REPOSITORY
-```
-
-## Recommended: Open in Dev Container
-
-1. Open the repository in VS Code:
-
-```bash
-code .
-```
-
-1. When prompted, select **Reopen in Container**.
-2. If no prompt appears, run the command palette action:
- **Dev Containers: Reopen in Container**.
-3. Wait for container setup to complete.
-
-The dev container runs project setup automatically and provides a consistent toolchain.
-
-## Alternative: Local Setup (without Dev Container)
-
-If you are not using the dev container workflow, set up dependencies locally:
-
-```bash
-mise install
-uv sync
-```
-
-Activate the virtual environment:
-
-=== "Linux/MacOS"
-
- ```sh
- source ./.venv/bin/activate
- ```
-
-=== "Windows"
-
- ```sh
- .venv/Scripts/Activate.ps1
- ```
-
-## Install Git Hooks
-
-```bash
-prek install --hook-type pre-commit --overwrite
-prek install --hook-type commit-msg --overwrite
-```
-
-## First Project Customization Checklist
-
-- Update project metadata in `pyproject.toml`.
-- Update docs metadata in `zensical.toml`:
- - `site_name`
- - `site_description`
- - `repo_name`
- - `repo_url`
- - `site_author`
-- Replace placeholder content in `README.md`.
-- Review `docs/` and remove or adapt pages that do not apply.
-
-## Verify Your Setup
-
-Run the baseline checks once after bootstrap:
-
-```bash
-uv run ruff check
-uv run ruff format --check
-uv run ty check
-uv run pytest --cov --cov-report=term-missing --cov-fail-under=80
-uv run zensical build --clean
-```
-
-## Next Steps
-
-- Continue with [Developer Setup](index.md) for day-to-day development workflows.
-- Review [Resources](../resources.md) for official tool and standards links.
diff --git a/docs/dev/setup/index.md b/docs/dev/setup/index.md
deleted file mode 100644
index 1dd66ea..0000000
--- a/docs/dev/setup/index.md
+++ /dev/null
@@ -1,59 +0,0 @@
-# Developer Setup
-
-This page documents the day-to-day development workflow for contributors who are already working in a repository created from this template.
-
-The primary path is **Dev Container-first** for consistent environments across contributors.
-
-## Prerequisites
-
-- [Git](https://git-scm.com/)
-- [Docker](https://www.docker.com/)
-- [Visual Studio Code](https://code.visualstudio.com/)
-- [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers)
-
-## Recommended Setup (Dev Container)
-
-1. Open the repository folder in VS Code.
-2. Select **Reopen in Container** when prompted.
-3. If no prompt appears, run **Dev Containers: Reopen in Container** from Command Palette.
-4. Wait for container setup to finish.
-
-`scripts/setup.sh` runs during container creation, so the environment and dependencies are prepared automatically.
-
-## Pre-commit Hooks
-
-Hooks are typically installed by setup automation. If needed, re-install manually:
-
-```bash
-prek install --hook-type pre-commit --overwrite
-prek install --hook-type commit-msg --overwrite
-```
-
-???+ tip "Warm up hooks"
- Run `prek run --all-files` after hook installation. This preloads environments and avoids first-commit surprises.
-
-## Daily Commands
-
-Use these commands from the repository root:
-
-```bash
-uv run ruff check
-uv run ruff format --check
-uv run ty check
-uv run pytest --cov --cov-report=term-missing --cov-fail-under=80
-uv run zensical build --clean
-```
-
-## Optional: Local Setup Without Dev Container
-
-If you are not using Dev Containers, use the fallback local setup path in [Create a New Repository from This Template](from-template.md).
-
-For local tooling details, see [Resources](../resources.md).
-
-## Related
-
-- [Create a New Repository from This Template](from-template.md)
-- [Resources](../resources.md)
-- [Authoring Documentation](../contributing/authoring-documentation.md)
-- [Naming Conventions](../contributing/naming-conventions.md)
-- [Documentation Principles](../contributing/documentation-principles/index.md)
diff --git a/docs/dev/testing/index.md b/docs/dev/testing/index.md
deleted file mode 100644
index 3d125fa..0000000
--- a/docs/dev/testing/index.md
+++ /dev/null
@@ -1,47 +0,0 @@
-# Testing
-
-This section documents how tests are structured, written, and run in this repository.
-The template is intentionally minimal: no committed test suite exists yet, but the
-tooling is configured and ready.
-
-## Test Types
-
-| Type | Purpose | Runs in CI |
-|---|---|---|
-| [Unit](unit-tests.md) | Test a single function or class in isolation | Yes |
-| [Integration](integration-tests.md) | Test multiple components together | Optional |
-| [Property-based](property-tests.md) | Verify invariants across many generated inputs | Optional |
-| [Optional markers](optional-markers.md) | Tests that are slow or depend on optional local setup | Optional |
-
-## Running Tests
-
-Run tests from the repository root.
-
-| Command | What it runs |
-|---|---|
-| `uv run pytest --cov --cov-report=term-missing --cov-fail-under=80` | Full test run with coverage gate used by CI |
-
-## File Layout
-
-When tests are added, use a standard `tests/` layout:
-
-```text
-tests/
- conftest.py
- unit/
- test_example.py
- integration/
- test_example_flow.py
- property/
- test_example_properties.py
-```
-
-Keep tests small, deterministic, and independent of network access by default.
-
-## Related
-
-- [Unit Tests](unit-tests.md)
-- [Integration Tests](integration-tests.md)
-- [Property-Based Tests](property-tests.md)
-- [Optional Test Markers](optional-markers.md)
-- [Developer Setup](../setup/index.md)
diff --git a/docs/dev/testing/integration-tests.md b/docs/dev/testing/integration-tests.md
deleted file mode 100644
index 80d3f8c..0000000
--- a/docs/dev/testing/integration-tests.md
+++ /dev/null
@@ -1,66 +0,0 @@
-# Integration Tests
-
-Integration tests verify that multiple components work correctly together with
-realistic inputs and minimal mocking.
-
-## Status
-
-Integration tests are not currently committed in this template. This page defines
-how to add them when your project grows.
-
-## What Integration Tests Should Cover
-
-- Interaction between parser, validation, and execution layers
-- I/O boundaries (filesystem, CLI, serialization formats)
-- End-to-end behavior for a user-level workflow
-
-## When to Write an Integration Test
-
-Write an integration test when:
-
-- A change spans multiple modules and cannot be trusted from unit tests alone
-- A regression happened at component boundaries
-- You need confidence in a real workflow, not just a pure function
-
-Do not write integration tests for logic that can be covered by unit tests. If you can test it with a synthetic tensor, do that instead.
-
-## Markers
-
-If integration tests become slow or require special local setup, use markers and
-document them in `tests/conftest.py` and [Optional Test Markers](optional-markers.md).
-
-## Intended Structure
-
-```python
-# tests/integration/test_cli_flow.py
-
-
-@pytest.fixture(scope="module")
-def sample_project(tmp_path_factory):
- root = tmp_path_factory.mktemp("project")
- (root / "input.txt").write_text("hello\n")
- return root
-
-
-def test_cli_generates_output(sample_project):
- result = run_cli(sample_project)
- assert result.exit_code == 0
- assert (sample_project / "output.txt").is_file()
-```
-
-Use module-scoped fixtures when setup is expensive but deterministic.
-
-## Checkpoint Path
-
-Run integration tests with the regular test command unless you introduce separate
-markers or split commands.
-
-```shell
-uv run pytest --cov --cov-report=term-missing --cov-fail-under=80
-```
-
-## Related
-
-- [Testing Overview](index.md)
-- [Optional Test Markers](optional-markers.md)
-- [Unit Tests](unit-tests.md)
diff --git a/docs/dev/testing/optional-markers.md b/docs/dev/testing/optional-markers.md
deleted file mode 100644
index 9fc1537..0000000
--- a/docs/dev/testing/optional-markers.md
+++ /dev/null
@@ -1,62 +0,0 @@
-# Optional Test Markers
-
-Some tests are slower or require extra local setup. Use optional markers so the
-default test run stays fast and reliable.
-
-## Markers
-
-| Marker | Purpose | How to run |
-|---|---|---|
-| `slow` | Longer-running scenarios | `uv run pytest -m slow` |
-| `external` | Depends on optional external service setup | `uv run pytest -m external` |
-
-Unmarked tests should pass in a normal local and CI environment.
-
-## Marker Configuration
-
-Register markers in `pyproject.toml` under pytest options.
-
-```toml
-[tool.pytest.ini_options]
-markers = [
- "slow: long-running tests",
- "external: tests requiring optional external setup",
-]
-```
-
-## Applying a Marker
-
-Apply markers at class or function scope.
-
-```python
-import pytest
-
-
-@pytest.mark.slow
-class TestLargeWorkflow:
- def test_end_to_end(self): ...
-
-
-@pytest.mark.external
-def test_optional_service_contract(): ...
-```
-
-## Coverage Guidance
-
-Keep coverage exclusions minimal and explicit. Do not exclude code to avoid writing
-tests. If a branch is hard to test, explain why in code review and add focused
-coverage where practical.
-
-## Coverage Threshold
-
-Use the repository standard command:
-
-```bash
-uv run pytest --cov --cov-report=term-missing --cov-fail-under=80
-```
-
-## Related
-
-- [Testing Overview](index.md)
-- [Integration Tests](integration-tests.md)
-- [Unit Tests](unit-tests.md)
diff --git a/docs/dev/testing/property-tests.md b/docs/dev/testing/property-tests.md
deleted file mode 100644
index 3818958..0000000
--- a/docs/dev/testing/property-tests.md
+++ /dev/null
@@ -1,107 +0,0 @@
-# Property-Based Tests
-
-Property-based tests verify that a function satisfies a mathematical invariant across many randomly generated inputs, rather than a single fixed example. This catches edge cases that hand-written tests miss.
-
-This project uses [Hypothesis](https://hypothesis.readthedocs.io/) for property-based testing.
-
-## When to Use Property-Based Tests
-
-Property-based tests are well suited for:
-
-- Mathematical invariants in utility functions (range limits, monotonicity, idempotence)
-- Shape contracts that must hold for any valid input size
-- Functions where the correct output can be described as a rule rather than a specific value
-
-They are not suited for:
-
-- Tests that require a specific expected output value
-- Tests that depend on external services or heavy runtime setup
-
-## Installing Hypothesis
-
-Hypothesis is not included by default. Install it when you start adding property tests:
-
-```bash
-uv add --dev hypothesis
-```
-
-```toml
-[dependency-groups]
-dev = [
- "pytest>=9.0.2",
- "pytest-cov>=7.0.0",
- "hypothesis>=6.151.9",
-]
-```
-
-## Examples
-
-### Output range constraint
-
-`clamp_unit_interval` must always return values in `[0, 1]` for any numeric input.
-
-```python
-from hypothesis import given
-from hypothesis import strategies as st
-from project.math_utils import clamp_unit_interval
-
-
-@given(st.floats(min_value=-1e6, max_value=1e6, allow_nan=False, allow_infinity=False))
-def test_clamped_to_unit_interval(value: float) -> None:
- result = clamp_unit_interval(value)
- assert 0.0 <= result <= 1.0
-```
-
-### Shape preservation
-
-Applying a normalizer twice should produce the same output as once.
-
-```python
-@given(st.floats(min_value=-1000, max_value=1000, allow_nan=False, allow_infinity=False))
-def test_normalizer_is_idempotent(value: float) -> None:
- once = clamp_unit_interval(value)
- twice = clamp_unit_interval(once)
- assert once == twice
-```
-
-### Monotonicity
-
-A larger input must not produce a smaller clamped output.
-
-```python
-@given(
- st.floats(min_value=-1000, max_value=1000, allow_nan=False, allow_infinity=False),
- st.floats(min_value=-1000, max_value=1000, allow_nan=False, allow_infinity=False),
-)
-def test_monotone(a: float, b: float) -> None:
- x, y = sorted((a, b))
- assert clamp_unit_interval(x) <= clamp_unit_interval(y)
-```
-
-## File Layout
-
-Place property tests under `tests/property/`, mirroring the source tree by module group.
-
-```text
-tests/property/
- utils/
- test_math_utils_properties.py
- parsing/
- test_parser_properties.py
-```
-
-## Suppressing Hypothesis Output in CI
-
-Hypothesis prints a summary when it finds a failing example. This is useful locally but noisy in CI. Add a `settings` profile to `conftest.py` if needed:
-
-```python
-from hypothesis import settings
-
-settings.register_profile("ci", max_examples=50)
-settings.load_profile("ci")
-```
-
-## Related
-
-- [Testing Overview](index.md)
-- [Unit Tests](unit-tests.md)
diff --git a/docs/dev/testing/unit-tests.md b/docs/dev/testing/unit-tests.md
deleted file mode 100644
index f57ce40..0000000
--- a/docs/dev/testing/unit-tests.md
+++ /dev/null
@@ -1,100 +0,0 @@
-# Unit Tests
-
-Unit tests verify a single function or class in isolation. They should use local,
-synthetic inputs and avoid external dependencies.
-
-## What to Unit Test
-
-Unit tests are appropriate for:
-
-- Pure functions with deterministic outputs
-- Input validation and error handling
-- Edge cases and boundary values
-- Small local filesystem interactions using `tmp_path`
-
-Unit tests are not appropriate for:
-
-- Cross-module workflows spanning many layers
-- Environment-dependent paths that need custom local setup
-- Network calls or long-running jobs
-
-## File Layout
-
-Unit tests should mirror the source tree. Keep one test file per module when practical,
-using `test_*.py` naming.
-
-| Source module | Test file |
-|---|---|
-| `src/example/math_utils.py` | `tests/unit/test_math_utils.py` |
-| `src/example/config.py` | `tests/unit/test_config.py` |
-| `src/example/parser.py` | `tests/unit/test_parser.py` |
-
-## Class Grouping
-
-Group tests by the function or class they cover using a `Test` class. This keeps related tests together and makes failures easier to locate.
-
-```python
-class TestParser:
- def test_rejects_empty_input(self): ...
- def test_accepts_valid_input(self): ...
- def test_normalizes_whitespace(self): ...
-```
-
-## Synthetic Inputs
-
-Create minimal, synthetic inputs instead of loading large fixtures.
-
-```python
-def parse_int(value: str) -> int:
- return int(value.strip())
-
-
-def test_parse_int_trims_whitespace() -> None:
- assert parse_int(" 42 ") == 42
-```
-
-## Mocking Platform and Environment
-
-Use `unittest.mock.patch` for external calls and `monkeypatch` for environment
-variables.
-
-```python
-def test_env_var_overrides_default(monkeypatch):
- monkeypatch.setenv("APP_MODE", "test")
- assert load_mode() == "test"
-```
-
-## Error Handling Tests
-
-Test that functions raise the right exception with a useful message when given invalid input. Use `pytest.raises` with a `match` pattern to assert on the message.
-
-```python
-def test_invalid_backend_raises(self):
- with pytest.raises(ValueError, match="invalid mode"):
- resolve_mode("bad-value")
-```
-
-## Filesystem Tests
-
-Use pytest's built-in `tmp_path` fixture for tests that need real files on disk. It creates a temporary directory that is cleaned up after the test.
-
-```python
-def test_finds_single_pth(self, tmp_path: Path):
- (tmp_path / "config.toml").write_text("enabled = true\n")
- result = discover_config(tmp_path)
- assert result.name == "config.toml"
-```
-
-## Tolerance in Floating Point Assertions
-
-Floating point values should use tolerant comparisons.
-
-```python
-assert abs(result - expected) < 1e-6
-```
-
-## Related
-
-- [Testing Overview](index.md)
-- [Optional Test Markers](optional-markers.md)
-- [Property-Based Tests](property-tests.md)
diff --git a/docs/development.md b/docs/development.md
new file mode 100644
index 0000000..8495002
--- /dev/null
+++ b/docs/development.md
@@ -0,0 +1,72 @@
+# Development
+
+Run commands from the repository root in a shell with mise activated. Use the checkout's tool declarations, hook configuration, and CI workflows to confirm tool versions and task behavior.
+
+## Setup
+
+### Local development
+
+1. Install Git and mise.
+
+2. Activate mise in your shell with `eval "$(mise activate zsh)"` for Zsh or `eval "$(mise activate bash)"` for Bash. Add the same line to your shell startup file to activate it in future terminals.
+
+3. Review the project's mise configuration, then run:
+
+ ```sh
+ mise trust mise.toml
+ mise install
+ ```
+
+ The first command records trust for the project configuration. The second installs the declared tools.
+
+### Dev Container
+
+1. Install Docker, VS Code, and the Dev Containers extension.
+2. Open the checkout and select **Dev Containers: Reopen in Container**. The image sets up mise activation in Bash and Zsh. The post-create command trusts the project configuration and installs its tools.
+
+The mise shell-entry hook can install Commitizen and install or replace local Git hooks. See [Hooks and CI](#hooks-and-ci) for manual hook installation.
+
+## Common commands
+
+- Preview the public site with `mise run docs`.
+- Build the public site locally with `uvx zensical build --clean`. This regenerates the site output. Previewing or building can fetch Zensical.
+- In a derived project with a Python manifest and lockfile, use `uv sync --locked` to set up the environment from the lockfile. Use `mise run sync` for an intentional dependency upgrade that can rewrite the lockfile.
+
+## Checks by file type
+
+### Markdown
+
+Run `rumdl check AGENTS.md docs` for the internal documentation. Pass other Markdown paths explicitly when they change.
+
+### TOML
+
+Run `tombi lint ` to check TOML or `tombi format ` to rewrite it. The hook suite also validates TOML syntax.
+
+### JSON and web files
+
+Run `biome check ` for lint and formatting checks. The hook suite also validates JSON syntax.
+
+### YAML
+
+Run `prek run check-yaml --files ` to validate YAML syntax.
+
+### Python
+
+Run `ruff check .` for lint, `ruff format --check .` for formatting, and `ty check` for types when Python files are added. The configured Ruff hooks can rewrite files. This template has no committed Python package, test suite, or pytest CI job.
+
+### Shell scripts
+
+Run `shellcheck scripts/*.sh` to lint the template's Bash scripts.
+
+## Hooks and CI
+
+- Configure hooks in [`prek.toml`](../prek.toml). The `builtin` group uses checks bundled with prek. The other groups pin tool-specific hooks to upstream revisions.
+- Install the configured pre-commit and commit-msg hooks with `prek install`. This writes local Git hooks. Commitizen checks commit messages at the commit-msg stage.
+- Run `prek run --all-files` to check tracked files. Use `prek run --files ` to include untracked files, or `prek run --files ` to select a hook. Hooks can fetch tools and rewrite files. Inspect any changes before proceeding.
+- The repository CI workflow invokes Prek across tracked files. Gitleaks is installed through mise for manual use and has no configured hook or CI invocation.
+
+## Public site deployment
+
+Build the site locally before publishing. The documentation workflow builds the public site on qualifying pull requests and deploys to GitHub Pages on qualifying pushes to `main` or `master`. Publishing requires GitHub Pages configured to use GitHub Actions. After deployment, check the build and deploy jobs and open the published page.
+
+Zensical reads `website/`. The documentation workflow watches `website/**`, the workflow definition, and the Zensical configuration.
diff --git a/docs/index.md b/docs/index.md
deleted file mode 100644
index 1e12d89..0000000
--- a/docs/index.md
+++ /dev/null
@@ -1,33 +0,0 @@
----
-icon: lucide/rocket
----
-
-# Get started
-
-Ship faster with a production-ready Python repository template built for consistency, quality, and contributor onboarding.
-
-This template gives you a clean starting point with development environment setup, quality gates, testing defaults, and docs workflow already wired.
-
-## Why Teams Use This Template
-
-- **Reliable setup from day one:** standardized local environments with Dev Containers, mise, and uv.
-- **Quality gates built in:** linting, formatting, type checks, and tests with coverage are ready immediately.
-- **Cleaner collaboration:** commit hooks and commit conventions catch issues before review.
-- **Docs included, not deferred:** setup, testing, and contribution docs are already structured.
-- **Local-to-CI consistency:** the commands contributors run locally match what CI enforces.
-
-## What You Can Do Immediately
-
-- **Bootstrap your repo:** create a new repository from this template and start in minutes.
-- **Run quality checks:** execute lint, format, type-check, and test commands without extra scaffolding.
-- **Onboard contributors:** share clear setup and contribution guidance with your team.
-- **Ship with confidence:** keep changes predictable with consistent local and CI workflows.
-
-## Start Here
-
-- **Create your repository:** use the template workflow and get a clean project initialized.
- [Open the guide](dev/setup/from-template.md)
-- **Set up your development environment:** follow the daily workflow for local development and hooks.
- [Open Developer Setup](dev/setup/index.md)
-- **Explore tools and standards:** see all project dependencies, conventions, and references.
- [Open Resources](dev/resources.md)
diff --git a/mise.lock b/mise.lock
index 6e936ae..b722f18 100644
--- a/mise.lock
+++ b/mise.lock
@@ -1,5 +1,51 @@
# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html
+[[tools.biome]]
+version = "2.6.9"
+backend = "aqua:biomejs/biome"
+
+[tools.biome."platforms.linux-arm64"]
+checksum = "sha256:df2dc6a7c8c0d094512e96e03318154d7412d7b405bc34dcf09a4508357cfdee"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-linux-arm64"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684772"
+provenance = "github-attestations"
+
+[tools.biome."platforms.linux-arm64-musl"]
+checksum = "sha256:df2dc6a7c8c0d094512e96e03318154d7412d7b405bc34dcf09a4508357cfdee"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-linux-arm64"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684772"
+provenance = "github-attestations"
+
+[tools.biome."platforms.linux-x64"]
+checksum = "sha256:5409e32eb17b47e0d1d9bbf213b749eba1f9c35d8b18fbd2ee55971157918a57"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-linux-x64"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684768"
+provenance = "github-attestations"
+
+[tools.biome."platforms.linux-x64-musl"]
+checksum = "sha256:5409e32eb17b47e0d1d9bbf213b749eba1f9c35d8b18fbd2ee55971157918a57"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-linux-x64"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684768"
+provenance = "github-attestations"
+
+[tools.biome."platforms.macos-arm64"]
+checksum = "sha256:7c046458c6505ebb043f2e3402f17fbe185bf311e288ed51ed80cc38b102c6f5"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-darwin-arm64"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684773"
+provenance = "github-attestations"
+
+[tools.biome."platforms.macos-x64"]
+checksum = "sha256:3613b6c703fdbbdb6353a350f245de8910dd81cf5af292b7df39054ea003a739"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-darwin-x64"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684771"
+provenance = "github-attestations"
+
+[tools.biome."platforms.windows-x64"]
+checksum = "sha256:12ecf4622bd324046a4e2f0f469fb7c79254d77280277082a187183fa591b48a"
+url = "https://github.com/biomejs/biome/releases/download/%40biomejs/biome%402.6.9/biome-win32-x64.exe"
+url_api = "https://api.github.com/repos/biomejs/biome/releases/assets/787684776"
+provenance = "github-attestations"
+
[[tools.gitleaks]]
version = "8.30.1"
backend = "aqua:gitleaks/gitleaks"
@@ -40,141 +86,141 @@ url = "https://github.com/gitleaks/gitleaks/releases/download/v8.30.1/gitleaks_8
url_api = "https://api.github.com/repos/gitleaks/gitleaks/releases/assets/378333178"
[[tools.prek]]
-version = "0.5.0"
+version = "0.5.12"
backend = "aqua:j178/prek"
[tools.prek."platforms.linux-arm64"]
-checksum = "sha256:6a48bc5de0b134e1ecbd469714bdf88fc83b7895529d59f95303e839241473c2"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531708946"
+checksum = "sha256:5080df033c90239233822268086e2e8fad122750f4aa57a38065de865805433f"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-aarch64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080851"
provenance = "github-attestations"
[tools.prek."platforms.linux-arm64-musl"]
-checksum = "sha256:6a48bc5de0b134e1ecbd469714bdf88fc83b7895529d59f95303e839241473c2"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531708946"
+checksum = "sha256:254fd9421672e778b88f017d33dc419c8d3a1c878d31e16603031ea08b7b8a14"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080857"
provenance = "github-attestations"
[tools.prek."platforms.linux-x64"]
-checksum = "sha256:99531890378759c04d38a93804d502d7df8a5c4bfb24c3e98af3031e868b9ba1"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531709001"
+checksum = "sha256:646c2172a9c8e3b4b33ec803fd027d679ee3319db35a20b53dd2a206f8a15763"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-x86_64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080983"
provenance = "github-attestations"
[tools.prek."platforms.linux-x64-musl"]
-checksum = "sha256:99531890378759c04d38a93804d502d7df8a5c4bfb24c3e98af3031e868b9ba1"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531709001"
+checksum = "sha256:5296788a63b9aea32ffadf2339b555a2ec2df72d49fbb77966e282fe1aedb5f7"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080984"
provenance = "github-attestations"
[tools.prek."platforms.macos-arm64"]
-checksum = "sha256:73947efd142420dc1ad2856d155385b3fd54b88ba8bb769187dc8b359cc94681"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-aarch64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531708937"
+checksum = "sha256:f155453347245a4e41c0142a689ab0ad8a2997d5747b4a5570254286d1a29807"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-aarch64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080816"
provenance = "github-attestations"
[tools.prek."platforms.macos-x64"]
-checksum = "sha256:da5cdb10ca7821ed15c888d2a9b2ae94a6d4f7eadf1bc735ac1f668dec40654e"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-x86_64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531708989"
+checksum = "sha256:e6fcb68b3f7853cef613d9acb8b497b02c82dcc53147ffc899d97b362a84901f"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-x86_64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080921"
provenance = "github-attestations"
[tools.prek."platforms.windows-x64"]
-checksum = "sha256:3b1704f9c44d2a5f29af84c18dc5529c2cefab75697bdfdf69074cced1c0533b"
-url = "https://github.com/j178/prek/releases/download/v0.5.0/prek-x86_64-pc-windows-msvc.zip"
-url_api = "https://api.github.com/repos/j178/prek/releases/assets/531708991"
+checksum = "sha256:c077339127e07fea07d645ee25b007e454527b45aa9af1671d7644ce20481c21"
+url = "https://github.com/j178/prek/releases/download/v0.5.12/prek-x86_64-pc-windows-msvc.zip"
+url_api = "https://api.github.com/repos/j178/prek/releases/assets/796080950"
provenance = "github-attestations"
[[tools.ruff]]
-version = "0.16.5"
+version = "0.17.6"
backend = "aqua:astral-sh/ruff"
[tools.ruff."platforms.linux-arm64"]
-checksum = "sha256:ae88ae21344546a4b3e5d342360197ea8e79d3794d673cc807c6f302d8b87f03"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582818"
+checksum = "sha256:d4eea36ee6228f6c6bbcf0aea4ebf66fe0e595eedc6cffe628d7b8ba3623390f"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-aarch64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768306985"
provenance = "github-attestations"
[tools.ruff."platforms.linux-arm64-musl"]
-checksum = "sha256:ae88ae21344546a4b3e5d342360197ea8e79d3794d673cc807c6f302d8b87f03"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582818"
+checksum = "sha256:dc96feed20df78c9498106cd2483e710a4db8b00b13a75954b2a37bc9f61e65c"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768306997"
provenance = "github-attestations"
[tools.ruff."platforms.linux-x64"]
-checksum = "sha256:0c560ee4a72245c6d0c9cdfd9dd69cbdc348b9448349707cf4061cea62472059"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582902"
+checksum = "sha256:94b33791f48cd54ab35ad673a443a5c001d3e6d87effeaba9899070b700d45f3"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-x86_64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768307340"
provenance = "github-attestations"
[tools.ruff."platforms.linux-x64-musl"]
-checksum = "sha256:0c560ee4a72245c6d0c9cdfd9dd69cbdc348b9448349707cf4061cea62472059"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582902"
+checksum = "sha256:3c8d5a4264558df8b1587ce32409b658069b6a1ef5bfe4d279431eb1db62a183"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768307355"
provenance = "github-attestations"
[tools.ruff."platforms.macos-arm64"]
-checksum = "sha256:ed142f8656e0092828c103dd058b55b871c88e13a801cade8f860d8a9ca8943e"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-aarch64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582805"
+checksum = "sha256:72a886253072cd1bb6a5978a33a5a7add848ee315a8b0f1589f164a11c26328d"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-aarch64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768306954"
provenance = "github-attestations"
[tools.ruff."platforms.macos-x64"]
-checksum = "sha256:4895245fe294cd9f38b8c941b9aa009b3015729f73327bdbf8a716b7fec8f84d"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-x86_64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582887"
+checksum = "sha256:5e554db9c2663e1b84911446cab0a9fd4aa6d9a14dc751a4869d2f92209dcb70"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-x86_64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768307253"
provenance = "github-attestations"
[tools.ruff."platforms.windows-x64"]
-checksum = "sha256:02fe2fc6d04eb4e768c34daaca4990b327ea83e84b0eac58affb924c0f554a75"
-url = "https://github.com/astral-sh/ruff/releases/download/0.16.5/ruff-x86_64-pc-windows-msvc.zip"
-url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/532582890"
+checksum = "sha256:00c5d5793d308e8575b16b7303527110dd49bd02d46db0a8668b0eefdca14c2e"
+url = "https://github.com/astral-sh/ruff/releases/download/0.17.6/ruff-x86_64-pc-windows-msvc.zip"
+url_api = "https://api.github.com/repos/astral-sh/ruff/releases/assets/768307328"
provenance = "github-attestations"
[[tools.rumdl]]
-version = "0.2.62"
+version = "0.3.9"
backend = "aqua:rvben/rumdl"
[tools.rumdl."platforms.linux-arm64"]
-checksum = "sha256:79ec0b4771b1026dd337b942fc6f05655dd30503434f0412adf7b2feed402c44"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322353"
+checksum = "sha256:1f09d2cc7451ca28d3562bc9caaa5873927aa3f966b6f5464c9edea58b69f320"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-aarch64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013330"
provenance = "github-attestations"
[tools.rumdl."platforms.linux-arm64-musl"]
-checksum = "sha256:79ec0b4771b1026dd337b942fc6f05655dd30503434f0412adf7b2feed402c44"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322353"
+checksum = "sha256:2313b8b4aa04def6f04acb632bb47e979d5be56f372b40bcbace408e98385122"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013332"
provenance = "github-attestations"
[tools.rumdl."platforms.linux-x64"]
-checksum = "sha256:f2581ed4b9cccff9288ee395777911f194368b28e0e0258070e94b7859a30b7e"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322358"
+checksum = "sha256:a773d4045688641dd3e3d475c2a8d0ea56c5f948bb88aff7f5ef34030743f8c9"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-x86_64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013328"
provenance = "github-attestations"
[tools.rumdl."platforms.linux-x64-musl"]
-checksum = "sha256:f2581ed4b9cccff9288ee395777911f194368b28e0e0258070e94b7859a30b7e"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322358"
+checksum = "sha256:9fc3b8740f62fa6b4e23deebe12e63c2db3556df5f90747b3bd8c94ce051c026"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013331"
provenance = "github-attestations"
[tools.rumdl."platforms.macos-arm64"]
-checksum = "sha256:3fd051ccb75e790635a7eb19585b4060c4c78bd3e7362daa98fa55dc46626b41"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-aarch64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322359"
+checksum = "sha256:132659da4d95582b5748ae343eee8c3edbad3a4c8d7d739377b80e3ad319d6ee"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-aarch64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013335"
provenance = "github-attestations"
[tools.rumdl."platforms.macos-x64"]
-checksum = "sha256:3cb4e17fda2703860f75a5ee1d1c08ee0bab045713b3b30edb5e60c192a93e3c"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-x86_64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322361"
+checksum = "sha256:6907f6dc8d44ac8ace3fe1b86f81273f9d88375a3052d68f696d89b780e9b1bd"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-x86_64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013336"
provenance = "github-attestations"
[tools.rumdl."platforms.windows-x64"]
-checksum = "sha256:0e5521e7f5427dcb023372fd938101626a3cbda85bd06efa322ac109b58ccb5b"
-url = "https://github.com/rvben/rumdl/releases/download/v0.2.62/rumdl-v0.2.62-x86_64-pc-windows-msvc.zip"
-url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/532322368"
+checksum = "sha256:dc9a90653016cc8579a144dcbfe02354da89c87d0e016d5ed15a6f4b5751b7be"
+url = "https://github.com/rvben/rumdl/releases/download/v0.3.9/rumdl-v0.3.9-x86_64-pc-windows-msvc.zip"
+url_api = "https://api.github.com/repos/rvben/rumdl/releases/assets/806013345"
provenance = "github-attestations"
[[tools.shellcheck]]
@@ -211,99 +257,140 @@ checksum = "sha256:3c89db4edcab7cf1c27bff178882e0f6f27f7afdf54e859fa041fca10febe
url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.darwin.x86_64.tar.xz"
url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056930"
-[tools.shellcheck."platforms.windows-x64"]
-checksum = "sha256:8a4e35ab0b331c85d73567b12f2a444df187f483e5079ceffa6bda1faa2e740e"
-url = "https://github.com/koalaman/shellcheck/releases/download/v0.11.0/shellcheck-v0.11.0.zip"
-url_api = "https://api.github.com/repos/koalaman/shellcheck/releases/assets/279056944"
+[[tools.tombi]]
+version = "1.11.3"
+backend = "aqua:tombi-toml/tombi"
+
+[tools.tombi."platforms.linux-arm64"]
+checksum = "sha256:083614471a69e15f147ba68c96fe1e3ea02e8efe38d6bcdb4606b5a37ab8758a"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626402"
+provenance = "github-attestations"
+
+[tools.tombi."platforms.linux-arm64-musl"]
+checksum = "sha256:083614471a69e15f147ba68c96fe1e3ea02e8efe38d6bcdb4606b5a37ab8758a"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626402"
+provenance = "github-attestations"
+
+[tools.tombi."platforms.linux-x64"]
+checksum = "sha256:36672279d05f093455f01fa5a2799a8cc2162a9195cbbb23f0f8d1107d0de497"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626452"
+provenance = "github-attestations"
+
+[tools.tombi."platforms.linux-x64-musl"]
+checksum = "sha256:36672279d05f093455f01fa5a2799a8cc2162a9195cbbb23f0f8d1107d0de497"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626452"
+provenance = "github-attestations"
+
+[tools.tombi."platforms.macos-arm64"]
+checksum = "sha256:4e7daae9197910fe3717d241e5ca85cafd0f7f0ead988056fdd0b2cf2a447600"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-aarch64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626399"
+provenance = "github-attestations"
+
+[tools.tombi."platforms.macos-x64"]
+checksum = "sha256:642900713c3cb04adf45264117649e5f4731395b62cbafee8a9a2824fa479684"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-x86_64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626407"
+provenance = "github-attestations"
+
+[tools.tombi."platforms.windows-x64"]
+checksum = "sha256:b6b2d9e6419216aaa0b8e74a5c81c48335cb193d6eb87f50a7d77468bce10073"
+url = "https://github.com/tombi-toml/tombi/releases/download/v1.11.3/tombi-cli-1.11.3-x86_64-pc-windows-msvc.zip"
+url_api = "https://api.github.com/repos/tombi-toml/tombi/releases/assets/755626450"
+provenance = "github-attestations"
[[tools.ty]]
-version = "0.0.75"
+version = "0.0.112"
backend = "aqua:astral-sh/ty"
[tools.ty."platforms.linux-arm64"]
-checksum = "sha256:1e44393d9e3f029808a3b1af33729db1b01b9d90808bed821604d390df2f58b4"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531302010"
+checksum = "sha256:ebf30609c29fdf1198fe86b99206ca1c469c3fbe17e1e42f06ddc2d77f7824eb"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-aarch64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733152"
provenance = "github-attestations"
[tools.ty."platforms.linux-arm64-musl"]
-checksum = "sha256:1e44393d9e3f029808a3b1af33729db1b01b9d90808bed821604d390df2f58b4"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531302010"
+checksum = "sha256:151ca7d58d40488d6edb9a80f423a59046b490c4ea666a24508fe4ce13506214"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733165"
provenance = "github-attestations"
[tools.ty."platforms.linux-x64"]
-checksum = "sha256:3a2e99afb590e82f424dc1d1436b25e56caf91d1c69702090d4ad596880fec47"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531302127"
+checksum = "sha256:660b429933023f19f3c02516e58efbcc81745702a235a209030318e0629eaa25"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-x86_64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733514"
provenance = "github-attestations"
[tools.ty."platforms.linux-x64-musl"]
-checksum = "sha256:3a2e99afb590e82f424dc1d1436b25e56caf91d1c69702090d4ad596880fec47"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531302127"
+checksum = "sha256:ab1af67c57aab7798e799413cd3c0f65f90a09b837b1d2f0b781c9ac2dc7d7ab"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733532"
provenance = "github-attestations"
[tools.ty."platforms.macos-arm64"]
-checksum = "sha256:7ceb90dc5c60097640d10cb8330bf1ebef7833273b4afdf91e8670f49294cbe6"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-aarch64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531301989"
+checksum = "sha256:f41132683a2ed9f05af9b8863578768e1aec2f57a61eb966aa48fb56b940634c"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-aarch64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733066"
provenance = "github-attestations"
[tools.ty."platforms.macos-x64"]
-checksum = "sha256:e3df3cc012ef75b3c8aca49b93783fa32bb15b3a8237ba7b3b63d32cac7ead8a"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-x86_64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531302090"
+checksum = "sha256:da218f2eabb207d9b0a69ac2aef7d84381aa96f6d7206fa3f9cadfe77b51ad40"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-x86_64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733473"
provenance = "github-attestations"
[tools.ty."platforms.windows-x64"]
-checksum = "sha256:86270571c5b97563332da0fbcfe46e5e722beef58ac6271011e4ef6bb365d880"
-url = "https://github.com/astral-sh/ty/releases/download/0.0.75/ty-x86_64-pc-windows-msvc.zip"
-url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/531302110"
+checksum = "sha256:8897d90673a1b06a93c36b8830631f8378880df182c340c8a7a8f5551da1025f"
+url = "https://github.com/astral-sh/ty/releases/download/0.0.112/ty-x86_64-pc-windows-msvc.zip"
+url_api = "https://api.github.com/repos/astral-sh/ty/releases/assets/796733483"
provenance = "github-attestations"
[[tools.uv]]
-version = "0.12.7"
+version = "0.13.10"
backend = "aqua:astral-sh/uv"
[tools.uv."platforms.linux-arm64"]
-checksum = "sha256:6dcf60e3c085de88ace3671b949ca99f0652be561ff5627f0d21394140f041db"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935192"
+checksum = "sha256:14590f644805a6234ffe071154340669e38137f38e60aa9629690119704107d2"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-aarch64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788884668"
provenance = "github-attestations"
[tools.uv."platforms.linux-arm64-musl"]
-checksum = "sha256:6dcf60e3c085de88ace3671b949ca99f0652be561ff5627f0d21394140f041db"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-aarch64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935192"
+checksum = "sha256:68174084fe40b6300361c5b2038066120dc62c92920c22a0f31f6fc74b066b57"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-aarch64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788884695"
provenance = "github-attestations"
[tools.uv."platforms.linux-x64"]
-checksum = "sha256:3d64d44ed67da7908dc7f5c4d64ebb44bad326fa17f8a0a52fc9a7793017bbe1"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935287"
+checksum = "sha256:bf65ac1a0af10f92c522d91ac096c7c0a39657647b155577e7836c2cbbb4526c"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-x86_64-unknown-linux-gnu.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788885027"
provenance = "github-attestations"
[tools.uv."platforms.linux-x64-musl"]
-checksum = "sha256:3d64d44ed67da7908dc7f5c4d64ebb44bad326fa17f8a0a52fc9a7793017bbe1"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-x86_64-unknown-linux-musl.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935287"
+checksum = "sha256:5597970380083a340b7983af05a84824b4db1c62b7059c796935b7fd6dc95fd2"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-x86_64-unknown-linux-musl.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788885050"
provenance = "github-attestations"
[tools.uv."platforms.macos-arm64"]
-checksum = "sha256:127ebdda7ad953cdf198e964b570ea5771b85467ea93eb7cb6d6f8e6f55408f3"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-aarch64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935178"
+checksum = "sha256:e419bf07533bdbf48795fc793601c834dd79db57a8c49ce8e25cfe3a8639958d"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-aarch64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788884643"
provenance = "github-attestations"
[tools.uv."platforms.macos-x64"]
-checksum = "sha256:06b8ae1da8c2661c5434507a66f8c2b0b835933bf955b5958a9ac357a37d1959"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-x86_64-apple-darwin.tar.gz"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935264"
+checksum = "sha256:153e03197588204c04fc4c81cc4bafbfa4280222a385e4ee36a87aeec0ae63b4"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-x86_64-apple-darwin.tar.gz"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788884988"
provenance = "github-attestations"
[tools.uv."platforms.windows-x64"]
-checksum = "sha256:bf1518af459a3915511a11fdc6e2f43ef9a2afa138b9d498eeb9642fe9d85218"
-url = "https://github.com/astral-sh/uv/releases/download/0.12.7/uv-x86_64-pc-windows-msvc.zip"
-url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/532935273"
+checksum = "sha256:297b3881fe1adfb922becc2c1613202abb41dc83ea5ff43d472aa087ca1f8683"
+url = "https://github.com/astral-sh/uv/releases/download/0.13.10/uv-x86_64-pc-windows-msvc.zip"
+url_api = "https://api.github.com/repos/astral-sh/uv/releases/assets/788885003"
provenance = "github-attestations"
diff --git a/mise.toml b/mise.toml
index ad7098c..84a3928 100644
--- a/mise.toml
+++ b/mise.toml
@@ -1,9 +1,11 @@
[tools]
+biome = "latest"
gitleaks = "latest"
prek = "latest"
ruff = "latest"
rumdl = "latest"
shellcheck = { version = "latest", os = ["linux", "macos"] }
+tombi = "latest"
ty = "latest"
uv = "latest"
diff --git a/prek.toml b/prek.toml
new file mode 100644
index 0000000..abb59db
--- /dev/null
+++ b/prek.toml
@@ -0,0 +1,69 @@
+default_install_hook_types = ["pre-commit", "commit-msg"]
+
+[[repos]]
+repo = "builtin"
+hooks = [
+ { id = "check-added-large-files" },
+ { id = "check-case-conflict" },
+ { id = "check-executables-have-shebangs" },
+ { id = "check-illegal-windows-names" },
+ { id = "check-merge-conflict" },
+ { id = "check-shebang-scripts-are-executable" },
+ { id = "destroyed-symlinks" },
+ { id = "detect-private-key" },
+ { id = "mixed-line-ending", args = ["--fix=lf"] },
+ { id = "trailing-whitespace", args = ["--markdown-linebreak-ext=md"] },
+ { id = "end-of-file-fixer" },
+ { id = "check-json" },
+ { id = "check-toml" },
+ { id = "check-yaml" },
+]
+
+[[repos]]
+repo = "https://github.com/tombi-toml/tombi-pre-commit"
+rev = "v1.11.3"
+hooks = [
+ { id = "tombi-format" },
+ { id = "tombi-lint" },
+]
+
+[[repos]]
+repo = "https://github.com/astral-sh/uv-pre-commit"
+rev = "0.13.10"
+hooks = [
+ { id = "uv-lock", args = ["--check"] },
+ { id = "uv-export" },
+]
+
+[[repos]]
+repo = "https://github.com/astral-sh/ruff-pre-commit"
+rev = "v0.17.6"
+hooks = [
+ { id = "ruff-check", args = ["--fix"] },
+ { id = "ruff-format" },
+]
+
+[[repos]]
+repo = "https://github.com/biomejs/pre-commit"
+rev = "v2.6.9"
+hooks = [{ id = "biome-check" }]
+
+[[repos]]
+repo = "https://github.com/rvben/rumdl-pre-commit"
+rev = "v0.3.9"
+hooks = [{ id = "rumdl" }]
+
+[[repos]]
+repo = "https://github.com/shellcheck-py/shellcheck-py"
+rev = "v0.11.0.1-1"
+hooks = [{ id = "shellcheck" }]
+
+[[repos]]
+repo = "https://github.com/astral-sh/ty-pre-commit"
+rev = "v0.0.113"
+hooks = [{ id = "ty" }]
+
+[[repos]]
+repo = "https://github.com/commitizen-tools/commitizen"
+rev = "v4.20.1"
+hooks = [{ id = "commitizen", stages = ["commit-msg"] }]
diff --git a/ruff.toml b/ruff.toml
index a8738f2..65c9360 100644
--- a/ruff.toml
+++ b/ruff.toml
@@ -11,20 +11,20 @@ preview = true
[lint]
select = [
- "E", # pycodestyle errors
- "W", # pycodestyle warnings
- "F", # pyflakes
- "I", # isort
- "C", # flake8-comprehensions
- "B", # flake8-bugbear
- "UP", # pyupgrade
+ "E", # pycodestyle errors
+ "W", # pycodestyle warnings
+ "F", # pyflakes
+ "I", # isort
+ "C", # flake8-comprehensions
+ "B", # flake8-bugbear
+ "UP", # pyupgrade
"SIM", # flake8-simplify
- "PERF", # perflint (performance issues)
- "N", # pep8-naming
+ "PERF", # perflint (performance issues)
+ "N", # pep8-naming
]
ignore = [
- "E501", # line too long
- "C901", # too complex
+ "E501", # line too long
+ "C901", # too complex
]
[lint.isort]
diff --git a/rumdl.toml b/rumdl.toml
index aee5138..6ed1054 100644
--- a/rumdl.toml
+++ b/rumdl.toml
@@ -1,17 +1,17 @@
[global]
flavor = "standard"
disable = [
- "MD007", # use 4 spaces instead of 2
- "MD013", # Line length
- "MD033", # No inline HTML
- "MD034", # No bare URLs
- "MD036", # No emphasis as heading
- "MD037", # Spaces around emphasis
- "MD041", # First line in file should be a level 1 heading
- "MD044", # Proper names
- "MD046", # Code block style
- "MD049", # Emphasis style
- "MD059", # Link text
+ "MD007", # use 4 spaces instead of 2
+ "MD013", # Line length
+ "MD033", # No inline HTML
+ "MD034", # No bare URLs
+ "MD036", # No emphasis as heading
+ "MD037", # Spaces around emphasis
+ "MD041", # First line in file should be a level 1 heading
+ "MD044", # Proper names
+ "MD046", # Code block style
+ "MD049", # Emphasis style
+ "MD059", # Link text
]
# Exclude generated or temporary content
diff --git a/tombi.toml b/tombi.toml
new file mode 100644
index 0000000..ff47f11
--- /dev/null
+++ b/tombi.toml
@@ -0,0 +1,4 @@
+[format.rules]
+indent-style = "space"
+indent-width = 2
+line-ending = "lf"
diff --git a/ty.toml b/ty.toml
new file mode 100644
index 0000000..7215545
--- /dev/null
+++ b/ty.toml
@@ -0,0 +1,2 @@
+[src]
+respect-ignore-files = true
diff --git a/website/contributing.md b/website/contributing.md
new file mode 100644
index 0000000..6535179
--- /dev/null
+++ b/website/contributing.md
@@ -0,0 +1,9 @@
+# Contribute
+
+Help maintain the template by reporting a problem or proposing an improvement.
+
+- [Report a bug or request a feature](https://github.com/HYP3R00T/python-project-template/issues/new/choose).
+- If you're contributing a change, follow [Open a pull request](how-to/open-a-pull-request.md) and `docs/development.md` in your checkout.
+- For a docs change, edit the appropriate page under `website/` and [preview it locally](how-to/publish-docs.md#preview-locally). Check commands and claims against the repository files they describe.
+
+You can also [sponsor the project](https://github.com/sponsors/HYP3R00T) to support its maintenance.
diff --git a/website/get-started/create-a-project.md b/website/get-started/create-a-project.md
new file mode 100644
index 0000000..b17af13
--- /dev/null
+++ b/website/get-started/create-a-project.md
@@ -0,0 +1,23 @@
+# Create a repository
+
+Start by creating a GitHub repository under your own account or organization. You'll need Git and permission to create a repository for the owner you choose.
+
+[Use this template on GitHub](https://github.com/HYP3R00T/python-project-template/generate){ .md-button .md-button--primary }
+
+## Create and clone your repository
+
+1. Sign in to GitHub, open the form above, and choose an owner, repository name, and visibility. The default branch contains everything you need to get started.
+
+2. Select **Create repository**. GitHub copies the template files into your new repository. Future changes to the template are managed separately from your copy.
+
+3. In **your new repository**, open **Code** and copy its HTTPS or SSH URL. For HTTPS, replace the placeholders below with your owner and repository name.
+
+ ```bash
+ git clone https://github.com/YOUR_OWNER/YOUR_REPOSITORY.git
+ cd YOUR_REPOSITORY
+ git remote -v
+ ```
+
+ Check that `origin` points to your new repository. That's where your commits will be pushed.
+
+Next, [set up your development environment](development-environment.md). For more on this GitHub feature, see [Creating a repository from a template](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
diff --git a/website/get-started/customize-your-project.md b/website/get-started/customize-your-project.md
new file mode 100644
index 0000000..f2acd33
--- /dev/null
+++ b/website/get-started/customize-your-project.md
@@ -0,0 +1,50 @@
+# Make the project yours
+
+GitHub gives your repository the name you chose when you created it. The copied files still identify the original template and its maintainer. Update the items below before sharing your repository or publishing its site.
+
+## Rename the project
+
+| File | What to replace |
+| --- | --- |
+| `README.md` | Set the project title and description. Update the Docs badge, setup and testing links, and Sponsor destination. If this repository is an app or library, replace **Use this template** with the way people should get or use your project. |
+| `.devcontainer/devcontainer.json` | Set `name` to the name you want developers to see when they open the container in VS Code. |
+| `website/index.md` | Rewrite the title and introduction. Replace the template creation button and update the links to your own onboarding pages. |
+| `website/get-started/create-a-project.md` | Replace the original **Use this template on GitHub** link and instructions with the way contributors should obtain your project. If you remove this page, update `nav` and any links to it. |
+| `pyproject.toml`, after `uv init` | Review `[project].name`, `description`, `authors` if present, and any project URLs you add. For an installable project, check `[project.scripts]` if present and the import package under `src/`. If you rename a package, update imports and command entry points that refer to it. |
+
+If you created a uv workspace, check the metadata in each member's `pyproject.toml`. After Python metadata changes, run `uv sync` from the project root and review the updated `uv.lock`. For an installable CLI, run its entry point to confirm it still works.
+
+## Update the site identity
+
+Edit these fields under `[project]` in `zensical.toml`.
+
+| Field | What to set |
+| --- | --- |
+| `site_name` and `site_description` | The title and short description of your own docs site. |
+| `site_url` | Your published docs URL, including the repository path if your Pages site uses one. |
+| `site_author` and `copyright` | The author metadata and footer text for your docs site. Keep the original license notices when you reuse the template. |
+| `repo_name` and `repo_url` | Your `OWNER/REPOSITORY` and its GitHub URL. |
+| `edit_uri` | The path to the docs on your default branch. For example, use `edit/main/website/` when your default branch is `main` and your public Markdown lives in `website/`. |
+
+Check the links under `website/` as you adapt its content. Start with `website/contributing.md`, which links to the template's issue chooser and sponsor, and `website/reference/index.md`, which links to its license. The Funding and CODEOWNERS reference pages also show the inherited account. Replace links that should lead to your own repository, and keep upstream links where you mean to credit or refer to the template.
+
+## Replace maintainers and contact details
+
+| File | What to replace |
+| --- | --- |
+| `.github/CODEOWNERS` | Replace the default `*` owner with a GitHub user or team that has write access to your repository. [Code owners](../reference/github/codeowners.md) |
+| `.github/FUNDING.yml` | Replace the `github` account with your GitHub Sponsors account, configure another funding destination, or remove the file if you don't use sponsorship. [Funding links](../reference/github/funding.md) |
+| `.github/CODE_OF_CONDUCT.md` | Under **Reporting an Issue**, replace the email address with a monitored contact for your project. Keep the Contributor Covenant attribution. [Code of conduct](../reference/github/code-of-conduct.md) |
+| `LICENSE` | Retain the original copyright and permission notices for copied material as required by the [MIT License](https://opensource.org/license/mit). This file is separate from the website footer. |
+
+The reporting address is visible wherever you publish the file. Choose a contact you intend to share. If your default branch or GitHub Pages domain differs from the template, review the branch filters and Pages settings for your repository. [Configure your GitHub repository](../how-to/configure-github.md)
+
+## Check for inherited values
+
+From your repository root, search for the old owner, project title, docs domain, and reporting contact. Replace the placeholder terms with the original values from your checkout. This command lists matching tracked files without printing the lines.
+
+```bash
+git grep -Iil -F -e 'OLD_OWNER' -e 'OLD_PROJECT_NAME' -e 'OLD_DOCS_HOST' -e 'OLD_CONTACT'
+```
+
+Review each result before replacing it. Search new files in your editor as well, because `git grep` normally searches tracked files. Confirm `git remote -v` points to your repository. Preview the site with `mise run docs` and open the README's docs links and the site's **Edit this page** link. After publishing, check the live site and the issue, sponsor, and contact destinations you configured.
diff --git a/website/get-started/development-environment.md b/website/get-started/development-environment.md
new file mode 100644
index 0000000..c4090af
--- /dev/null
+++ b/website/get-started/development-environment.md
@@ -0,0 +1,50 @@
+# Set up your environment
+
+After [creating and cloning your repository](create-a-project.md), choose **one** of the two paths below. Both use `mise.toml` to install the template's development tools.
+
+## Use the Dev Container
+
+You'll need Docker running on your computer, VS Code, and its [Dev Containers extension](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers).
+
+1. Open your cloned repository folder in VS Code.
+2. Open the Command Palette and select **Dev Containers: Reopen in Container**.
+3. Wait for the image to build and the setup command to finish, then open a new terminal in VS Code. Run your project commands in that terminal.
+
+The image includes mise and uv. On creation, `scripts/setup.sh` trusts the template's `mise.toml` and installs its declared tools. If the container fails to open, make sure Docker is running and use **Dev Containers: Show Container Log** to see whether the failure was in the image build or the setup command.
+
+## Use local tools
+
+[Install mise for your operating system](https://mise.jdx.dev/installing-mise.html) first. Then check that your terminal can find it.
+
+```bash
+mise --version
+```
+
+Review `mise.toml` and `scripts/enter_project.sh` before trusting the project configuration. Run the commands below from the repository root.
+
+```bash
+mise trust mise.toml
+mise install
+```
+
+The first command records trust. The second installs the development binaries declared for your platform. To put them on your shell's path, [activate mise for your shell](https://mise.jdx.dev/shell-setup.html). Use the line for your shell in an interactive terminal.
+
+```bash
+eval "$(mise activate bash)" # Bash
+eval "$(mise activate zsh)" # Zsh
+```
+
+Add the same line to your shell's startup file if you want activation in future terminals. You can also run tools through mise on demand, for example with `mise exec -- uv --version`.
+
+## Verify your setup
+
+Check that uv and Prek are available before moving on.
+
+```bash
+uv --version
+prek --version
+```
+
+If the tools are installed but the commands are missing, reopen your terminal after configuring shell activation or try the `mise exec --` form. In an activated shell, the template's Bash entry hook can install Commitizen and install or replace the Git hooks. See [Enable commit hooks](../how-to/run-checks.md#enable-commit-hooks) for the manual setup.
+
+Next, [initialize your Python project](initialize-python.md).
diff --git a/website/get-started/initialize-python.md b/website/get-started/initialize-python.md
new file mode 100644
index 0000000..91e921a
--- /dev/null
+++ b/website/get-started/initialize-python.md
@@ -0,0 +1,64 @@
+# Initialize your Python project
+
+The template starts with development tools and configuration. It has no Python source code or `pyproject.toml`. After [setting up your environment](development-environment.md), choose a layout and run the commands for that option from your repository root.
+
+## Start with one application
+
+For a small app you want to run directly from its source folder, create a minimal project with `--no-package`.
+
+```bash
+uv init --no-package
+uv run main.py
+```
+
+This creates `pyproject.toml` and a starter `main.py`, with no build system. Plain `uv init` also creates an application, using the defaults of your installed uv version.
+
+For an installable app or command-line tool, initialize it with `--package`.
+
+```bash
+uv init --package
+```
+
+uv sets up a `src/` layout and a build system. Look under `[project.scripts]` in `pyproject.toml` for the generated command name. For example, if the entry is named `my-app`, run `uv run my-app`.
+
+## Create an importable library
+
+Use `--lib` when your project's main purpose is to provide Python code that other projects can import.
+
+```bash
+uv init --lib
+uv sync
+```
+
+Put your public functions and classes in the generated package under `src/`. If you plan to distribute it, read the [uv publishing guide](https://docs.astral.sh/uv/guides/package/).
+
+## Start with one standalone script
+
+For a single file with its own Python requirement and dependencies, initialize it in script mode.
+
+```bash
+uv init --script task.py
+uv run task.py
+```
+
+uv records script metadata inside the file. See [Running scripts](https://docs.astral.sh/uv/guides/scripts/) for adding dependencies to the script.
+
+## Use a workspace for multiple packages
+
+A uv workspace lets an app and one or more libraries in the same repository share a lockfile. Start in a fresh template checkout so you can create a minimal root project and initialize the members beneath it.
+
+```bash
+uv init --bare
+uv init --package packages/demo-app
+uv init --lib packages/demo-lib
+uv sync --all-packages
+uv run --package demo-app demo-app
+```
+
+uv adds the member paths to `[tool.uv.workspace]` in the root `pyproject.toml`. Each member has its own `pyproject.toml`. If `demo-app` uses `demo-lib`, run `uv add --package demo-app ./packages/demo-lib` from the workspace root. uv records the dependency and marks it as a workspace source in `packages/demo-app/pyproject.toml`. See [Using workspaces](https://docs.astral.sh/uv/concepts/projects/workspaces/) for when separate projects are a better fit.
+
+## Before your first pull request
+
+Check the project name and `requires-python` in the generated metadata. If uv generated a `.python-version` file, make sure it agrees with the version your team wants to develop against. Commit the project files and, for a project with a `pyproject.toml`, generate and commit `uv.lock` with `uv sync`. Then [make the project yours](customize-your-project.md) by updating the inherited names, links, and contact details.
+
+See [Creating projects](https://docs.astral.sh/uv/concepts/projects/init/) for other layouts and build backends. Once you've initialized your project, [run the repository checks](../how-to/run-checks.md) and [add tests](../how-to/add-tests.md) when you have behavior to verify.
diff --git a/website/how-to/add-tests.md b/website/how-to/add-tests.md
new file mode 100644
index 0000000..f3d3090
--- /dev/null
+++ b/website/how-to/add-tests.md
@@ -0,0 +1,21 @@
+# Add tests
+
+The template's CI runs repository checks. Add a test runner and a separate CI step when your project is ready to test its behavior.
+
+## Run your tests locally
+
+After [initializing the project](../get-started/initialize-python.md), you can add pytest as a development dependency.
+
+```bash
+uv add --dev pytest
+```
+
+Create `tests/`, add a file such as `test_app.py`, and give each test function a name starting with `test_`. Run pytest from the repository root.
+
+```bash
+uv run pytest
+```
+
+## Run your tests in CI
+
+Once tests pass locally, add a job or step to your project's GitHub Actions workflow that sets up uv and runs the same test command. Commit `pyproject.toml` and `uv.lock` so CI can reproduce the test environment. For CI runs that should fail if the lockfile is out of date, use `uv run --locked pytest`.
diff --git a/website/how-to/configure-github.md b/website/how-to/configure-github.md
new file mode 100644
index 0000000..457bd6d
--- /dev/null
+++ b/website/how-to/configure-github.md
@@ -0,0 +1,19 @@
+# Configure your GitHub repository
+
+After you've created your repository, adjust the files inherited from the template and decide which settings to enable on GitHub. You'll need permission to manage the repository for settings such as rulesets or Pages.
+
+## Update ownership and contribution files
+
+- Edit `.github/CODEOWNERS` and replace the inherited owner with a user or team that has write access to your repository. [Code owners](../reference/github/codeowners.md)
+- Update the issue forms and pull request template to match the project you are building. Choose the information you actually need from reporters and reviewers. [Issue templates](../reference/github/issue-templates.md) Β· [Pull request template](../reference/github/pull-request-template.md)
+- Review the inherited funding account and code of conduct contact before inviting contributors. [Funding](../reference/github/funding.md) Β· [Code of conduct](../reference/github/code-of-conduct.md)
+
+## Set up checks and merge rules
+
+1. In **Actions**, confirm that you can see **CI Pipeline**. If your default branch isn't `main`, review the branch filters in the workflow files and update them as needed. Open a pull request against your default branch and verify that **Repository checks** runs.
+2. If you want to require a passing check before merging, open **Settings β Rules β Rulesets**, configure a branch ruleset for your default branch, and select the check that appeared on the pull request. Configure code owner review separately if your project needs it. [GitHub ruleset options](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets)
+3. If you want the included patch auto-merge policy, enable auto-merge and squash merging under the repository's pull request settings. Review the [Dependabot policy workflow](../reference/automation/dependabot-policy-workflow.md) before enabling it.
+
+## Set up the documentation site
+
+Use **Settings β Pages** and choose **GitHub Actions** as the source if this repository will publish its docs. Update the site details and URL for your own project, then follow [Write and publish your docs](publish-docs.md).
diff --git a/website/how-to/format-and-lint.md b/website/how-to/format-and-lint.md
new file mode 100644
index 0000000..59d13f2
--- /dev/null
+++ b/website/how-to/format-and-lint.md
@@ -0,0 +1,37 @@
+# Format and lint files
+
+Run a targeted tool while you edit, then [run the repository checks](run-checks.md) before opening a pull request. Formatters rewrite layout. Linters report problems with the file's content or conventions. Some linters can also apply fixes.
+
+## Choose the command for your file
+
+Run the commands from the repository root. Substitute the path you changed.
+
+### Python
+
+Run `ruff check src/example.py` to lint the file and `ruff format --check src/example.py` to check its formatting. Drop `--check` from the formatter command to rewrite the file. Once your dependencies are synced, run `ty check` to catch type errors. [Ruff](../reference/tools/ruff.md) Β· [ty](../reference/tools/ty.md)
+
+### Markdown
+
+Run `rumdl check website/index.md` to see the rule and line for each problem. Use `rumdl fmt website/index.md` to apply available fixes. [rumdl](../reference/tools/rumdl.md)
+
+### TOML
+
+Run `tombi lint zensical.toml` to check it and `tombi format --check zensical.toml` to check formatting separately. Drop `--check` from the formatter command to rewrite the file. [Tombi](../reference/tools/tombi.md)
+
+### JSON and web files
+
+Run `biome check .devcontainer/devcontainer.json` for diagnostics. Use `biome format --write .devcontainer/devcontainer.json` to apply formatting. [Biome](../reference/tools/biome.md)
+
+### YAML
+
+Run `prek run check-yaml --files .github/workflows/ci.yml`. Fix the syntax error at the location in the output and rerun it. [Prek](../reference/automation/prek.md)
+
+### Bash
+
+Run `shellcheck scripts/setup.sh` and use the reported ShellCheck rule to understand the correction. [ShellCheck](../reference/tools/shellcheck.md)
+
+## Review the changes
+
+Use `git diff` to see what a formatter changed. If a hook rewrites a staged file, review the working-tree version, then stage the intended changes again. Run Prek on the files you changed before you retry the commit.
+
+If your editor and a formatter disagree, check the [EditorConfig settings](../reference/tools/editorconfig.md) for basic whitespace behavior and the [tool reference](../reference/tools/index.md) for the formatter's own rules. Configure format-on-save to use the same tool as the repository where your editor supports it.
diff --git a/website/how-to/manage-python-dependencies.md b/website/how-to/manage-python-dependencies.md
new file mode 100644
index 0000000..b54bd9a
--- /dev/null
+++ b/website/how-to/manage-python-dependencies.md
@@ -0,0 +1,37 @@
+# Manage Python dependencies
+
+Use this guide after [initializing your Python project](../get-started/initialize-python.md). Run the commands from the project root. If you started with a standalone script, use uv's [script dependency commands](https://docs.astral.sh/uv/guides/scripts/) instead.
+
+## Add a package
+
+Choose a runtime dependency if your application or library needs it to run. Choose a development dependency for tools such as pytest.
+
+```bash
+uv add httpx
+uv add --dev pytest
+```
+
+Use the packages your project actually needs. uv updates `pyproject.toml` and `uv.lock` and syncs the environment. In a workspace, pass `--package` and the member's project name to update that member.
+
+## Recreate the environment
+
+When you clone a project with a committed lockfile or pull a change to it, sync without updating the resolution.
+
+```bash
+uv sync --locked
+```
+
+If this fails because the lockfile is stale, review the manifest change. Someone making an intentional dependency change should refresh and commit the lockfile.
+
+## Upgrade a dependency deliberately
+
+For example, update the locked version of `httpx` within your declared constraints and sync the environment.
+
+```bash
+uv lock --upgrade-package httpx
+uv sync --locked
+```
+
+Use `mise run sync` when you intend to upgrade the whole project's dependencies. It runs `uv sync --upgrade`. Review the lockfile diff, run your tests, and [run the repository checks](run-checks.md). The configured export hook can write `requirements.txt` when it checks the root lockfile. Include the export if your project uses and tracks it.
+
+See [uv](../reference/tools/uv.md) for the files and commands in this template, and [Dependabot](../reference/automation/dependabot.md) for automated updates.
diff --git a/website/how-to/open-a-pull-request.md b/website/how-to/open-a-pull-request.md
new file mode 100644
index 0000000..d231f70
--- /dev/null
+++ b/website/how-to/open-a-pull-request.md
@@ -0,0 +1,16 @@
+# Open a pull request
+
+Create a branch in your repository before making a change. For example, use `git switch -c docs/local-setup` for a documentation update.
+
+## Prepare the change
+
+1. Review the files you edited with `git diff`. Run the [repository checks](run-checks.md) and any tests that cover your change.
+2. Stage the intended files. Use `git diff --cached` to review what will go in the commit.
+3. Commit with a message that describes the change, such as `docs: clarify local setup`. If a hook changes a file, review and stage that change before retrying the commit.
+4. Push your branch and open a pull request against your repository's default branch. For the example branch, run `git push -u origin docs/local-setup`.
+
+## Help reviewers understand the change
+
+Use the [pull request template](../reference/github/pull-request-template.md) to explain the change and why it matters. Link the issue if there is one. Under **Testing**, name the commands you actually ran and report their results. Call out manual checks or known limitations that affect the review.
+
+Open **Checks** in the pull request to see what ran. If a job fails, open its log, fix the issue on your branch, then push the correction. [How repository CI works](../reference/automation/ci-workflow.md)
diff --git a/website/how-to/publish-docs.md b/website/how-to/publish-docs.md
new file mode 100644
index 0000000..d96d12e
--- /dev/null
+++ b/website/how-to/publish-docs.md
@@ -0,0 +1,37 @@
+# Write and publish your docs
+
+## Choose where to write
+
+- Use `website/` for public material that helps users adopt and use your project. Zensical builds these pages into the site.
+- Use `docs/` for repository development guidance and design records used by contributors and coding agents. Zensical's site build reads `website/`, so a change under `docs/` alone won't change the public site.
+
+The root `README.md` is the introduction people see on GitHub. Link from it to the public site for longer guides.
+
+## Add or update a page
+
+1. Edit the Markdown under `website/`. Use relative links to other public pages, such as `../get-started/initialize-python.md`.
+2. Add new pages to `nav` in `zensical.toml` where readers would look for them. Update links when moving a page.
+3. In a new repository, update the site name, description, author, repository URL, and final site URL in `zensical.toml`. Update `edit_uri` if your default branch or documentation folder changes so **Edit this page** still opens the right file. Replace links specific to the original template when they no longer apply.
+
+## Preview locally
+
+From the repository root, start the preview server and open the address it prints.
+
+```bash
+mise run docs
+```
+
+When you're finished previewing, stop the server. Check the Markdown and produce the same site output used by the GitHub workflow.
+
+```bash
+rumdl check website
+uvx zensical build --clean
+```
+
+## Deploy with GitHub Pages
+
+1. Open **Settings β Pages** in your repository on GitHub and set **Source** to **GitHub Actions**.
+2. Merge a change to `website/`, `zensical.toml`, or the documentation workflow into `main` or `master`.
+3. In the **Actions** tab, open the **Documentation** workflow and follow the URL from the deployment job after it succeeds.
+
+The build runs on qualifying pull requests before merging. If the workflow builds the site but doesn't publish it, check the Pages source setting and the deploy job log. [Documentation workflow triggers](../reference/automation/documentation-workflow.md) Β· [Zensical configuration](../reference/tools/zensical.md)
diff --git a/website/how-to/run-checks.md b/website/how-to/run-checks.md
new file mode 100644
index 0000000..0e02059
--- /dev/null
+++ b/website/how-to/run-checks.md
@@ -0,0 +1,31 @@
+# Run repository checks
+
+Before opening a pull request, run the configured file checks from your repository root.
+
+```bash
+prek run --all-files
+```
+
+Prek selects hooks based on the files they apply to. Some hooks fix formatting or lint issues in place. Review any changes with `git diff` and rerun the check. To check only the files you're working on, name them explicitly. This also works for files you have yet to add to Git.
+
+```bash
+prek run --files README.md zensical.toml
+```
+
+If a hook fails, start with the hook name and file paths in its output. For example, after fixing a Markdown problem, rerun only the rumdl hook on that file.
+
+```bash
+prek run rumdl --files README.md
+```
+
+See [Format and lint files](format-and-lint.md) for direct commands and [CI workflow](../reference/automation/ci-workflow.md) for when checks run on GitHub. To set up a Python test suite, see [Add tests](add-tests.md).
+
+## Enable commit hooks
+
+From the repository root, install the configured Git hooks with Prek.
+
+```bash
+prek install
+```
+
+The repository configures both `pre-commit` and `commit-msg`. See [Git hooks](../reference/automation/pre-commit-hooks.md) for when each runs and how to handle files rewritten during a commit.
diff --git a/website/how-to/work-with-coding-agents.md b/website/how-to/work-with-coding-agents.md
new file mode 100644
index 0000000..0d62d68
--- /dev/null
+++ b/website/how-to/work-with-coding-agents.md
@@ -0,0 +1,45 @@
+# Work with coding agents
+
+The **Elephant-Goldfish Model (EGM)** is a design-first workflow for working with coding agents. An **Elephant** is the session that learns the problem and helps you write the design. **Goldfish** reviewers start in fresh sessions and read the design without the conversation that produced it. They surface assumptions the drafting session already knew and may have left out. [Elephant-Goldfish Model](https://egm.dev/)
+
+Start with one design for a change that affects user behavior, introduces a new interface, or requires trade-offs. A routine fix with an obvious outcome can use a short task with a verification step. You can try the workflow with separate sessions or use the upstream plugin for drafting and review. [EGM workflow guide](https://github.com/google/elephant-goldfish-model/blob/main/docs/getting_started.md)
+
+## Write a design a new reader can use
+
+Work with an agent to inspect the current code, configuration, and tests. Ask it to help you clarify the problem, compare options where a decision matters, and draft a design that stands on its own. Store a design for this repository under `docs/designs/` and register it in `docs/designs/SITEMAP.md`. The design is a development artifact. Put user-facing instructions for shipped behavior in `website/`.
+
+A short design can cover five things.
+
+| Section | What to write down |
+| --- | --- |
+| Problem | Who is affected, what they are trying to do, and what the current behavior makes difficult. |
+| Expected behavior | What a user or caller will observe, including important edge cases and error behavior. |
+| Scope and constraints | What may change, what behavior must be preserved, and any limits on dependencies, interfaces, or permissions. |
+| Decisions | The approach you agreed on, why it fits, and any unresolved questions that affect implementation. |
+| Acceptance checks | Examples or checks that demonstrate the outcome. Include both the normal path and the failures that matter. |
+
+Write down interfaces and decisions that readers need to implement the design. Let the implementation agent choose routine details that the design leaves open.
+
+## Review it in a fresh session
+
+Give the reviewer the written design without the drafting chat. Ask them to explain the expected behavior back to you, flag ambiguous requirements, and identify cases whose outcomes are unspecified. If the feedback reveals a missing decision, add the decision to the design so the implementation agent can read it too.
+
+For a team change, agree on the design with the people who own the affected behavior. Record review status and implementation status separately in the design index. An agreed design describes work that can start, and a completed implementation has code and verification to show for it.
+
+## Hand off the outcome and constraints
+
+Point the implementation agent to the agreed design and the repository's `AGENTS.md`. Give it permission to make the in-scope changes and run the relevant checks. Ask for a summary of the result and the evidence. Let it work through the routine steps. If it finds that the repository contradicts the design or a decision would change the scope, resolve that question in the design before proceeding.
+
+For example, an existing CLI project could specify a JSON output mode this way.
+
+- **Outcome** β Add `--format json` to the `list` command so scripts can consume its output.
+- **Constraints** β Preserve the default text output and exit codes. Use the standard library and keep errors on stderr.
+- **Acceptance** β Without the flag, output matches the existing CLI. With the flag, successful stdout parses as JSON. An invalid invocation keeps its existing nonzero exit code and produces no JSON on stdout.
+
+Once those details are in the design, the handoff can be short.
+
+> Implement `docs/designs/list-json-output.md`. Follow `AGENTS.md` and preserve the behavior and boundaries in the design. Run the acceptance checks and relevant repository checks. Report what passed and any decisions that still need a maintainer.
+
+## Verify the result and keep the design current
+
+Review the diff and checks against the design before merging. If a deliberate implementation decision changes an earlier assumption, record the agreed change and bring the docs in line with the code. Use the final behavior and the checks that ran when [opening the pull request](open-a-pull-request.md). [Run repository checks](run-checks.md)
diff --git a/website/index.md b/website/index.md
new file mode 100644
index 0000000..3af2610
--- /dev/null
+++ b/website/index.md
@@ -0,0 +1,25 @@
+---
+hide:
+ - toc
+---
+
+# Python Project Template
+
+Create a Python repository with a shared development environment, repository checks in GitHub Actions, and a documentation site you can make your own.
+
+[Create a repository on GitHub](https://github.com/HYP3R00T/python-project-template/generate){ .md-button .md-button--primary }
+[Explore the tools](reference/index.md){ .md-button }
+
+## Get started
+
+1. [Create and clone your repository](get-started/create-a-project.md) from the GitHub template.
+2. [Set up your environment](get-started/development-environment.md) in the Dev Container or locally with mise.
+3. [Initialize your Python project](get-started/initialize-python.md). Choose an app, a library, a standalone script, or a workspace for multiple packages.
+4. [Make the project yours](get-started/customize-your-project.md) by updating names, links, and maintainer contacts.
+
+## Work on your project
+
+- [Run repository checks](how-to/run-checks.md) before opening a pull request.
+- [Add tests](how-to/add-tests.md) and run them locally and in CI.
+- [Work with coding agents](how-to/work-with-coding-agents.md) using a reviewed design and clear acceptance checks.
+- [Write and publish your docs](how-to/publish-docs.md) with Zensical and GitHub Pages.
diff --git a/website/reference/automation/ci-workflow.md b/website/reference/automation/ci-workflow.md
new file mode 100644
index 0000000..7e4e847
--- /dev/null
+++ b/website/reference/automation/ci-workflow.md
@@ -0,0 +1,19 @@
+# CI Pipeline workflow
+
+The **CI Pipeline** workflow lives in `.github/workflows/ci.yml`. Its **Repository checks** job runs on Ubuntu and uses the default settings for `j178/prek-action@v2`, which runs Prek across tracked files with `--all-files` and shows the diff when a hook fails. To test your Python project's behavior, [add a test step](../../how-to/add-tests.md).
+
+## When it runs
+
+- A push to `main`.
+- A pull request targeting `main` that is opened, updated, reopened, or marked ready for review.
+- A manual run from **Actions β CI Pipeline β Run workflow**. GitHub shows this option when the workflow is on the default branch and your account can run it.
+
+A newer run in the same workflow and ref cancels the older run. Pull request checks apply to the latest run, so inspect that run if several commits were pushed close together.
+
+## Work with the results
+
+Open **Repository checks** in the pull request or Actions tab. Identify the failing hook and [run it locally](../../how-to/run-checks.md). If CI reports that a hook modified files, reproduce and review the changes locally, then commit the corrected files.
+
+If you rename the default branch, update the push and pull request branch filters. To make the job a prerequisite for merging, select it in your GitHub branch rules or ruleset.
+
+[Run a workflow manually](https://docs.github.com/en/actions/how-tos/manage-workflow-runs/manually-run-a-workflow) Β· [Prek action defaults](https://github.com/j178/prek-action/tree/v2) Β· [Prek](prek.md)
diff --git a/website/reference/automation/commitizen.md b/website/reference/automation/commitizen.md
new file mode 100644
index 0000000..4d737d2
--- /dev/null
+++ b/website/reference/automation/commitizen.md
@@ -0,0 +1,21 @@
+# Commitizen
+
+Commitizen checks commit messages against Conventional Commits. The template connects it to Git's `commit-msg` hook in `prek.toml`, so Git can reject an invalid subject before recording the commit.
+
+## Write or check a subject
+
+Start with a change type and a short description. Add a scope in parentheses when it helps readers find the affected area.
+
+- `docs: clarify local setup` explains a documentation change.
+- `fix(cli): handle an empty config path` describes a bug fix in the CLI.
+- `feat: add JSON output` describes a new capability.
+
+When `cz` is available, you can check a proposed message without making a commit.
+
+```bash
+cz check --message "docs: clarify local setup"
+```
+
+The template's mise entry script installs the standalone `cz` command with uv when uv is available and `cz` is missing. Prek runs the pinned hook in its own environment. If commits are being accepted without a check, verify that the hook is installed in your checkout.
+
+[Commitizen check command](https://commitizen-tools.github.io/commitizen/commands/check/) Β· [Git commit hooks](pre-commit-hooks.md)
diff --git a/website/reference/automation/dependabot-policy-workflow.md b/website/reference/automation/dependabot-policy-workflow.md
new file mode 100644
index 0000000..05fc4a7
--- /dev/null
+++ b/website/reference/automation/dependabot-policy-workflow.md
@@ -0,0 +1,15 @@
+# Dependabot policy workflow
+
+The **Dependabot policy gate** lives in `.github/workflows/dependabot-policy.yml`. It requests squash auto-merge for eligible Dependabot patch updates. The [Dependabot configuration](dependabot.md) controls which update pull requests are opened.
+
+## Which pull requests qualify
+
+The workflow listens for opened, updated, or reopened pull requests through `pull_request_target`. The job checks that both the triggering actor and the pull request author are `dependabot[bot]`. It reads the update metadata and requests auto-merge only when the reported update type is `version-update:semver-patch`. A minor update skips that step.
+
+## What to review in your own repository
+
+Auto-merge and squash merging must be enabled in the destination repository. GitHub still applies required reviews and status checks defined by your branch rules. If a patch does not merge, check the workflow result in **Actions** and the requirements listed in the pull request's merge box.
+
+This workflow has write permissions and uses `pull_request_target`. Keep changes to it focused on trusted metadata and GitHub API actions. Run code from the proposed change in the separate [CI Pipeline workflow](ci-workflow.md).
+
+[GitHub auto-merge guidance](https://docs.github.com/en/pull-requests/how-tos/merge-and-close-pull-requests/automatically-merging-a-pull-request) Β· [GitHub's guidance on Dependabot automation](https://docs.github.com/en/code-security/tutorials/secure-your-dependencies/automate-dependabot-with-actions)
diff --git a/website/reference/automation/dependabot.md b/website/reference/automation/dependabot.md
new file mode 100644
index 0000000..ddbba2e
--- /dev/null
+++ b/website/reference/automation/dependabot.md
@@ -0,0 +1,15 @@
+# Dependabot
+
+Dependabot opens version-update pull requests. The template configures it in `.github/dependabot.yml` for GitHub Actions and for uv-managed Python dependencies. The uv entry becomes relevant once the repository has Python dependency metadata.
+
+## Template defaults
+
+Both ecosystems are configured to check monthly at 09:00 in the `Asia/Kolkata` time zone, with a seven-day cooldown for newly released versions and a limit of two open version-update pull requests per ecosystem. Patch updates and minor updates have separate groups, and major version updates are ignored by the version-update policy. Pull requests are labeled by ecosystem and the commit-message prefix is `chore(deps)`.
+
+## Review or customize updates
+
+Read the dependency changelogs and the pull request's checks before you merge an update. A minor update can change behavior even when CI passes. For Python, check the application and the resolved dependencies in `uv.lock` when the update touches them.
+
+Edit the entry for the relevant ecosystem to change the schedule, increase the pull request limit, or track dependencies in a different directory. If your project uses another package manager, update the uv entry to match it. The [Dependabot policy workflow](dependabot-policy-workflow.md) controls the separate auto-merge step for patch pull requests.
+
+[Dependabot options](https://docs.github.com/en/code-security/reference/supply-chain-security/dependabot-options-reference) Β· [Manage Python dependencies](../../how-to/manage-python-dependencies.md)
diff --git a/website/reference/automation/documentation-workflow.md b/website/reference/automation/documentation-workflow.md
new file mode 100644
index 0000000..ced95ca
--- /dev/null
+++ b/website/reference/automation/documentation-workflow.md
@@ -0,0 +1,25 @@
+# Documentation workflow
+
+The **Documentation** workflow lives in `.github/workflows/docs.yml`. It builds the public site with Zensical and publishes successful push builds to GitHub Pages.
+
+## What triggers a build
+
+A pull request targeting `main` or `master` can trigger a build when it is opened, reopened, or updated. A push to either branch can also trigger a build. In both cases, the change must touch at least one watched path.
+
+- `website/**`
+- `zensical.toml`
+- `.github/workflows/docs.yml`
+
+A qualifying pull request runs the build for review. A qualifying push also uploads `site/` as the Pages artifact. The deploy job waits for that build, publishes the artifact to the `github-pages` environment, and reports the site URL. Editing only internal files under `docs/` does not trigger a build.
+
+## Diagnose a failed run
+
+In the **Actions** tab, open the Documentation run and check which job failed. For a build failure, reproduce the workflow command from the repository root.
+
+```bash
+uvx zensical build --clean
+```
+
+For a deploy failure after a successful build, check **Settings β Pages** in the destination repository. The publishing source must be **GitHub Actions**. If you change the output directory or the publishing branch, review the workflow's artifact path and branch filters at the same time.
+
+[Write and publish your docs](../../how-to/publish-docs.md) Β· [Configure a Pages publishing source](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)
diff --git a/website/reference/automation/index.md b/website/reference/automation/index.md
new file mode 100644
index 0000000..5284756
--- /dev/null
+++ b/website/reference/automation/index.md
@@ -0,0 +1,22 @@
+# Checks and automation
+
+Use this overview to find when a check runs and which file controls it. [Run repository checks](../../how-to/run-checks.md) for the usual local workflow.
+
+## Before a commit
+
+- [Git hooks](pre-commit-hooks.md) explains what runs before a commit and what happens when a hook changes files.
+- [Prek](prek.md) runs the configured file checks and describes the TOML and YAML hook configurations.
+- [Commitizen](commitizen.md) validates commit messages.
+
+## On a pull request or push to main
+
+- [CI workflow](ci-workflow.md) explains when GitHub Actions runs the repository checks and where to find failures.
+
+## When the website changes
+
+- [Documentation workflow](documentation-workflow.md) explains the build, artifact upload, and Pages deployment.
+
+## When Dependabot proposes an update
+
+- [Dependabot](dependabot.md) explains how GitHub proposes dependency updates.
+- [Dependabot policy workflow](dependabot-policy-workflow.md) explains when the template requests patch auto-merge and which settings affect it.
diff --git a/website/reference/automation/pre-commit-hooks.md b/website/reference/automation/pre-commit-hooks.md
new file mode 100644
index 0000000..9a110ed
--- /dev/null
+++ b/website/reference/automation/pre-commit-hooks.md
@@ -0,0 +1,24 @@
+# Git commit hooks
+
+Git runs hooks at specific points during a commit. In this template, the hooks give contributors feedback in their own checkout before they push.
+
+| Hook | What happens |
+| --- | --- |
+| `pre-commit` | Prek checks the files staged for the commit. Depending on the file, a hook might validate its syntax, report a lint error, or rewrite it. |
+| `commit-msg` | Commitizen checks the proposed commit message against Conventional Commits. A rejected message needs to be edited before Git can create the commit. |
+
+## When the hooks are installed
+
+The template's mise entry hook runs `scripts/enter_project.sh`. If Prek is available, the script installs missing hooks and replaces existing hook files that do not already mention `prek`. This happens in each local checkout where the entry hook runs. You can also install both hooks explicitly after setup.
+
+```bash
+prek install
+```
+
+To find where Git normally places the hooks in your checkout, run `git rev-parse --git-path hooks`. If Git has a `core.hooksPath` override, check it with `git config --show-origin --get core.hooksPath` when diagnosing a hook that never runs.
+
+## When a check fails
+
+If a hook rewrites a file, review the diff and stage the intended changes before retrying the commit. If it reports a diagnostic, fix the file and run that hook again. GitHub runs a separate [repository checks job](ci-workflow.md), so contributors also get feedback in the pull request.
+
+[Run repository checks](../../how-to/run-checks.md) Β· [Prek configuration](prek.md) Β· [Commit messages](commitizen.md)
diff --git a/website/reference/automation/prek.md b/website/reference/automation/prek.md
new file mode 100644
index 0000000..5af99f5
--- /dev/null
+++ b/website/reference/automation/prek.md
@@ -0,0 +1,23 @@
+# Prek
+
+Prek runs the repository's file checks and installs the scripts Git calls at commit time. It provisions the environments for pinned hooks, so the automatically run checks can use versions different from the standalone tools you run through mise.
+
+## Which configuration applies
+
+Prek reads `prek.toml` in your checkout and in the GitHub CI workflow. If you're used to the separate `pre-commit` program, look here for the settings you would usually find in `.pre-commit-config.yaml`. The template uses the native `builtin` repository for checks that ship with Prek.
+
+The suite combines basic file checks for JSON, YAML, TOML, conflict markers, and whitespace with file-specific tools such as Ruff, ty, Tombi, Biome, rumdl, and ShellCheck. It also checks whether the uv lockfile is current and can export `requirements.txt` when the lockfile is among the files checked.
+
+## Run and customize checks
+
+From the repository root, list available hooks, run one hook against a file, or run the complete file suite.
+
+```bash
+prek list
+prek run check-yaml --files .github/workflows/ci.yml
+prek run --all-files
+```
+
+Each entry in `prek.toml` selects a hook by ID. Remote hook repositories also specify a pinned `rev`. Adjust the hook's arguments or file filters there. For an individual tool's rules, edit its own configuration, such as `ruff.toml`.
+
+[Prek configuration guide](https://prek.j178.dev/configuration/) Β· [Git commit hooks](pre-commit-hooks.md)
diff --git a/website/reference/git/gitattributes.md b/website/reference/git/gitattributes.md
new file mode 100644
index 0000000..3c57c1e
--- /dev/null
+++ b/website/reference/git/gitattributes.md
@@ -0,0 +1,20 @@
+# Git file attributes
+
+The root `.gitattributes` tells Git how to normalize line endings, show diffs, and handle files in archives. It applies during Git operations. [EditorConfig](../tools/editorconfig.md) controls how editors save files.
+
+## Template defaults
+
+- Git detects text files automatically. Shell scripts and Jupyter notebooks are set to use LF. Windows scripts and CSV files are set to use CRLF in the working tree.
+- Python and Markdown files have named diff drivers. Common image and archive formats are marked as binary. Patch files are exempt from text conversion.
+- Git archives omit repository housekeeping files such as `.gitignore` and `.gitattributes` according to their `export-ignore` attributes.
+
+## Inspect an attribute
+
+From the repository root, ask Git which rules apply to the paths you're working with.
+
+```bash
+git check-attr text eol diff -- scripts/setup.sh README.md
+git ls-files --eol -- scripts/setup.sh
+```
+
+Set attributes for new file types only when your project needs specific behavior. If you change line-ending rules in a project with existing files, review the normalization diff separately from functional edits. [Git attributes reference](https://git-scm.com/docs/gitattributes)
diff --git a/website/reference/git/gitignore.md b/website/reference/git/gitignore.md
new file mode 100644
index 0000000..60c67dd
--- /dev/null
+++ b/website/reference/git/gitignore.md
@@ -0,0 +1,18 @@
+# Git ignore rules
+
+The root `.gitignore` keeps untracked local artifacts out of Git's normal change list. It covers Python bytecode and caches, build output, test and coverage reports, local environments such as `.venv/`, `.env` files, and the generated documentation site under `site/`.
+
+## Find which rule matched
+
+Run `git check-ignore -v` with a path to see the file, line, and rule responsible for ignoring it.
+
+```bash
+git check-ignore -v .venv/bin/python site/index.html
+git status --short --ignored
+```
+
+If a file is already tracked, adding an ignore rule leaves it tracked. Review the index before changing how that file is handled. Files such as `uv.lock` and `.python-version` can be tracked because the corresponding examples in this template's ignore file are commented out.
+
+## Customize for your project
+
+Add a rule for generated files your project introduces. Prefer a specific path such as `/reports/` when only a root output directory should be ignored. Keep shared project configuration and source files in Git. [Git ignore patterns](https://git-scm.com/docs/gitignore)
diff --git a/website/reference/git/index.md b/website/reference/git/index.md
new file mode 100644
index 0000000..4b6be24
--- /dev/null
+++ b/website/reference/git/index.md
@@ -0,0 +1,6 @@
+# Git settings
+
+These files apply in a clone of the repository. For GitHub-specific behavior, see [GitHub repository files](../github/index.md).
+
+- [Git ignore rules](gitignore.md) explains why generated or local files stay out of Git.
+- [Git file attributes](gitattributes.md) explains line endings, diff drivers, and archive rules.
diff --git a/website/reference/github/bug-report-form.md b/website/reference/github/bug-report-form.md
new file mode 100644
index 0000000..9587ea1
--- /dev/null
+++ b/website/reference/github/bug-report-form.md
@@ -0,0 +1,13 @@
+# Bug report form
+
+`.github/ISSUE_TEMPLATE/bug_report.yml` defines the **Bug Report** form. It adds a `[Bug]:` title prefix and requests the `bug` label. Choose it when something worked differently than expected and you can describe how to reproduce it. [Issue chooser](issue-templates.md)
+
+## Fill out the form
+
+Provide your operating system, installation method, the steps to reproduce the problem, and what actually happened. Include the command you ran and the first relevant error. The expected result, extra environment details, and any workaround give maintainers more context. Redact credentials and private information before attaching logs or screenshots.
+
+The verification checklist requires reporters to confirm they searched for duplicates, can reproduce the problem, and included the relevant evidence. Testing the latest version is encouraged and is optional in the form.
+
+## Adapt it for your project
+
+Edit `body` to ask for the details you need to reproduce failures. For example, a command-line project might require its version and the exact command, while a library might ask for a short Python example. Set `validations.required` on individual fields only when you need the answer to triage the report. Set required checklist items under the relevant checkbox options. [GitHub's issue form syntax](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms)
diff --git a/website/reference/github/code-of-conduct.md b/website/reference/github/code-of-conduct.md
new file mode 100644
index 0000000..c36ecdd
--- /dev/null
+++ b/website/reference/github/code-of-conduct.md
@@ -0,0 +1,11 @@
+# Code of conduct
+
+`.github/CODE_OF_CONDUCT.md` adapts Contributor Covenant 3.0. It describes expected behavior, prohibited conduct, how to report an incident, and possible responses. Its scope covers project community spaces and people officially representing the project. [Contributor Covenant 3.0](https://www.contributor-covenant.org/version/3/0/code_of_conduct/)
+
+## Report a concern
+
+Use the contact listed in **Reporting an Issue** in your repository's code of conduct. Include what happened and when, and share relevant details privately. The [bug report form](bug-report-form.md) is for problems with the project. It creates an issue visible to people with access to the repository.
+
+## Update the policy for your project
+
+Replace the inherited reporting address with a monitored contact for your project and decide who will receive reports. Review the scope and enforcement sections so they match how your maintainers can respond. Keep the Contributor Covenant attribution when adapting the text. [GitHub's code of conduct guidance](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project)
diff --git a/website/reference/github/codeowners.md b/website/reference/github/codeowners.md
new file mode 100644
index 0000000..0934eba
--- /dev/null
+++ b/website/reference/github/codeowners.md
@@ -0,0 +1,15 @@
+# CODEOWNERS
+
+`.github/CODEOWNERS` tells GitHub whom to request for review when a pull request changes owned files. The template ships one active rule, `* @HYP3R00T`, which assigns every path to the template maintainer when that account has write access. GitHub reads the file from the pull request's base branch. [GitHub's code owners documentation](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-code-owners)
+
+## Set owners for your repository
+
+Replace the default account with a maintainer who has write access. If you use teams, make sure each team is visible and has write access to the repository. Put general patterns before specific ones because the last matching line wins. For example, replace the placeholder organization and team names in this layout with your own.
+
+```text
+* @your-org/maintainers
+/website/ @your-org/docs
+/.github/CODEOWNERS @your-org/maintainers
+```
+
+Once the file is on the base branch, open a pull request that touches an example path and check the **Reviewers** list. Draft pull requests get automatic code-owner review requests when marked ready for review. To make an approval from a code owner necessary before merging, configure that requirement in [your repository settings](../../how-to/configure-github.md).
diff --git a/website/reference/github/feature-request-form.md b/website/reference/github/feature-request-form.md
new file mode 100644
index 0000000..91cd60f
--- /dev/null
+++ b/website/reference/github/feature-request-form.md
@@ -0,0 +1,13 @@
+# Feature request form
+
+`.github/ISSUE_TEMPLATE/feature_request.yml` defines the **Feature Request** form. It adds a `[Feature]:` title prefix and requests the `enhancement` label. Choose it when you need a capability or improvement. Use the [bug report form](bug-report-form.md) for reproducible unexpected behavior.
+
+## Make the need clear
+
+Start with **Problem or Motivation**, the required text field. Describe who is affected, what they are trying to do, and how they handle it today. The proposed solution, alternatives, and additional context fields are optional. A short example can show what a successful change would let you do.
+
+The form also asks you to check for existing or planned work and to agree to follow the [code of conduct](code-of-conduct.md). Submitting the form gives maintainers a proposal to review.
+
+## Adapt it for your project
+
+Adjust the prompts to match how your maintainers triage ideas. For instance, you can add an input for the affected command or platform. Keep `id` values unique inside the form, and verify that your repository has the configured label. If you manage proposals in Discussions, add a link to that venue in the [issue chooser](issue-templates.md). [GitHub's issue form syntax](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-issue-forms)
diff --git a/website/reference/github/funding.md b/website/reference/github/funding.md
new file mode 100644
index 0000000..eadd6e0
--- /dev/null
+++ b/website/reference/github/funding.md
@@ -0,0 +1,9 @@
+# Funding links
+
+`.github/FUNDING.yml` supplies the destinations behind GitHub's **Sponsor** button when sponsorships are enabled. The template sets `github: HYP3R00T`, which points to the original maintainer's GitHub Sponsors profile. [GitHub's funding configuration](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository)
+
+## Choose where the button leads
+
+When setting up your repository, review the inherited destination. Replace it with your eligible GitHub Sponsors account or a supported funding service. For a project-specific funding page, add a `custom` URL. Remove the inherited funding file if you do not need it.
+
+An administrator can check **Settings β General β Features β Sponsorships** to enable the feature. Keep `.github/FUNDING.yml` on the default branch, then check the button from the repository's main page and confirm that each link reaches the intended funding destination. [Configure your GitHub repository](../../how-to/configure-github.md)
diff --git a/website/reference/github/index.md b/website/reference/github/index.md
new file mode 100644
index 0000000..0d0beec
--- /dev/null
+++ b/website/reference/github/index.md
@@ -0,0 +1,18 @@
+# GitHub repository files
+
+These files live under `.github/` and shape what contributors see on GitHub. After creating a repository from the template, use [Configure your GitHub repository](../../how-to/configure-github.md) to update the inherited settings.
+
+## Issues and pull requests
+
+- [Issue templates](issue-templates.md) explains the issue chooser and its settings.
+- [Bug report form](bug-report-form.md) collects information needed to diagnose a problem.
+- [Feature request form](feature-request-form.md) asks for the problem and proposed improvement.
+- [Pull request template](pull-request-template.md) gives authors a place to describe changes and tests.
+
+## Ownership and community
+
+- [Code owners](codeowners.md) controls who GitHub requests for review.
+- [Code of conduct](code-of-conduct.md) describes expectations and how to report an incident.
+- [Funding](funding.md) configures the repository's sponsorship link.
+
+For settings that control GitHub Actions and dependency updates, see [Checks and automation](../automation/index.md).
diff --git a/website/reference/github/issue-templates.md b/website/reference/github/issue-templates.md
new file mode 100644
index 0000000..b6c42f4
--- /dev/null
+++ b/website/reference/github/issue-templates.md
@@ -0,0 +1,15 @@
+# Issue templates
+
+When someone selects **Issues β New issue**, GitHub reads the files in `.github/ISSUE_TEMPLATE/` on the default branch. The template provides two YAML forms and a separate configuration file for the chooser.
+
+| File | What it controls |
+| --- | --- |
+| `bug_report.yml` | The [bug report form](bug-report-form.md) for a reproducible problem. |
+| `feature_request.yml` | The [feature request form](feature-request-form.md) for an unmet need or proposed improvement. |
+| `config.yml` | The chooser's blank-issue option and any links to other places to ask for help. |
+
+## Change the chooser
+
+The template sets `blank_issues_enabled: false` and defines no contact links. GitHub still shows a **Maintainers only** blank-issue option to people with write access or higher. Set `blank_issues_enabled` to `true` to show the option to everyone with access. Add a `contact_links` list when a request belongs elsewhere, such as in a support forum. Each entry needs a `name`, `url`, and `about` description. [GitHub's chooser configuration](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#configuring-the-template-chooser)
+
+Keep the individual forms in the same folder and make sure the labels named in their YAML files exist in your repository. Once your changes are on the default branch, open **Issues β New issue** and verify that both forms and any contact links appear. If the **Issues** tab is missing, check that issues are enabled in [your repository settings](../../how-to/configure-github.md).
diff --git a/website/reference/github/pull-request-template.md b/website/reference/github/pull-request-template.md
new file mode 100644
index 0000000..903b968
--- /dev/null
+++ b/website/reference/github/pull-request-template.md
@@ -0,0 +1,13 @@
+# Pull request template
+
+GitHub uses `.github/PULL_REQUEST_TEMPLATE.md` from the default branch to fill the body of a new pull request. The template asks for a description, related issues, what changed, testing, a checklist, and additional notes. [GitHub's pull request template documentation](https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository)
+
+## Write the description
+
+Replace the instructions and example bullets with specifics. Explain what reviewers should look at, link the relevant issue, and list the commands you actually ran and their results. Leave a short explanation for any important check you could not run or any risk a reviewer should consider. [Open a pull request](../../how-to/open-a-pull-request.md)
+
+## Update the checklist for your repository
+
+Keep the Markdown file on the default branch. Update the example environments and test paths after setting up your project, and keep checklist items that reflect what contributors can check.
+
+The checkboxes record what the author says they did. GitHub's [CI workflow](../automation/ci-workflow.md) and repository settings determine which checks are run and required for merging. If you want to enforce a title convention, configure a separate check for PR titles. A commit message hook validates commit messages.
diff --git a/website/reference/index.md b/website/reference/index.md
new file mode 100644
index 0000000..d327e11
--- /dev/null
+++ b/website/reference/index.md
@@ -0,0 +1,10 @@
+# Reference
+
+Find the file or tool you need to understand, then follow the guide for the task you're doing.
+
+- [Development tools](tools/index.md) covers the environment, editor settings, and individual formatting, linting, and documentation tools.
+- [Checks and automation](automation/index.md) covers pre-commit hooks, Prek, Commitizen, Dependabot, and the three GitHub Actions workflows.
+- [Git settings](git/index.md) explains which files Git ignores and what it does with line endings and diffs.
+- [GitHub repository files](github/index.md) covers issue forms, the pull request template, code owners, the code of conduct, and funding.
+
+The template is released under the [MIT License](https://github.com/HYP3R00T/python-project-template/blob/main/LICENSE).
diff --git a/website/reference/tools/biome.md b/website/reference/tools/biome.md
new file mode 100644
index 0000000..d9612b1
--- /dev/null
+++ b/website/reference/tools/biome.md
@@ -0,0 +1,18 @@
+# Biome
+
+Biome formats and lints supported web and configuration files. In this template, use it for files such as the Dev Container's JSON configuration and for web files you add to your project.
+
+## Configuration in this template
+
+`biome.json` enables Git ignore integration, uses [EditorConfig](editorconfig.md) for formatter defaults, and sets the formatter's line width to 120. It selects Biome's recommended lint rules and enables the experimental full HTML support and HTML formatter. Markdown, MDX, and YAML are excluded. Use [rumdl](rumdl.md) for Markdown and the `check-yaml` Prek hook for YAML syntax.
+
+## Check or fix a file
+
+From the repository root, run a check on the file you edited. Add `--write` when you want Biome to apply formatting and available safe fixes, then review the diff.
+
+```bash
+biome check .devcontainer/devcontainer.json
+biome check --write .devcontainer/devcontainer.json
+```
+
+The `biome-check` hook is registered in `prek.toml`. Set file patterns, formatter settings, or lint rules in `biome.json` if your derived project adds web code or generated assets. [Biome configuration reference](https://biomejs.dev/reference/configuration/)
diff --git a/website/reference/tools/dev-container.md b/website/reference/tools/dev-container.md
new file mode 100644
index 0000000..7477f64
--- /dev/null
+++ b/website/reference/tools/dev-container.md
@@ -0,0 +1,17 @@
+# Dev Container
+
+The Dev Container gives contributors a shared Linux development environment. VS Code connects to the container so your terminal and development tools run in the same environment as other contributors using this setup.
+
+## Configuration in this template
+
+- `.devcontainer/devcontainer.json` tells the Dev Containers extension to build from the local Dockerfile and run `bash scripts/setup.sh` after creating the container.
+- `.devcontainer/Dockerfile` starts from the Ubuntu 26.04 Dev Containers base, adds mise, uv, Python, and tmux, and configures mise activation in Bash and Zsh.
+- `scripts/setup.sh` changes to the repository root, trusts `mise.toml`, and installs the tools declared there.
+
+## Open or rebuild the container
+
+Follow [Set up your environment](../../get-started/development-environment.md) to open it in VS Code. After changing the Dockerfile or the Dev Container configuration, use **Dev Containers: Rebuild Container** in the Command Palette. In a container terminal, run `mise current` to see the selected tools. Use **Dev Containers: Show Container Log** if the image build or setup command fails.
+
+## Customize the environment
+
+Put OS packages needed by everyone using the container in the Dockerfile. Use `mise.toml` for shared command-line tools that should also work in local development. Review lifecycle commands in `devcontainer.json` before adding setup work that should run whenever a container is created. [Developing inside a container](https://code.visualstudio.com/docs/devcontainers/containers)
diff --git a/website/reference/tools/editorconfig.md b/website/reference/tools/editorconfig.md
new file mode 100644
index 0000000..c6d09ad
--- /dev/null
+++ b/website/reference/tools/editorconfig.md
@@ -0,0 +1,15 @@
+# EditorConfig
+
+EditorConfig gives compatible editors a shared baseline for indentation, whitespace, and line endings. Open the repository root in your editor and enable its built-in EditorConfig support or install the editor's integration.
+
+## Configuration in this template
+
+The root `.editorconfig` sets UTF-8, LF line endings, a final newline, and trimming of trailing whitespace. Its defaults use two spaces for indentation and a maximum line length setting of 120. Markdown and files named `Dockerfile` override the indentation size to four spaces. Some editors support only a subset of the properties.
+
+## Check that your editor picked it up
+
+Open an existing Markdown file and a JSON file, then check the editor's indentation indicator. The Markdown file should use four spaces and the JSON file should use two. If your editor chooses a formatter on save, that formatter may have its own configuration. [Biome](biome.md) is configured to read EditorConfig values, and [Ruff](ruff.md) applies its Python settings from `ruff.toml`.
+
+## Change a rule
+
+If your project needs a different style for a file type, add a matching section to `.editorconfig` and check a representative file in the editor. Update the corresponding formatter settings if editor behavior and formatter output disagree. [EditorConfig file format](https://editorconfig.org/#file-format-details)
diff --git a/website/reference/tools/gitleaks.md b/website/reference/tools/gitleaks.md
new file mode 100644
index 0000000..8270554
--- /dev/null
+++ b/website/reference/tools/gitleaks.md
@@ -0,0 +1,18 @@
+# Gitleaks
+
+Gitleaks looks for patterns that commonly indicate secrets, such as access tokens, in files or Git history. mise installs it for manual checks. The template's Prek suite and CI workflow do not run it automatically.
+
+## Choose what to scan
+
+Run either command from the repository root. The first scans Git history and the second scans files in the working directory, including files you may not have committed. Both redact detected secret values in output.
+
+```bash
+gitleaks git --redact .
+gitleaks dir --redact .
+```
+
+Review the reported file, commit, and rule. If a real credential has been exposed, revoke or rotate it and follow your project's incident process without copying the credential into a ticket.
+
+## Set up checks for your project
+
+The template doesn't provide a project-specific Gitleaks configuration. If your repository needs custom rules or automated scans, use Gitleaks' configuration and CI documentation and decide separately where that check belongs. [Gitleaks usage](https://github.com/gitleaks/gitleaks#usage)
diff --git a/website/reference/tools/index.md b/website/reference/tools/index.md
new file mode 100644
index 0000000..0d9aaf6
--- /dev/null
+++ b/website/reference/tools/index.md
@@ -0,0 +1,31 @@
+# Development tools
+
+Each page explains when to use the tool, which configuration the template supplies, and how to adapt it in your own repository.
+
+## Environment and dependencies
+
+- [Dev Container](dev-container.md) provides a shared development environment.
+- [mise](mise.md) installs and exposes the repository's tools.
+- [uv](uv.md) manages Python projects, dependencies, and environments.
+- [EditorConfig](editorconfig.md) tells editors how to handle whitespace and indentation.
+
+## Python
+
+- [Ruff](ruff.md) lints and formats Python.
+- [ty](ty.md) checks Python types.
+
+## Markdown and the docs site
+
+- [rumdl](rumdl.md) checks and formats Markdown.
+- [Zensical](zensical.md) builds the public documentation site.
+
+## Configuration files and shell scripts
+
+- [Tombi](tombi.md) checks and formats TOML.
+- [Biome](biome.md) handles JSON and supported web files.
+- [ShellCheck](shellcheck.md) analyzes shell scripts.
+
+## Git checks and secret scanning
+
+- [Prek](../automation/prek.md) runs the configured checks.
+- [Gitleaks](gitleaks.md) scans files or Git history for secrets when you run it.
diff --git a/website/reference/tools/mise.md b/website/reference/tools/mise.md
new file mode 100644
index 0000000..3f73a04
--- /dev/null
+++ b/website/reference/tools/mise.md
@@ -0,0 +1,23 @@
+# mise
+
+mise installs and selects the command-line tools this repository uses. Use it to give contributors the same development tools in a local shell or inside the Dev Container.
+
+## Configuration in this template
+
+- `mise.toml` declares uv, Prek, Ruff, ty, rumdl, Tombi, Biome, Gitleaks, and ShellCheck. The ShellCheck declaration applies to Linux and macOS.
+- Version requests use `latest`, and the enabled lockfile records resolved versions and download information in `mise.lock`.
+- The Bash entry hook in `scripts/enter_project.sh` installs Commitizen when uv is available and `cz` is missing. It can install or replace the Prek Git hooks. The configuration also loads environment variables from a local, Git-ignored `.env` file.
+- The `docs` task previews the website. The `sync` task runs `uv sync --upgrade`, which can change the project's Python lockfile.
+
+## Work with the toolchain
+
+Follow [Set up your environment](../../get-started/development-environment.md) to review and trust the configuration, install its tools, and activate mise in your shell. Run these from the repository root to see which uv version is selected or run a command with mise's tools for one invocation.
+
+```bash
+mise current uv
+mise exec -- uv --version
+```
+
+## Customize a derived repository
+
+Edit `[tools]` in `mise.toml` to add a tool or change its requested version, then run `mise install`. Review the changes to both `mise.toml` and `mise.lock`. Check [Prek](../automation/prek.md) separately if the tool also runs in a hook, since hook revisions are declared in the hook configuration. [mise configuration reference](https://mise.jdx.dev/configuration.html)
diff --git a/website/reference/tools/ruff.md b/website/reference/tools/ruff.md
new file mode 100644
index 0000000..bff7649
--- /dev/null
+++ b/website/reference/tools/ruff.md
@@ -0,0 +1,22 @@
+# Ruff
+
+Ruff lints and formats Python. Linting catches problems such as unused imports and unsorted imports. Formatting applies the repository's style consistently to Python files.
+
+## Configuration in this template
+
+`ruff.toml` respects Git ignore files and sets the formatter's line-length target to 120. It uses double quotes, spaces for indentation, LF endings, and formatting for code in docstrings. The selected lint families cover Python style and correctness, import sorting, naming, and categories such as bug risks, modernization, and simplification. The long-line and complexity lint rules `E501` and `C901` are disabled.
+
+## Check or fix Python files
+
+From your project root, run the two read-only checks.
+
+```bash
+ruff check .
+ruff format --check .
+```
+
+Run `ruff check --fix .` or `ruff format .` when you want to apply fixes. The Prek configuration runs `ruff-check` with `--fix` as well as the separate `ruff-format` hook, so review any hook changes before retrying your commit.
+
+## Customize a rule
+
+Edit `[lint]` in `ruff.toml` to change which rules are enforced. If generated files need different rules, scope the exception to those paths. Use `ruff rule F401` to read an explanation of the unused-import rule or pass another rule code from your output. [Ruff configuration reference](https://docs.astral.sh/ruff/configuration/)
diff --git a/website/reference/tools/rumdl.md b/website/reference/tools/rumdl.md
new file mode 100644
index 0000000..f32870d
--- /dev/null
+++ b/website/reference/tools/rumdl.md
@@ -0,0 +1,18 @@
+# rumdl
+
+rumdl checks and formats Markdown. Its diagnostics include a location and rule code, which help you find problems such as misplaced blank lines or inconsistent headings in the README and documentation.
+
+## Configuration in this template
+
+`rumdl.toml` selects the `standard` Markdown flavor and records the template's disabled rules. For example, it disables the line-length rule `MD013`, the raw HTML rule `MD033`, and the list indentation rule `MD007` so the repository can use four-space nesting. Prek registers the rumdl hook for applicable Markdown files.
+
+## Check and fix Markdown
+
+Run the check from the repository root. After applying fixes to an individual page, review the diff and run the check again for any remaining diagnostics.
+
+```bash
+rumdl check README.md docs website
+rumdl fmt website/index.md
+```
+
+If your project adopts a different Markdown convention, update `rumdl.toml` and check a representative page in the terminal and the rendered [Zensical](zensical.md) site. The linter checks the source, and a site build can catch broken links and rendering problems. [rumdl commands](https://rumdl.dev/usage/cli/)
diff --git a/website/reference/tools/shellcheck.md b/website/reference/tools/shellcheck.md
new file mode 100644
index 0000000..d3345fd
--- /dev/null
+++ b/website/reference/tools/shellcheck.md
@@ -0,0 +1,17 @@
+# ShellCheck
+
+ShellCheck analyzes shell scripts for issues such as unsafe quoting, mistaken patterns, and variables that may be used incorrectly. It checks the script text without running it, so you can use it while editing setup scripts.
+
+## Configuration in this template
+
+The only setting in `.shellcheckrc` is `external-sources=false`. It keeps ShellCheck from following arbitrary files referenced through `source` or `.` unless they are included in the invocation. mise declares ShellCheck for Linux and macOS, and Prek registers a ShellCheck hook.
+
+## Check the setup scripts
+
+Run this from the repository root on a machine with ShellCheck available.
+
+```bash
+shellcheck scripts/*.sh
+```
+
+Use the diagnostic code in the output to look up the suggested correction. If your derived project splits a script across several files, pass those files explicitly or configure source lookups for known project paths. Keep any exception close to the script or rule that needs it. [ShellCheck documentation](https://github.com/koalaman/shellcheck/wiki)
diff --git a/website/reference/tools/tombi.md b/website/reference/tools/tombi.md
new file mode 100644
index 0000000..0ac617c
--- /dev/null
+++ b/website/reference/tools/tombi.md
@@ -0,0 +1,18 @@
+# Tombi
+
+Tombi lints and formats TOML. Use it after editing configuration files such as `mise.toml`, `zensical.toml`, or a derived project's `pyproject.toml`. Its schema support can also flag invalid configuration keys where a schema is available.
+
+## Configuration in this template
+
+`tombi.toml` defines a two-space indent, spaces for indentation, and LF line endings. Prek runs both `tombi-format` and `tombi-lint`. The hook suite also has a general TOML syntax check.
+
+## Check and format a TOML file
+
+Run these examples from the repository root. Replace `mise.toml` with the file you edited.
+
+```bash
+tombi lint mise.toml
+tombi format --check mise.toml
+```
+
+Run `tombi format mise.toml` to apply formatting and review the result in Git. Change `[format.rules]` in `tombi.toml` to set a different formatting policy. Use Tombi's schema settings if a custom TOML file needs validation tailored to your project. [Tombi configuration](https://tombi-toml.github.io/tombi/docs/configuration/)
diff --git a/website/reference/tools/ty.md b/website/reference/tools/ty.md
new file mode 100644
index 0000000..42e95f9
--- /dev/null
+++ b/website/reference/tools/ty.md
@@ -0,0 +1,18 @@
+# ty
+
+ty checks Python types. It can report that an argument has the wrong type, that a value may be `None` where a real value is required, or that an import cannot be resolved. It complements [Ruff](ruff.md) and your project's tests.
+
+## Configuration in this template
+
+`ty.toml` sets `src.respect-ignore-files = true`, so discovery follows ignore files such as `.gitignore`. The template declares ty in `mise.toml` and registers a ty hook in `prek.toml`. Add Python source in your derived repository to get meaningful results from the check.
+
+## Check types
+
+From the root of an initialized Python project, sync its dependencies and run ty. A current environment helps ty find dependencies your code imports.
+
+```bash
+uv sync
+ty check
+```
+
+When working on one area, pass a source path such as `ty check src` if that directory exists in your layout. To change discovery or the severity of a diagnostic, edit `ty.toml` and run the check again. [ty type-checking guide](https://docs.astral.sh/ty/type-checking/)
diff --git a/website/reference/tools/uv.md b/website/reference/tools/uv.md
new file mode 100644
index 0000000..53137aa
--- /dev/null
+++ b/website/reference/tools/uv.md
@@ -0,0 +1,20 @@
+# uv
+
+uv initializes Python projects, manages Python dependencies and environments, and runs commands inside those environments. The [project initialization guide](../../get-started/initialize-python.md) shows how to choose an app, library, script, or workspace layout.
+
+## Configuration in this template
+
+mise declares the uv executable. The template starts without a Python project manifest or lockfile. Once you initialize a project, `pyproject.toml` holds declared dependencies and the supported Python range, and `uv.lock` records the dependency resolution for the repository.
+
+The Prek hook suite checks lockfile freshness on relevant root configuration files. When a root `uv.lock` is checked, the configured export hook can write `requirements.txt`. The mise task `sync` runs `uv sync --upgrade` and can update the resolution.
+
+## Use the project's environment
+
+After creating or adding dependencies to a project, run the commands from its root. After a teammate has committed `uv.lock`, use the locked sync shown below to set up your environment and detect stale dependency metadata.
+
+```bash
+uv sync --locked
+uv run python --version
+```
+
+Give runtime and development dependencies separate entries. For example, `uv add httpx` adds a runtime dependency and `uv add --dev pytest` adds a development dependency. Review the manifest and lockfile changes together. [Manage Python dependencies](../../how-to/manage-python-dependencies.md) Β· [uv project documentation](https://docs.astral.sh/uv/guides/projects/)
diff --git a/website/reference/tools/zensical.md b/website/reference/tools/zensical.md
new file mode 100644
index 0000000..86a973e
--- /dev/null
+++ b/website/reference/tools/zensical.md
@@ -0,0 +1,22 @@
+# Zensical
+
+Zensical turns the public Markdown in `website/` into a browsable site with navigation and search. Internal development and agent guidance lives under `docs/`.
+
+## Configuration in this template
+
+`zensical.toml` points `docs_dir` at `website` and defines the navigation and metadata. The mise `docs` task starts a local preview through `uvx`. The documentation workflow builds the site into `site/` and deploys eligible builds to GitHub Pages.
+
+## Preview and build
+
+Run these from the repository root. Stop the preview before building separately.
+
+```bash
+mise run docs
+uvx zensical build --clean --strict
+```
+
+Open the local URL printed by the preview. A strict build treats warnings as failures, which helps catch broken references and configuration problems before publishing.
+
+## Customize the site
+
+Update the project name, repository URL, canonical site URL, and navigation in `zensical.toml` for your derived repository. Add relative Markdown links between pages. [Write and publish your docs](../../how-to/publish-docs.md) Β· [Zensical navigation](https://zensical.org/docs/setup/navigation/)
diff --git a/zensical.toml b/zensical.toml
index 7654a4f..d1e4472 100644
--- a/zensical.toml
+++ b/zensical.toml
@@ -1,42 +1,82 @@
[project]
-site_name = "python-project-template"
-site_description = "Add your description here"
+site_name = "Python Project Template"
+site_description = "Create a Python project with a shared development environment, repository checks, and a documentation site."
+site_url = "https://python-template.hyperoot.dev/"
+site_author = "Rajesh Das"
repo_name = "HYP3R00T/python-project-template"
repo_url = "https://github.com/HYP3R00T/python-project-template"
-site_author = "Rajesh Das"
+edit_uri = "edit/main/website/"
copyright = "Copyright © 2026 Rajesh Das"
+docs_dir = "website"
+# Keep section names and page order explicit. Most page titles come from Markdown.
nav = [
{ Home = "index.md" },
- { Dev = [
- { Setup = "dev/setup/index.md" },
- { "Template Setup" = "dev/setup/from-template.md" },
- { Resources = "dev/resources.md" },
- { Contributing = [
- { "Authoring Documentation" = "dev/contributing/authoring-documentation.md" },
- { "Naming Conventions" = "dev/contributing/naming-conventions.md" },
- { "Documentation Principles" = [
- { "Principle 1: No Fiction" = "dev/contributing/documentation-principles/principle-1-no-fiction.md" },
- { "Principle 2: Single Responsibility" = "dev/contributing/documentation-principles/principle-2-single-responsibility.md" },
- { "Principle 3: Scale by Folders" = "dev/contributing/documentation-principles/principle-3-scale-by-folders.md" },
- { "Principle 4: Link to Code" = "dev/contributing/documentation-principles/principle-4-link-to-code.md" },
- { "Principle 5: Format & Style" = "dev/contributing/documentation-principles/principle-5-format-style.md" },
- { "Principle 6: Structure Uniformity" = "dev/contributing/documentation-principles/principle-6-structure-uniformity.md" },
- ] },
+ { "Get started" = [
+ "get-started/create-a-project.md",
+ "get-started/development-environment.md",
+ "get-started/initialize-python.md",
+ "get-started/customize-your-project.md",
+ ] },
+ { Guides = [
+ "how-to/run-checks.md",
+ "how-to/format-and-lint.md",
+ "how-to/manage-python-dependencies.md",
+ "how-to/add-tests.md",
+ "how-to/open-a-pull-request.md",
+ "how-to/work-with-coding-agents.md",
+ { "Configure GitHub" = "how-to/configure-github.md" },
+ "how-to/publish-docs.md",
+ ] },
+ { Reference = [
+ "reference/index.md",
+ { "Development tools" = [
+ "reference/tools/index.md",
+ "reference/tools/dev-container.md",
+ "reference/tools/mise.md",
+ "reference/tools/uv.md",
+ "reference/tools/editorconfig.md",
+ "reference/tools/ruff.md",
+ "reference/tools/ty.md",
+ "reference/tools/rumdl.md",
+ "reference/tools/zensical.md",
+ "reference/tools/tombi.md",
+ "reference/tools/biome.md",
+ "reference/tools/shellcheck.md",
+ "reference/tools/gitleaks.md",
] },
- { Testing = [
- { "Unit Tests" = "dev/testing/unit-tests.md" },
- { "Integration Tests" = "dev/testing/integration-tests.md" },
- { "Optional Markers" = "dev/testing/optional-markers.md" },
- { "Property Tests" = "dev/testing/property-tests.md" },
+ { "Checks and automation" = [
+ "reference/automation/index.md",
+ "reference/automation/pre-commit-hooks.md",
+ "reference/automation/prek.md",
+ "reference/automation/commitizen.md",
+ "reference/automation/ci-workflow.md",
+ "reference/automation/documentation-workflow.md",
+ "reference/automation/dependabot.md",
+ "reference/automation/dependabot-policy-workflow.md",
+ ] },
+ { "Git settings" = [
+ "reference/git/index.md",
+ "reference/git/gitignore.md",
+ "reference/git/gitattributes.md",
+ ] },
+ { "GitHub repository files" = [
+ "reference/github/index.md",
+ "reference/github/issue-templates.md",
+ "reference/github/bug-report-form.md",
+ "reference/github/feature-request-form.md",
+ "reference/github/pull-request-template.md",
+ "reference/github/codeowners.md",
+ "reference/github/code-of-conduct.md",
+ "reference/github/funding.md",
] },
] },
+ "contributing.md",
]
[project.theme]
language = "en"
features = [
- "announce.dismiss",
"content.action.edit",
"content.action.view",
"content.code.annotate",
@@ -48,9 +88,9 @@ features = [
"navigation.footer",
"navigation.indexes",
"navigation.instant",
- "navigation.instant.prefetch",
"navigation.instant.progress",
"navigation.path",
+ "navigation.tabs",
"navigation.top",
"navigation.tracking",
"search.highlight",
@@ -85,12 +125,11 @@ top = "lucide/arrow-up"
edit = "lucide/file-pen-line"
view = "lucide/file-braces-corner"
-[project.markdown_extensions.admonition]
-[project.markdown_extensions.pymdownx.details]
-[project.markdown_extensions.pymdownx.superfences]
-custom_fences = [
+[project.markdown_extensions]
+admonition = {}
+attr_list = {} # Enables the Markdown button classes on the home and setup pages.
+pymdownx.details = {}
+pymdownx.superfences.custom_fences = [
{ name = "mermaid", class = "mermaid", format = "pymdownx.superfences.fence_code_format" },
]
-
-[project.markdown_extensions.pymdownx.tabbed]
-alternate_style = true
+pymdownx.tabbed.alternate_style = true