A reusable library of prompt templates, skill definitions, and reference knowledge for AI-assisted software engineering. Designed to be embedded as a submodule and consumed by AI coding agents (Claude Code, Codex, Copilot, etc.).
Standalone prompt templates for common development tasks. Drop into a conversation or reference directly.
- Code quality:
write-code.md,check-code.md,review-code-*.md,strongly-typed.md,validate-types.md - Debugging:
debug/debug-code.md,debug/debug-deeply-py.md - Documentation:
document-python-code.md,explain/,revise-doc.md - Testing:
make-unit-test-python.md,gui-test-screenshots.md,headless-testing.md,nicegui-interactive-test.md - Planning:
planning/— roadmaps, task breakdowns, refactor plans, open-question discussions - Project setup:
dir-setup/— Python project init, experiment dirs, context dirs - Research/reading:
reading/— paper conversion, survey, algorithm blocks, figure insertion - Environment:
envs/— Claude Code, Codex, Copilot setup guides;linux-env.md,mac-env.md,win32-env.md - Memory/context:
make-memory.md,mem-as-*.md - Web research:
find-online.md,check-online.md,search-proactively.md,tavily-guide.md
Reference documentation for specific tools and technologies.
blender-plugin/— Blender addon development (background mode, data persistence, testing)general/— Project profiles, Mermaid CLI, LiteLLM proxy, APT mirrors, DNN timingmcp-dev/— MCP server development and programmatic invocationgithub/— Secure CI secrets managementtensorrt/— TensorRT setup with Pixi, ONNX QDQ → INT8 conversiononnx/— Parallel ONNX inferencengc-dockers/— NVIDIA NGC Docker environments, SSH setup
Self-contained skill definitions consumed by AI agents. Each skill has SKILL.md, agent prompts, reference materials, and templates.
- CLI agents: Claude Code install/invoke, Codex CLI, Copilot
- Air-gapped: Offline Docker/Pixi projects, offline VSCode installer
- Development: Git worktrees, interactive testing, Pixi project init, MkDocs serving
- Tools/Pixi: NVIDIA CUDA setup, CUDA build env, offline package channels
- Tools/Conan: C++ package management basics
- OpenSpec extensions: explain, test-driven dev, respond-to-review, revise-by-decision
- Research: DNN model exploration (experiment report, stakeholder report templates)
- Writing: Program tutorial creation, Mermaid diagram generation
- Libraries: DeepFace basic usage
Utility scripts for document conversion and environment setup.
convert-html-to-markdown.py— HTML → Markdown with image handlingconvert-pdf-to-markdown.py— PDF → Markdown with LLM image descriptionsdownload-html.py— HTML downloading via Playwrightextract_references.py— Reference extraction from papersconfigure-submodule-https-ssh.sh— Git submodule HTTPS/SSH switchingsetup-envs.sh/setup-envs.ps1— Environment initializationsetup-proxy.sh,setup-ssh-reverse-tunnel.sh— Network setup
Configuration file examples for AI agents and tools (Codex, tmux).
AI persona definitions. Currently: academic_survey_agent.md — a structured persona for literature surveys with systematic search, synthesis, and academic integrity rules.
OpenSpec integration tools and specification kits for Python and C++ projects.
This repo is intended to be used as a git submodule. Reference files directly by path when constructing AI prompts, or copy templates into your project's context/ directory.
# Add as submodule
git submodule add <repo-url> magic-context
# Update to latest
git submodule update --remote magic-context