maintainable-code
Shape and review production code for human legibility, maintainability, safe change, and performance-aware design.
Skill by nickyfactz
Chalk Labs
Need help deploying maintainable-code?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/nickyfactz-maintainable-code
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/maintainable-code
What's inside
- Skill name
maintainable-code- Description
- Shape and review production code for human legibility, maintainability, safe change, and performance-aware design. Use when writing, implementing, modifying, refactoring, or reviewing code; planning implementation structure; performing code-quality or architecture audits; or investigating code that is difficult to understand or change.
- License
- MIT
- Instructions
- 63 lines in SKILL.md · view on GitHub
Files (16)
- README.md
- SKILL.md
- openai.yaml · agents/
- icon.svg · assets/
- code-smells.md · references/
- design-shape.md · references/
- human-legibility.md · references/
- implementation.md · references/
- legacy-and-tests.md · references/
- performance.md · references/
- refactoring-safety.md · references/
- refactoring-workflow.md · references/
- reporting.md · references/
- review-audit.md · references/
- sources.md · references/
- tooling-bootstrap.md · references/
SKILL.md (first lines)
# Maintainable code Shape code for the cost and risk of its **next change**. The code must serve two audiences: 1. the runtime, which needs correct and appropriate behavior 2. the human maintainer, who needs to understand and change that behavior safely Do not optimize source code for model token economy, syntactic cleverness, or compliance with a style doctrine. Prefer code whose intent, control flow, ownership, and important tradeoffs are recoverable by a human reader. ## Governing principles Use these as defaults, not laws: - **Clarity:** intent should be recoverable without reconstructing the author's entire mental model. - **Scanability:** visual shape should reveal rough control flow and conceptual stages before every expression is decoded. - **Locality:** a conceptual change should require edits near the concept that owns it. - **Depth:** prefer stable interfaces that hide meaningful complexity over swarms of shallow wrappers. - **Cohesion:** code that changes for the same reason should tend to live together. - **Information hiding:** important design decisions and domain knowledge should have clear ownership. - **Explicitness:** dependencies, state transitions, side effects, invariants, and failure behavior should be visible at the appropriate boundary. - **Evidence:** preserve duplication, comments, larger functions, direct code, or specialized implementations when they are clearer or safer than the proposed abstraction. - **Behavior preservation:** a refactor changes structure, not externally observable behavior, unless behavior change is explicitly in scope. - **Testability:** difficult-to-test code is evidence about coupling, not permission to distort a good runtime design. - **Performance awareness:** abstraction is not free; profile or benchmark when runtime cost is material. - **Repository fit:** repository-local conventions and host-language idioms outrank generic style preferences. ## Choose one work branch Load only the branch that matches the current task: - **Writing or modifying production code:** read [`references/implementation.md`](references/implementation.md). - **Behavior-preserving structural refactor:** read [`references/refactoring-workflow.md`](references/refactoring-workflow.md). - **Code review or larger quality/design audit:** read [`references/review-audit.md`](references/review-audit.md). Do not load the other workflow branches unless the task genuinely crosses modes. ## Shared anti-dogma rules - Prefer **one coherent operation** over an arbitrary function-length limit. - Prefer **semantic whitespace and meaningful locals** over compressing source for fewer lines or tokens. - Prefer **one behavioral scenario** over a literal one-assertion-per-test rule. - Prefer **useful rationale and contract comments** over a blanket "comments are failures" stance. - Prefer **stable abstractions discovered from pressure** over eliminating every instance of duplication immediately. - Prefer **deep modules** over splitting code until navigation itself becomes the complexity. - Prefer **language-native error, ownership, and composition models** over importing one paradigm into every language. - Prefer **measured hot-path efficiency** over stylistic purity when the two conflict. - Prefer **repository consistency** over introducing a new personal formatting system. ## Universal completion gate No branch is complete until: - required behavior is validated at a level proportionate to the change - a reproducible formatter and useful baseline linter/static-analysis path exists for materially maintained languages, and their checks pass at the repository's agreed baseline - materially changed code is human-scannable - important state, side effects, and contracts are understandable - material design risks and intentionally retained complexity have a concrete rationale and orchestrator disposition against the accepted spec and current milestone; accepted requirements and supported behavior remain satisfied
From nickyfactz/plumbline, MIT.
More from nickyfactz/plumbline
- 0.642score
plumbline-plan-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline-agent-team
nickyfactz
Initialize, audit, update, retune, or extend a repository-adapted Plumbline agent team for Codex or Claude Code without global installation.
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline-closeout-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline
nickyfactz
Enter Plumbline at the latest safe phase from an idea, design, plan, implementation, bug, review request, accepted feature, or an uninitialized repository…
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline-execute-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.639score
plumbline-init
nickyfactz
Initialize or reassess Plumbline for a repository through a read-only audit and one approved setup proposal.
SkillAFreshness: A★ 28Claude Code +9 - 0.639score
plumbline-review-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.606score
plumbline-benchmark
nickyfactz
Run the compact Plumbline-versus-stock Codex execution benchmark from this controller repository, using isolated fresh sessions and evidence-based cost reports.
SkillBFreshness: B★ 28Claude Code +9 - 0.601score
plumbline-review
nickyfactz
Perform an independent, report-only code-quality and acceptance audit of implementation, behavior, proof coverage, and canonical documentation.
SkillBFreshness: B★ 28Claude Code +9 - 0.601score
plumbline-shape
nickyfactz
Shape a product concept through repository research and one product-level question or bounded batch of independent questions at a time, without implementing it.
SkillBFreshness: B★ 28Claude Code +9 - 0.599score
plumbline-shape-engine
nickyfactz
Internal Plumbline engine.
SkillBFreshness: B★ 28Claude Code +9 - 0.599score
plumbline-spec-engine
nickyfactz
Internal Plumbline engine.
SkillBFreshness: B★ 28Claude Code +9
Signals
- Stars
- 28
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Oct 21, 2026 (18 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/nickyfactz/plumbline
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from nickyfactz
- 0.642score
plumbline-plan-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline
nickyfactz
Enter Plumbline at the latest safe phase from an idea, design, plan, implementation, bug, review request, accepted feature, or an uninitialized repository…
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline-agent-team
nickyfactz
Initialize, audit, update, retune, or extend a repository-adapted Plumbline agent team for Codex or Claude Code without global installation.
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline-execute-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.642score
plumbline-closeout-engine
nickyfactz
Internal Plumbline engine.
SkillAFreshness: A★ 28Claude Code +9 - 0.639score
plumbline-init
nickyfactz
Initialize or reassess Plumbline for a repository through a read-only audit and one approved setup proposal.
SkillAFreshness: A★ 28Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get maintainable-code running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
maintainable-code skill. Agent Mart. https://agentmart.dev/skills/nickyfactz-maintainable-code (last updated 2026-10-24)