Agent skill

codebase-classification

Classify codebases before modification to choose appropriate development approach

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill codebase-classification --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/analysis/codebase-classification/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Codebase Classification Skill Analyze and classify codebases before making changes to ensure appropriate development approach. ## Overview Before modifying any codebase, classify it to determine whether to: - **Follow existing patterns** (Disciplined) - **Gradually improve** while following conventions (Transitional) - **Propose improvements** to legacy patterns (Legacy) - **Establish best practices** from scratch (Greenfield) ## Classification Types ### 1. Disciplined Codebase **Signals:** - Consistent code style (formatting, naming conventions) - Comprehensive test coverage (>70%) - Clear module boundaries and interfaces - Type hints/annotations throughout - Up-to-date dependencies - Active CI/CD pipeline - Good documentation (README, docstrings) **Approach:** Follow existing patterns strictly. Don't introduce new conventions. ### 2. Transitional Codebase **Signals:** - Mixed code quality (some areas good, others not) - Partial test coverage (30-70%) - Some type hints, inconsistent usage - Active development with modernization efforts - Dependencies somewhat current **Approach:** Follow existing conventions in touched areas. Propose improvements for new code. ### 3. Legacy Code

What's inside
Steps it walks through
  1. Overview
  2. Classification Types
  3. 1. Disciplined Codebase
  4. 2. Transitional Codebase
  5. 3. Legacy Codebase
  6. 4. Greenfield Codebase
  7. Quick Classification Checklist
  8. Decision Matrix
  9. Behavior Guidelines
  10. When Disciplined
  11. When Transitional
  12. When Legacy
  13. When Greenfield
  14. Examples
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the codebase-classification skill do?

Classify codebases before modification to choose appropriate development approach

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill codebase-classification --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going