Skip to main content

Module context

Module context 

Source
Expand description

Best practices context for AI system prompts.

Provides current tooling recommendations to prevent AI from suggesting outdated tools (mypy, bandit, eslint+prettier) and ensure modern alternatives (ruff, pyright, biome, uv) are recommended.

Constants§

TOOLING_CONTEXT
Best practices context for 2026 tooling recommendations.

Functions§

load_custom_guidance
Loads custom guidance from configuration if available.
load_system_prompt_override
Load a system prompt override from ~/.config/aptu/prompts/<name>.md. Returns the file content if the file exists and is readable, or None otherwise.