claude-taew-py
CLAUDE.md0 starsChanged 13 months agoMITView on GitHub
Claude Code CLI plugin for AI-assisted development with taew-py Ports & Adapters foundation library. BEFORE WORKING ON TASKS: taew-py is a Python 3.14+ foundation library that makes Ports & Adapters (Hexagonal Architecture) natural and fast, enabling rapid development of Minimal Evolvable Products (MEPs) for early-stage startups. claude-taew-py is an AI-native plugin that teaches Claude Code how to scaffold and develop taew-py applications and 3rd party technology adapters as well as maintaining taew-py itself efficiently. For detailed use cases and architectural…
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 2 are distinctive, and 6 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 34
When adopting new tool(s):
- Distinctive: line 36
Document decision: - Create or update ADR justifying tool selection (ask clarifying questions if needed)
- Very specific: line 37
Enable documentation: - Add each tool to .claude/doc-sources.toml via add-doc skill
- Very specific: line 58
Modern type hints: Use list[str], not List[str] (Python 3.9+ built-in types)
- Very specific: line 59
Union types: Use str | None, not Optional[str]
- Very specific: line 61
Executable scripts: Start with #!/usr/bin/env python3 + chmod +x
- Very specific: line 62
Encapsulation: Keep utilities with consumers (.claude/skills/*/scripts/)
- Very specific: line 71
Skills are self-contained: All scripts/templates live in .claude/skills/<name>/
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
claude-taew-py
Claude Code CLI plugin for AI-assisted development with taew-py Ports & Adapters foundation library.
Critical Instructions
BEFORE WORKING ON TASKS:
- Strategic context? → See VISION.md for project philosophy, use cases, and roadmap
- File organization? → See ADR-0004: Project Structure and Documentation Standards
- Python standards? → See ADR-0005: Python Code Standards
Project Context
taew-py is a Python 3.14+ foundation library that makes Ports & Adapters (Hexagonal Architecture) natural and fast, enabling rapid development of Minimal Evolvable Products (MEPs) for early-stage startups.
claude-taew-py is an AI-native plugin that teaches Claude Code how to scaffold and develop taew-py applications and 3rd party technology adapters as well as maintaining taew-py itself efficiently.
For detailed use cases and architectural philosophy, see VISION.md - Target Users & Use Cases and VISION.md - AI-Native Architecture.
Tool Documentation Access (CRITICAL)
ALWAYS query tool documentation in these scenarios:
- Before using Python 3.14+ features
- Before using Claude Code CLI features
- When encountering errors with configured tools
- When user asks "How do I...
<tool-name>..." questions
Invoke the doc-query skill for up-to-date documentation access.
When Introducing New Tools
When adopting new tool(s):
- Document decision - Create or update ADR justifying tool selection (ask clarifying questions if needed)
- Enable documentation - Add each tool to
.claude/doc-sources.tomlvia add-doc skill
Skills should invoke automatically based on context.
Why This Matters
Training data may be outdated for:
- Python 3.14+ (released after training cutoff)
- Claude Code CLI (rapidly evolving)
- Modern tools (ruff, uv, mypy, etc.)
Context7 provides real-time access to current documentation.
See ADR-0003 for architectural rationale.
Python Code Standards - Quick Reference
See ADR-0005: Python Code Standards for detailed guidelines.
Critical reminders (most commonly violated):
- Modern type hints: Use
list[str], notList[str](Python 3.9+ built-in types) - Union types: Use
str | None, notOptional[str] - Comparison methods: Type parameter as
object, use type guards, returnNotImplemented - Executable scripts: Start with
#!/usr/bin/env python3+chmod +x - Encapsulation: Keep utilities with consumers (
.claude/skills/*/scripts/) - Templates: Extract to separate files (
.claude/skills/*/templates/)
Project Structure - Quick Reference
See ADR-0004: Project Structure and Documentation Standards for detailed guidelines.
Critical reminders:
- Skills are self-contained: All scripts/templates live in
.claude/skills/<name>/ - Documentation hierarchy: README → VISION, CONTRIBUTING, ADRs → CLAUDE (leaf node)
- No circular refs: CLAUDE.md points to VISION/ADRs, but they don't point back
- Token budgets: CLAUDE.md (~50-70 lines), README (~30-40 lines), VISION (unbounded)
For detailed taew-py architectural principles, see: https://github.com/asterkin/taew-py
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

