About
This Claude Skill provides guidelines for organizing Python code into modular files optimized for AI-assisted development and maintainability. It recommends keeping files between 150-500 lines and offers specific strategies for splitting larger files by domain concepts or abstraction layers. Use this skill when files exceed 500 lines or contain multiple concerns to prevent cognitive overload and tooling issues.
Quick Install
Claude Code
Recommendednpx skills add carmandale/agent-config -a claude-code/plugin add https://github.com/carmandale/agent-configgit clone https://github.com/carmandale/agent-config.git ~/.claude/skills/modular-codeCopy and paste this command in Claude Code to install this skill
GitHub Repository
Frequently asked questions
What is the modular-code skill?
modular-code is a Claude Skill by carmandale. Skills package instructions and resources that Claude loads on demand, so Claude can perform modular-code-related tasks without extra prompting.
How do I install modular-code?
Use the install commands on this page: add modular-code to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.
What category does modular-code belong to?
modular-code is in the Development category, tagged general.
Is modular-code free to use?
Yes. modular-code is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.
Related Skills
qmd is a local search and indexing CLI tool that enables developers to index and search through local files using hybrid search combining BM25, vector embeddings, and reranking. It supports both command-line usage and MCP (Model Context Protocol) mode for integration with Claude. The tool uses Ollama for embeddings and stores indexes locally, making it ideal for searching documentation or codebases directly from the terminal.
This skill executes implementation plans by dispatching a fresh subagent for each independent task, with code review between tasks. It enables fast iteration while maintaining quality gates through this review process. Use it when working on mostly independent tasks within the same session to ensure continuous progress with built-in quality checks.
The mcporter skill enables developers to manage and call Model Context Protocol (MCP) servers directly from Claude. It provides commands to list available servers, call their tools with arguments, and handle authentication and daemon lifecycle. Use this skill for integrating and testing MCP server functionality in your development workflow.
This skill deploys and orchestrates Vertex AI ADK agents using A2A protocol, managing AgentCard discovery, task submission, and supporting tools like Code Execution Sandbox and Memory Bank. It enables building multi-agent systems with sequential, parallel, or loop orchestration patterns in Python, Java, or Go. Use it when asked to deploy ADK agents or orchestrate agent workflows on Google Cloud.
