Skip to main content

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

Project description

Quaestor

๐Ÿ›๏ธ AI context management that respects your existing setup

PyPI Version Python 3.12+ License: MIT

Quaestor gives Claude (and other AI assistants) the context they need without messing with your existing configuration. It's smart enough to enhance your workflow, not replace it.

๐Ÿš€ Quick Start (30 seconds)

# In your project directory:
uvx quaestor init

# That's it! Your AI assistant now understands your project.

What just happened?

Quaestor scanned your project and:

  • โœ… Preserved your existing CLAUDE.md (if you had one)
  • ๐Ÿ“ Created .quaestor/ with your project's context
  • ๐ŸŽฏ Installed smart commands to ~/.claude/commands/
  • ๐Ÿ”ง Generated hooks for automated workflows

Your existing setup is intact. Quaestor just made it better.

๐ŸŽฏ What It Does (Under the Hood)

1. Non-Intrusive CLAUDE.md Integration ๐Ÿ†•

Instead of overwriting your CLAUDE.md, Quaestor adds a small managed section:

Before:

# My Custom Claude Config
My specific instructions...

After:

<!-- BEGIN QUAESTOR CONFIG -->
## ๐Ÿ“‹ Quaestor Framework Active
[Links to context files]
<!-- END QUAESTOR CONFIG -->

# My Custom Claude Config
My specific instructions...

Your content stays exactly where it was. Quaestor just adds pointers to its context files.

2. Smart Project Analysis

When you run init, Quaestor:

  • Detects your tech stack from package.json, pyproject.toml, Cargo.toml, etc.
  • Identifies frameworks from imports and dependencies
  • Maps your architecture from directory structure
  • Extracts progress from git history

3. Intelligent Update System

quaestor update --check  # See what would change
quaestor update          # Update only what's needed
  • System files (CRITICAL_RULES.md) - Always updated
  • User files (ARCHITECTURE.md) - Never overwritten if modified
  • Config sections - Surgically updated without touching your content

4. File Structure

your-project/
โ”œโ”€โ”€ CLAUDE.md                    # Your existing config + Quaestor section
โ””โ”€โ”€ .quaestor/
    โ”œโ”€โ”€ QUAESTOR_CLAUDE.md       # Full framework instructions
    โ”œโ”€โ”€ CRITICAL_RULES.md        # Enforcement rules
    โ”œโ”€โ”€ ARCHITECTURE.md          # Your detected architecture
    โ”œโ”€โ”€ MEMORY.md                # Progress tracking
    โ”œโ”€โ”€ manifest.json            # Tracks files and modifications
    โ””โ”€โ”€ hooks.json               # Automation configuration

๐Ÿ“š Commands

Command What it does Example
init Set up Quaestor in your project quaestor init
update Smart update that preserves your changes quaestor update --check
Claude Commands (in ~/.claude/commands/)
project-init Analyze and set up project management /project-init
task-py Python implementation workflow /task-py implement user auth
task-rs Rust implementation workflow /task-rs add error handling
check Run quality checks /check
compose Combine commands /compose task-py + check
milestone-commit Auto-commit completed work /milestone-commit

๐Ÿ”ฅ Key Features

Smart Context Management

  • Preserves your configs - Never overwrites your CLAUDE.md
  • Tracks modifications - Knows which files you've customized
  • Surgical updates - Updates only Quaestor sections
  • Version tracking - Every file has version headers

Automated Workflows

  • Progress tracking - Updates MEMORY.md automatically
  • Quality gates - Won't commit until tests pass
  • Atomic commits - Each task gets a clean commit
  • PR generation - Creates PRs when milestones complete

Project Intelligence

  • Stack detection - Knows if you're using React, Django, FastAPI, etc.
  • Pattern recognition - Identifies MVC, DDD, microservices patterns
  • Tool awareness - Finds PostgreSQL, Redis, Docker usage
  • Convention learning - Adapts to your project's style

๐Ÿ› ๏ธ Installation Options

# Recommended - No install needed
uvx quaestor init

# Global install
uv tool install quaestor

# Add to project
uv add quaestor

# Traditional pip
pip install quaestor

๐ŸŽ“ How It Works

The Manifest System

Quaestor uses a manifest (manifest.json) to track every file it manages:

{
  "version": "1.0",
  "quaestor_version": "0.2.4",
  "files": {
    "CLAUDE.md": {
      "type": "user-editable",
      "version": "1.0",
      "user_modified": true,
      "original_checksum": "...",
      "current_checksum": "..."
    }
  }
}

This enables:

  • Smart updates - Only update what's changed
  • Modification detection - Via checksums
  • Version tracking - Know which version of each file
  • Categorization - Different update strategies per file type

File Categories

  1. SYSTEM - Always updated (CRITICAL_RULES.md, QUAESTOR_CLAUDE.md)
  2. USER_EDITABLE - Never auto-overwritten (ARCHITECTURE.md, MEMORY.md, CLAUDE.md)
  3. COMMAND - Added if missing (task-py.md, check.md, etc.)
  4. TEMPLATE - Updated if unmodified

AI-Optimized Format

Special markers enable precise AI edits:

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

AI can update sections without breaking your documentation.

## ๐Ÿช Claude Hooks

Generate automation with:
```bash
quaestor init  # Creates .quaestor/hooks.json

Copy to Claude settings:

cp .quaestor/hooks.json ~/.claude/settings/claude_code_hooks.json

What Hooks Do

  • Enforce - Block coding without research
  • Automate - Update progress, create commits
  • Assist - Refresh context, suggest next steps

๐Ÿ”„ Updating Quaestor

# Check what would change
quaestor update --check

# Update with backup
quaestor update --backup

# Force update everything
quaestor update --force

๐Ÿค Contributing

git clone https://github.com/jeanluciano/quaestor.git
cd quaestor
uv sync
uv run pytest

๐Ÿ“Š Project Status

  • โœ… Non-intrusive CLAUDE.md integration
  • โœ… Smart update system with manifest tracking
  • โœ… Command templates for Python/Rust
  • โœ… Claude hooks integration
  • โœ… Automated milestone workflows
  • ๐Ÿšง JavaScript/TypeScript commands
  • ๐Ÿšง Team synchronization features

๐Ÿ“„ License

MIT - Use it however you want.


Remember: Quaestor enhances your workflow without replacing it. Your configs, your rules, just better AI understanding.

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.3.0.tar.gz (76.4 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.3.0-py3-none-any.whl (77.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quaestor-0.3.0.tar.gz
  • Upload date:
  • Size: 76.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for quaestor-0.3.0.tar.gz
Algorithm Hash digest
SHA256 d1b23771c8acedf47b69ab976d5ecb4aa4082ee27db2aa13dafa03b077f2041b
MD5 3dc651c4c9d731fb6caff8c80e3d6861
BLAKE2b-256 01453a795047f0d26c503a058dd4644bcfd23409e62c2552245d18a38765fc6f

See more details on using hashes here.

Provenance

The following attestation bundles were made for quaestor-0.3.0.tar.gz:

Publisher: publish.yml on jeanluciano/quaestor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: quaestor-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 77.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for quaestor-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03ec3d35d84072d2c20c57485b91a3123a4ec4933d1b64769202a4af04f275d9
MD5 4b74ccea45c8b7e6588e94839590bcd3
BLAKE2b-256 7b2823a3f2d38a84efb689190f7cd9bd7c611399095f38cc3087b7527f19b894

See more details on using hashes here.

Provenance

The following attestation bundles were made for quaestor-0.3.0-py3-none-any.whl:

Publisher: publish.yml on jeanluciano/quaestor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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