mit einem Klick
plain-guide
// Answer questions about the Plain framework by researching docs and source code. Use when asked "how do I...", "does Plain support...", or "how does X work?" questions.
// Answer questions about the Plain framework by researching docs and source code. Use when asked "how do I...", "does Plain support...", or "how does X work?" questions.
Upgrades Plain packages and applies required migration changes. Use when updating to newer package versions.
Captures and analyzes performance traces to identify slow queries and N+1 problems. Use when a page is slow, there are too many queries, or the user asks about performance.
Check overall database health — schema correctness and operational health. Use when asked to check the database, validate schema, optimize indexes, or diagnose Postgres problems.
Submit a bug report for the Plain framework. Use when the user wants to report a bug, error, or unexpected behavior. Collects context and creates a GitHub issue.
Open a remote Python shell on a production machine via encrypted tunnel. Use when you need to inspect production data, debug issues, run queries, or transfer files.
Releases Plain packages with intelligent version suggestions and parallel release notes generation. Use when releasing packages to PyPI.
| name | plain-guide |
| description | Answer questions about the Plain framework by researching docs and source code. Use when asked "how do I...", "does Plain support...", or "how does X work?" questions. |
Research the user's question using plain docs and source code, then provide a clear answer.
Always use the Agent tool to research the question. You almost never know the exact package and section name ahead of time, so let the subagent discover them. This also keeps research output out of the main conversation.
Use the Agent tool with a prompt like:
Research this Plain framework question: {question}
Start by discovering where the answer lives:
uv run plain docs --search <term>— find which packages mention the termThen read the relevant content:
uv run plain docs <name>— full docs for a packageuv run plain docs <name> --search <term>— just the matching sectionsuv run plain docs <name> --api— public API surface- Use Grep/Read to examine source code when docs are insufficient
Return a clear answer with:
- Working code examples (with imports)
- Which packages are involved
- Any gotchas or common mistakes
/plain-install--api first