Skip to main content

AI-assisted development context management tool for maintaining consistency and productivity

Project description

Quaestor

๐Ÿ›๏ธ Keep your AI assistant on track and actually useful

Python License: MIT PyPI

Quaestor gives your AI assistant the context it needs to actually help you code. It analyzes your project, generates smart documentation, and keeps Claude from going off the rails.

๐ŸŽฏ Why?

Ever had Claude forget what you were working on? Or suggest patterns that don't match your codebase? Yeah, us too.

Quaestor fixes that by:

  • ๐Ÿง  Understanding your code: Detects your stack, patterns, and architecture automatically
  • ๐Ÿ“š Keeping context: Maintains what's been done and what's next across sessions
  • ๐ŸŽฎ Enforcing standards: Makes sure AI follows YOUR project's patterns, not generic ones
  • ๐Ÿ“Š Tracking progress: Knows what's done, what's in progress, what's next
  • โœ… Quality gates: Won't let AI claim "done" until tests pass and linters are happy

๐Ÿ“ฆ Installation

Quickest (no install needed)

# Just run it
uvx quaestor init

If you want it installed

# Global install with uv
uv tool install quaestor

# Or add to your project
uv add quaestor

# Old school pip works too
pip install quaestor

๐Ÿš€ Getting Started

1. Initialize in your project:

quaestor init

This will:

  • ๐Ÿ” Scan your code to figure out what you're building
  • ๐Ÿ’ฌ Ask a few smart questions based on what it finds
  • ๐Ÿ“ Generate context files that AI assistants actually understand
  • โœจ Set you up for success

2. What you get:

  • CLAUDE.md - Instructions for your AI assistant (root dir so Claude auto-reads it)
  • .quaestor/ARCHITECTURE.md - Your actual architecture (not hallucinated)
  • .quaestor/MEMORY.md - What's been done, what's next
  • .quaestor/commands/ - Battle-tested workflows

3. Just start coding:

When you open your project with Claude, it automatically reads these files and knows:

  • Your project structure
  • Your coding standards
  • What you're working on
  • How to test and validate changes

๐Ÿ“ What goes where

your-project/
โ”œโ”€โ”€ CLAUDE.md              # AI reads this first
โ””โ”€โ”€ .quaestor/
    โ”œโ”€โ”€ ARCHITECTURE.md    # Your real architecture
    โ”œโ”€โ”€ MEMORY.md          # Progress tracking
    โ””โ”€โ”€ commands/          # Workflows that work
        โ”œโ”€โ”€ project-init.md # Smart project analysis
        โ”œโ”€โ”€ task-py.md     # Python workflows
        โ”œโ”€โ”€ task-rs.md     # Rust workflows
        โ”œโ”€โ”€ check.md       # Quality checks
        โ””โ”€โ”€ compose.md     # Template combos

๐ŸŒŸ What it does

Right now

  • ๐Ÿ” Smart Analysis:

    • Figures out your stack (React? Django? FastAPI? etc.)
    • Detects your patterns (MVC? DDD? Microservices?)
    • Finds your tools (PostgreSQL? Redis? Docker?)
  • ๐Ÿค– Context Generation:

    • Writes docs FROM your code, not assumptions
    • Tracks progress from git history
    • Asks the right questions
  • ๐Ÿ“ AI-Friendly Format:

    • Special markers for precise edits
    • Structured data that won't get mangled
    • Designed for LLMs, not humans
  • ๐ŸŽฏ Command System:

    • init - Smart setup with code analysis
    • task-py / task-rs - Language-specific workflows
    • check - Make sure everything's clean
    • compose - Combine templates for complex stuff

Coming soon

  • Git Review: Automated PR reviews that actually understand your code
  • Auto Docs: Keep docs in sync with code automatically
  • More Languages: task-js, task-go, etc.
  • Team Sync: Share context across your team

๐Ÿ—๏ธ How it actually works

When you run quaestor init:

  1. Scans your project:

    • Looks for package.json, requirements.txt, Cargo.toml, etc.
    • Detects frameworks from imports and dependencies
    • Figures out your architecture from folder structure
  2. Asks smart questions:

    • Only asks what it can't figure out
    • Questions based on what it found
    • Skips the obvious stuff
  3. Generates real docs:

    • Architecture based on your actual code
    • Progress from your git history
    • Standards from your existing patterns

The special format

We use a markdown format that LLMs can reliably parse and edit:

<!-- SECTION:architecture:database:START -->
```yaml
database:
  type: PostgreSQL
  orm: SQLAlchemy
  migrations: Alembic

This lets AI make precise edits without breaking your docs.

## ๐Ÿ”— Part of something bigger

Quaestor is part of Praetor - tools for engineers who actually like coding but want AI to handle the boring stuff. You stay in control, AI does the grunt work. It's just that most of it is my head.

## ๐Ÿ’ป Contributing

```bash
# Get the code
git clone https://github.com/jeanluciano/quaestor.git
cd quaestor

# Setup
uv sync

# Test it
uv run pytest

# Try it
uv run python main.py init

๐Ÿ“š Command Templates

  • project-init.md - Analyzes your project and sets everything up
  • task-py.md - Python implementation with all the checks
  • task-rs.md - Rust implementation with clippy and all
  • check.md - Fix all the things
  • compose.md - Combine templates for complex operations

๐Ÿ“„ License

MIT - Use it however you want.

๐Ÿค Contributing

PRs welcome! Just make sure tests pass and linters are happy.

Project details


Download files

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

Source Distribution

quaestor-0.1.2.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

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

quaestor-0.1.2-py3-none-any.whl (45.0 kB view details)

Uploaded Python 3

File details

Details for the file quaestor-0.1.2.tar.gz.

File metadata

  • Download URL: quaestor-0.1.2.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for quaestor-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d14b44b2b17ff20a247658a4a27ce0ee59f270b09da36a8467bb6b3cd745bc19
MD5 c19ef56bf49d94f5eccd3a1fbae2bbd8
BLAKE2b-256 c6ef44c2abf0ec408280bc094211d4702f87f6c0c74548842f2615b172545a7b

See more details on using hashes here.

File details

Details for the file quaestor-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: quaestor-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 45.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for quaestor-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf96c38facbc1329da0d74cb466c6ec1ef43fa69f3363a43bfc0378cdd9e85c2
MD5 84665e26ba4d46533346ccf438f73bf2
BLAKE2b-256 e520be900204d6b25bdbffd15b0b9ccd188c5a1e212428d2734d2b3db4996957

See more details on using hashes here.

Supported by

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