codebase-simplification-guide SKILL.md skillA

codebase-simplification-guide from mishrashardendu22/agent-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add mishrashardendu22/agent-skills/codebase-simplification-guide@git:20260914.e06e21c

Pins git:20260914.e06e21c in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
mishrashardendu22/agent-skills
Path
.agents/skills/codebase-simplification-guide/SKILL.md
Versions recorded
3
Latest version
git:20260914.e06e21c, committed Sep 14, 2026
First version recorded
Aug 31, 2026
Size
1,638 bytes
Repository stars
6
License
MIT

Rules and principles for keeping this codebase clean, minimal, maintainable, and free of unnecessary abstractions.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Codebase Simplification & Maintenance Guide

This skill provides guidelines on how to keep repositories clean, avoid over-engineering, and maintain high developer velocity.

---

## 1. Local Branch-First Development

> [!IMPORTANT]
> **CREATE A LOCAL BRANCH FIRST**: Always start by creating a dedicated local branch from `main`:
> ```bash
> git switch -c <developer-or-agent>/main/<feature-name>
> ```
> Never develop or modify code directly on `main`.

---

## 2. Core Principles

1. **Prune Speculative Abstractions**:
   - Do not create interfaces or wrapper layers that have only a single implementation unless required for mocking in tests.
   - Prefer straightforward, readable standard library code over heavy external frameworks.

2. **Centralized Configuration**:
   - Never call `os.Getenv` or `process.env` in arbitrary component or handler files.
   - All environment access must go through dedicated central modules (e.g. `config/env.ts`, `config/settings.py`, `config/config.go`).

3. **Zero Dead Code**:
   - Remove unused functions, structs, imports, scripts, and commented-out code during every refactoring pass.

4. **Safe Database Practices**:
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add mishrashardendu22/agent-skills/codebase-simplification-guide@sha256:1614e3736fffd437

The line at the top of this page pins the label git:20260914.e06e21c, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_cl3ngirzznfryrtz.svg)](https://markdownregistry.com/a/art_cl3ngirzznfryrtz)

6 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 3 versions of this file, between Aug 31, 2026 and Sep 14, 2026, about one every 7 days.

versioncommittedcommitsizeaudit
git:20260914.e06e21c latest2026-09-14 e06e21c 1,638 BA view · diff
git:20260905.a73d7ea2026-09-05 a73d7ea 1,623 BA view · diff
git:20260831.0978e7e2026-08-31 0978e7e 1,705 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (1638 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

mishrashardendu22/agent-skills · 6 stars · license MIT · pushed 2026-09-17 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_cl3ngirzznfryrtz
GET https://markdownregistry.com/api/v1/resolve?ref=mishrashardendu22/agent-skills/codebase-simplification-guide
GET https://markdownregistry.com/api/v1/blob/1614e3736fffd437c374ea8367ea536205d50fc4ae958c08f88217ea4638d413

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from mishrashardendu22/agent-skills

agent-observatory-workflow SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/agent-observatory-workflow/SKILL.md · Step-by-step instructions for building and extending Python AI agent services: adding LangChain/LiteLLM tools…
git:20260914.e06e21c · audit A · 6 stars
careercafe-curiotech SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/careercafe-curiotech/SKILL.md · Official visual design system, typography, theme models, multi-surface UI protocols, and frozen landing page…
git:20260914.320e0e3 · audit A · 6 stars
ci-cd-workflow SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/ci-cd-workflow/SKILL.md · Rules, architectures, and guidelines for maintaining GitHub Actions CI/CD workflows, Docker Hub image publishing, and…
git:20260917.f685a8f · audit A · 6 stars
cli-tooling-guide SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/cli-tooling-guide/SKILL.md · Standard operating guide for first-class authenticated CLI tools in the repository: GitHub CLI (gh), Google Jules CLI…
git:20260914.e06e21c · audit A · 6 stars
code-quality-and-validation SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/code-quality-and-validation/SKILL.md · Standards, tools, and commands for code formatting, linting, and static type checking across Go, Python, and TypeScript.
git:20260914.e06e21c · audit A · 6 stars
doc-synchronization SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/doc-synchronization/SKILL.md · High-priority rules and automated procedures for continuously keeping repository documentation, API references…
git:20260914.e06e21c · audit A · 6 stars
docker-first-architecture SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/docker-first-architecture/SKILL.md · Rules, architectures, multi-stage Dockerfile blueprints, and container-first workflows for all microservices…
git:20260914.e06e21c · audit A · 6 stars
git-branch-management SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-branch-management/SKILL.md · Rules and procedures for creating, naming, structuring, and navigating Git branches in the repository for both human…
git:20260914.e06e21c · audit A · 6 stars
git-commit-workflow SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-commit-workflow/SKILL.md · High-priority rules, message formats, commit design taxonomy, and strict permission boundaries for creating frequent…
git:20260914.e06e21c · audit A · 6 stars
git-post-merge-cleanup SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-post-merge-cleanup/SKILL.md · Rules, safety constraints, and automated procedures for post-merge local Git cleanup, synchronizing main with GitHub…
git:20260917.f685a8f · audit A · 6 stars
git-worktree-management SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/git-worktree-management/SKILL.md · Standard operating procedure for ephemeral Git worktree isolation, directory conventions, branch-to-worktree 1:1…
git:20260914.d2d9993 · audit A · 6 stars
github-backup-automation-system SKILL.md skill
mishrashardendu22/agent-skills · .agents/skills/github-backup-automation-system/SKILL.md · System architecture, inter-service topology, database schemas, and AI observatory development runbooks for the GitHub…
git:20260915.349b62c · audit A · 6 stars

Every file in mishrashardendu22/agent-skills

Browse by kind, by grade A, or by owner.