python-no-type-checking-guard
Python typing without TYPE_CHECKING
This skill defines hard rules and preferred patterns for writing typed Python
code without ever using from typing import TYPE_CHECKING or
if TYPE_CHECKING: blocks. It applies to all Python code the agent creates
or edits unless the user explicitly overrides this style for a specific file.
For detailed examples and design rationale, consult the bundled reference
references/python-module-design-without-type-checking.md.
Non‑negotiable rules
Follow these rules strictly unless the user explicitly instructs otherwise.
- Never import
TYPE_CHECKING.- Do not write
from typing import TYPE_CHECKING. - Do not rely on
typing.TYPE_CHECKINGor any alias of it. - Do not introduce
TYPE_CHECKING = Falseor similar "shadow" variables as an alternative.
- Do not write
More from jr2804/prompts
python-ultimate
>-
35output-quality
Detect and eliminate generic, low-quality "AI slop" patterns in natural language, code, and design. Use when REVIEWING existing content (text, code, or visual designs) for quality issues, cleaning up generic patterns, or establishing quality standards. Focuses on pattern detection—not content creation.
11coding-discipline
Language-agnostic behavioral guidelines to reduce common LLM coding mistakes. Use for ANY coding task (all languages) to avoid overcomplication, make surgical changes, surface assumptions before coding, and define verifiable success criteria. Applies behavioral rigor—separate from language-specific technical standards.
10code-deduplication
Pre-write workflow to prevent semantic code duplication. Use BEFORE creating new utility functions, shared modules, or helper code to verify equivalent capabilities don't already exist in the codebase. Requires maintaining CODE_INDEX.md as a capability index organized by purpose (not file location).
6cli-vstash
Local document memory with semantic search for AI-assisted workflows. Use when managing project documentation, codebases, or research papers that need persistent memory across sessions. Triggers on: vstash add/search/ask commands, document ingestion, semantic search, RAG pipelines, local knowledge bases, or configuring vstash for personal projects.
5mcp-vstash
MCP server integration for vstash document memory. Use when configuring Claude Desktop or other MCP-compatible AI assistants with persistent document memory, setting up vstash MCP tools for semantic search and Q&A, or integrating vstash with AI assistant workflows via Model Context Protocol.
5