Skip to main content
skill CX Codex

code-complete — Claude Code skill: rules and installation

The code-complete Claude Code skill applies software construction rules to routines, classes, control flow, defensive code, and tests. It activates for implementation and design tasks.

MIT 611 installs ★ 3,328 updated 2026-09-10

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add ciembor/agent-rules-books --skill code-complete -a claude-code
Open on GitHub

What code-complete does

code-complete gives an agent construction rules for designing routines and classes, using variables, handling control flow, writing defensive code, and testing implementations. It also covers coding standards.

Before making design or code decisions, the agent reads and applies code-complete.mini.md. The longer code-complete.md serves as a reference when the short rules do not settle a construction choice.

What it helps with

  • design a routine using software construction rules
  • choose how to structure variables and classes
  • add defensive checks and test an implementation

Example prompts for the agent

  • Design this routine using the code-complete rules.
  • Review the classes and variables I plan to add.
  • Add defensive checks and tests to this implementation.

How to install code-complete

1Skills CLI (Vercel)

npx skills add ciembor/agent-rules-books --skill code-complete -a claude-code

2Manually: put the files in place

~/.claude/skills/code-complete/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/code-complete/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about code-complete

How do I install code-complete in Claude Code?

Run npx skills add ciembor/agent-rules-books --skill code-complete -a claude-code. The skill is installed at ~/.claude/skills/code-complete/SKILL.md.

What does code-complete do?

It gives the agent rules for routine and class design, variable use, control flow, defensive programming, coding standards, and implementation tests.

Which rule files does code-complete use?

The agent reads code-complete.mini.md before making design or code decisions. It consults code-complete.md when the short rules do not cover the construction tradeoff.

Source text

SKILL.md · MIT
---
name: code-complete
description: Apply Steve McConnell-inspired construction rules when implementing routines, variables, classes, control flow, defensive code, or tests.
license: MIT
---

# Code Complete Skill

Use this skill when a task involves disciplined software construction: routine design, variable use, class design, control flow, defensive programming, coding standards, or implementation testing.

Before making design or code decisions, read and apply [code-complete.mini.md](code-complete.mini.md). Use [code-complete.md](code-complete.md) only as a deeper reference when the mini rules are not enough for the current construction tradeoff.

© ciembor · MIT · ciembor/agent-rules-books

Similar skills

All skills for Programming languages →

From the same set14

The whole set →
clean-code This Claude Code skill applies clean-code guidance to readability, naming, and function design. It activates during everyday coding and test-related tasks. CX Codex +1 683installs refactoring This Claude Code skill applies Martin Fowler-inspired rules to refactoring. It activates for code-structure changes that preserve observable behavior. CX Codex +1 670installs clean-architecture This Claude Code skill applies clean architecture principles to decisions about separating business policy from implementation details. It activates for work on dependency direction, use cases, and application boundaries. CX Codex +1 645installs a-philosophy-of-software-design The a-philosophy-of-software-design Claude Code skill applies software design principles to complexity, module boundaries, APIs, and abstractions. It activates during design reviews or refactoring of shallow interfaces. CX Codex +1 643installs release-it The release-it Claude Code skill applies production reliability rules to failure handling, timeouts and retries. It activates on tasks involving integration failures, deployment or operational readiness. CX Codex +1 607installs the-pragmatic-programmer the-pragmatic-programmer — a skill for Claude Code and Codex applying Hunt and Thomas-inspired engineering guidelines. Triggers during architecture decisions, automation work, and code refactoring. CX Codex +1 603installs working-effectively-with-legacy-code working-effectively-with-legacy-code — a skill for Claude Code and Codex that enforces Michael Feathers' legacy code techniques. Activates during risky refactoring, missing test coverage, and dependency breaking. CX Codex +1 602installs refactoring-guru refactoring-guru — a skill for Claude Code helps diagnose code smells and choose focused refactoring techniques. The agent applies its rules to code changes while preserving behavior. CX Codex +1 598installs

Project sponsors

Companies that keep this analytics open