Base
Universal coding foundation enforcing file, function, and module size limits, TDD workflow, and atomic todo tracking.
- CCM score
- 51 of 100
- skills.sh installs
- 241
- GitHub stars
- 712
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers simplicity rules at function, file, and module levels, with enforcement steps applied before completing any file
- Includes architectural patterns (functional core, composition over inheritance), testing philosophy, and an anti-patterns list
- Enforces a 20-line function limit, a 200-line file limit, and a 10-function-per-file limit, with splitting required when exceeded
- Designed as an always-loaded foundation for all projects, with a required red-green-validate TDD cycle for every todo
Install
$ npx -y skills add alinaqi/maggy --skill base -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Base Skill - Universal Patterns
Core Principle
Complexity is the enemy. Every line of code is a liability. The goal is software simple enough that any engineer (or AI) can understand the entire system in one session.
Simplicity Rules
These limits apply to every file created or modified.
Function Level
- Maximum 20 lines per function - if longer, decompose IMMEDIATELY
- Maximum 3 parameters per function - if more, use an options object or decompose
- Maximum 2 levels of nesting - flatten with early returns or extract functions
- Single responsibility - each function does exactly one thing
- Descriptive names over comments - if you need a comment to explain what, rename it
File Level
- Maximum 200 lines per file - if longer, split by responsibility BEFORE continuing
- Maximum 10 functions per file - keeps cognitive load manageable
- One export focus per file - a file should have one primary purpose
Module Level
- Maximum 3 levels of directory nesting - flat is better than nested
- Clear boundaries - each module has a single public interface
- No circular dependencies - ever
Enforcement Protocol
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Code Review & Quality, Testing & QA
- First seen
- Jun 3, 2026
Questions
What does the base skill in claude-bootstrap do?
The base skill is a universal foundation of coding patterns, simplicity rules, a TDD workflow and atomic todo tracking for Claude Code. Its SKILL.md says it is always loaded as the base for all projects, enforcing limits such as 20 lines per function and 200 lines per file.
How do I install the base skill?
Run npx -y skills add alinaqi/maggy --skill base -y inside your project. After that, the agent follows the base skill's TDD workflow and simplicity rules when it writes code there.
Where does the base skill stand in the Code Review & Quality category?
The base skill sits in the Code Review & Quality category on Claude Marketplaces, alongside improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Those are the other skills it is listed beside in that category. It differs from them by focusing on universal project foundations: TDD, file size limits and atomic todos.
More from alinaqi/maggy
All 54- Shopify Apps235
- Azure Cosmosdb234
- Pwa Development4.9K
- Android Kotlin3.5K
- Playwright Testing3.4K
- Code Review1.4K
- Ui Mobile1.2K
- Posthog Analytics836
- Flutter750
- Supabase Nextjs736
- Android Java698
- Code Deduplication627
- Supabase608
- User Journeys600
- React Native536
- Klaviyo531
- Aws Dynamodb494
- Nodejs Backend450
- Aeo Optimization449
- Security442
- Agentic Development420
- Woocommerce360
- Ui Web359
- Ui Testing332
Similar to Base
More Code Review & Qualityclean-codevudovn/ag-kit317 installsPragmatic coding standards that enforce concise, direct code with small functions and no over-engineering or needless comments.
solidramziddin/solid-skills3.8K installsOpinionated guide that turns coding work into senior-level practice through TDD, SOLID principles, and clean-code rules.
software-architecturedavila7/claude-code-templates536 installsQuality-focused architecture guidance applying Clean Architecture and Domain-Driven Design to code and design decisions.
system-designqodex-ai/ai-agent-skills220 installsArchitecture guidance that enforces Clean Architecture, DDD naming, and library-first coding for maintainable software systems.
commit-hygienealinaqi/maggy306 installsCommit-size thresholds, atomic commit patterns, and PR splitting guidance to keep git history reviewable.
test-driven-developmentobra/superpowers298.4K installsTest-first development skill that enforces red-green-refactor and forbids production code without a failing test.