Existing Repo
Guardrail-first skill for existing repos: audits structure and conventions before adding hooks, linters, and commit rules.
- CCM score
- 54 of 100
- skills.sh installs
- 256
- GitHub stars
- 712
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers repo analysis, convention detection, a guardrails audit, and setup for JavaScript/TypeScript and Python projects
- Runs read-only detection commands for stack, monorepo layout, test setup, CI workflows, and existing hook managers
- Enforces "only add missing guardrails; never overwrite existing configurations" and documents conventions before any change
- Integrates Husky, lint-staged, pre-commit, and commitlint, with sample ESLint, Prettier, and lint-staged configs
Install
$ npx -y skills add alinaqi/maggy --skill existing-repo -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Existing Repository Skill
For working with existing codebases - analyze structure, respect conventions, and set up proper guardrails without breaking anything.
Sources: Husky | lint-staged | pre-commit | commitlint
Core Principle
Understand before modifying. Existing repos have conventions, patterns, and history. Your job is to work within them, not reorganize them.
Phase 1: Repository Analysis
ALWAYS run this analysis first when joining an existing repo.
1.1 Basic Detection
# Check git status
git remote -v 2>/dev/null
git branch -a 2>/dev/null
git log --oneline -5 2>/dev/null
# Check for existing configs
ls -la .* 2>/dev/null | head -20
ls *.json *.toml *.yaml *.yml 2>/dev/null
1.2 Tech Stack Detection
# JavaScript/TypeScript
ls package.json tsconfig.json 2>/dev/null
# Python
ls pyproject.toml setup.py requirements*.txt 2>/dev/null
Details
- Repository
- github.com/alinaqi/maggy
- Categories
- Code Review & Quality, Git & Releases
- First seen
- Jun 3, 2026
Questions
What does the existing-repo skill do?
The existing-repo skill analyzes an existing codebase before any changes are made, including its structure, tech stack, entry points and conventions. It then adds only the missing guardrails such as pre-commit hooks, linting, type checking and commit message checks, without overwriting existing configuration.
Where does existing-repo rank in Code Review & Quality?
existing-repo sits in the Code Review & Quality category on Claude Marketplaces, next to improve-codebase-architecture, codebase-design, code-review, setup-ts-deep-modules and caveman-review. Its own focus is onboarding into a repository and setting up guardrails, so it covers the first look at a codebase rather than reviewing individual changes.
How do I install the existing-repo skill?
Run npx -y skills add alinaqi/maggy --skill existing-repo -y inside your project. Once installed, the existing-repo skill lets the agent analyze the repo, detect conventions, and set up guardrails when you first work in an existing codebase.
Who should use the existing-repo skill?
The existing-repo skill suits developers who are working with an existing codebase for the first time or want to add guardrails to it. Its SKILL.md says it is meant for joining an unfamiliar repo and respecting its conventions rather than reorganizing it.
What tools does the existing-repo skill use?
The existing-repo skill is allowed to use Read, Glob, Grep and Bash, so it can inspect files and run shell commands like git log and directory listings. Its analysis phases are built on those commands to map structure and detect tooling.
More from alinaqi/maggy
All 54- Credentials254
- Aws Aurora252
- Medusa252
- Reddit Ads251
- Iterative Development250
- Gemini Review247
- Ticket Craft247
- Python246
- Project Tooling244
- Base241
- 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
Similar to Existing Repo
More Code Review & QualitywardenSkillgetsentry/warden343 installsLocal pre-commit code review skill that runs Warden to analyze uncommitted changes, git refs, or specific files.
typescriptSkillalinaqi/maggy286 installsTypeScript strict-mode guardrails covering tsconfig, eslint, Jest testing, and pre-commit gates.
setup-pre-commitSkillvinvcn/mattpocock-skills-zh-cn5.9K installsStep-by-step Husky pre-commit setup that wires lint-staged, Prettier, typecheck, and tests into commits.
huskyPluginccplugins/awesome-claude-code-plugins1K starsSets up and manages Husky Git hooks by configuring pre-commit hooks, establishing commit message standards, integrating with linting tools, and ensuring code qu
git-hooks-setupSkillaj-geddes/useful-ai-prompts453 installsGit hook setup covering Husky and pre-commit that enforces linting, commit messages, secret scanning, and tests.