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 helps Claude (and other AI assistants) understand your project without messing with your existing configuration.

โš ๏ธ Work in Progress: Quaestor is under active development. While core features are stable, you may encounter bugs or breaking changes between versions.

๐Ÿค” Why Quaestor?

The Problem: AI assistants like Claude are powerful, but they lack context about your project. You end up:

  • ๐Ÿ”„ Repeatedly explaining your architecture
  • ๐Ÿ“‹ Copy-pasting the same instructions
  • ๐Ÿคฏ Getting inconsistent implementations
  • โš ๏ธ Fighting with conflicting configurations

The Solution: Quaestor provides structured context that AI assistants can understand, while respecting your existing setup.

๐Ÿš€ Quick Start (30 seconds)

# In your project directory:
uvx quaestor init

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

What just happened?

โœ… Preserved your existing CLAUDE.md
๐Ÿ“ Created .quaestor/ with:
   - ARCHITECTURE.md (your project structure)
   - MEMORY.md (progress tracking)
   - CRITICAL_RULES.md (quality standards)
๐ŸŽฏ Installed commands to ~/.claude/commands/
๐Ÿ”ง Set up automated hooks in .claude/settings/

Now try this in Claude:

/task: implement user authentication with JWT tokens

Claude will:

  • Research your existing auth patterns
  • Follow your project's conventions
  • Run quality checks
  • Track progress in MEMORY.md

๐Ÿ› ๏ธ Installation

# Recommended - No install needed
uvx quaestor init

# Global install
uv tool install quaestor

# Traditional pip
pip install quaestor

๐Ÿ“š Commands

CLI 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 (Auto-installed to ~/.claude/commands/)

Command What it does Example
/help Show all available commands /help
/task Smart implementation workflow /task: add user authentication
/status Check project progress /status
/milestone Manage project phases /milestone: complete phase 1
/project-init Analyze and document your project /project-init
/check Run quality checks /check
/milestone-commit Create atomic commits /milestone-commit

๐ŸŽฏ Key Features

1. Non-Intrusive Integration

Your existing CLAUDE.md stays untouched. Quaestor adds a small managed section:

<!-- QUAESTOR CONFIG START -->
> [!IMPORTANT]
> **Claude:** This project uses Quaestor. Please read:
> 1. `.quaestor/QUAESTOR_CLAUDE.md` - Framework instructions
> 2. `.quaestor/CRITICAL_RULES.md` - Quality standards
> 3. `.quaestor/ARCHITECTURE.md` - Project structure
> 4. `.quaestor/MEMORY.md` - Progress tracking
<!-- QUAESTOR CONFIG END -->

# Your existing content remains here...

2. Project Analysis

Quaestor detects:

  • Tech Stack - Python, Rust, JavaScript, TypeScript, Go
  • Common Frameworks - Django, FastAPI, React, Next.js
  • Project Structure - Directories and file organization
  • Dependencies - From package.json, pyproject.toml, etc.

3. Quality Workflow

Encourages a Research โ†’ Plan โ†’ Implement workflow:

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”     โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚   Research  โ”‚ --> โ”‚   Plan   โ”‚ --> โ”‚ Implement   โ”‚
โ”‚ (Read/Grep) โ”‚     โ”‚ (Design) โ”‚     โ”‚ (Write/Edit)โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜     โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜

Optional hooks can enforce this workflow when enabled.

4. Smart Updates

# See what would change
quaestor update --check

# Update with backup
quaestor update --backup
  • System files - Always updated (CRITICAL_RULES.md)
  • Your files - Never overwritten if modified
  • Tracked changes - Every modification is logged

๐Ÿ“ Project Structure

After initialization:

your-project/
โ”œโ”€โ”€ CLAUDE.md                    # Your config + Quaestor section
โ”œโ”€โ”€ .quaestor/
โ”‚   โ”œโ”€โ”€ QUAESTOR_CLAUDE.md       # AI instructions
โ”‚   โ”œโ”€โ”€ CRITICAL_RULES.md        # Quality standards
โ”‚   โ”œโ”€โ”€ ARCHITECTURE.md          # Project structure
โ”‚   โ”œโ”€โ”€ MEMORY.md                # Progress tracking
โ”‚   โ”œโ”€โ”€ manifest.json            # File tracking
โ”‚   โ””โ”€โ”€ hooks/                   # Portable hook scripts
โ”‚       โ”œโ”€โ”€ enforce-research.py
โ”‚       โ”œโ”€โ”€ quality-check.py
โ”‚       โ””โ”€โ”€ update-memory.py
โ””โ”€โ”€ .claude/
    โ””โ”€โ”€ settings/
        โ””โ”€โ”€ claude_code_hooks.json # Auto-installed hooks

๐Ÿ”ฅ Real-World Examples

Example 1: Adding a Feature

You: /task: add password reset functionality

Claude will:
1. Research existing auth implementation
2. Check email service configuration  
3. Follow your naming conventions
4. Implement with proper error handling
5. Update progress in MEMORY.md

Example 2: Refactoring

You: /task: refactor user service to use dependency injection

Claude will:
1. Analyze current service structure
2. Identify all dependencies
3. Plan refactoring approach
4. Implement following your patterns
5. Ensure tests still pass

Example 3: New Milestone

You: /milestone: start MVP phase 2

Claude will:
1. Archive current progress
2. Create new milestone section
3. Set up tracking for phase 2
4. Suggest initial tasks

๐Ÿช Automated Hooks

Hooks are automatically installed to .claude/settings/ and use local scripts for portability:

What Hooks Do

  • ๐Ÿšซ Enforce Standards - Block code without research
  • ๐Ÿ“Š Track Progress - Auto-update MEMORY.md
  • โœ… Quality Checks - Run tests before commits
  • ๐ŸŽฏ Smart Context - Refresh on long conversations

Hook Portability

Hooks work with any installation method (uvx, pip, etc.) by using local Python scripts in .quaestor/hooks/.

๐ŸŽ“ How It Works

The Manifest System

Every file is tracked with checksums and versions:

{
  "files": {
    "CLAUDE.md": {
      "type": "user-editable",
      "user_modified": true,
      "original_checksum": "abc123...",
      "current_checksum": "def456..."
    }
  }
}

AI-Optimized Format

Special markers enable precise AI edits:

<!-- SECTION:database:config:START -->
```yaml
database:
  type: PostgreSQL
  version: 15

AI can update sections without breaking your documentation.

## ๐Ÿ”„ Updating Quaestor

```bash
# 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

Development Workflow

  1. Create feature branch
  2. Add tests for new functionality
  3. Run uv run pytest
  4. Submit PR with description

๐Ÿ“Š Project Status

โœ… Completed

  • Non-intrusive CLAUDE.md integration
  • Smart update system with manifest tracking
  • Unified /task command for all languages
  • Claude hooks with portable scripts
  • Automated milestone workflows
  • Project status tracking
  • Command discovery with /help

๐Ÿšง In Progress

  • Team synchronization features
  • Extended language support
  • Plugin system

๐ŸŽฏ Planned

  • VS Code extension
  • Web dashboard
  • Team analytics

๐Ÿ™ Acknowledgments

Built with feedback from the Claude community.

๐Ÿ“„ License

MIT - Use it however you want.


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

Report Bug ยท Request Feature

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.3.tar.gz (83.9 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.3-py3-none-any.whl (86.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quaestor-0.3.3.tar.gz
  • Upload date:
  • Size: 83.9 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.3.tar.gz
Algorithm Hash digest
SHA256 9e0065676fe4f54109503fd10fd8d72dda6bd41233902492885d099428114bf2
MD5 d4640082ac51f56909ad4350fd7072f7
BLAKE2b-256 860b9415ce8acdde17b1ae98dc2b0c1dca3829493b3a24037eeb5f1d90a95b38

See more details on using hashes here.

Provenance

The following attestation bundles were made for quaestor-0.3.3.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.3-py3-none-any.whl.

File metadata

  • Download URL: quaestor-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 86.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5a6ea0f797b3f2ddf0e865b7927d7f0a7777e5a18cf455c0e07a4082db553780
MD5 f99c3c1a243619a0fb64389b9c7c0030
BLAKE2b-256 2177d64627fcc86caac07b1b8e9d953188d2f27bcc7c78173ed7fc25fefb5e59

See more details on using hashes here.

Provenance

The following attestation bundles were made for quaestor-0.3.3-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