Skip to content
Back to skills

Repo Architect

ASecurity

Org role guidance for a repo architect: design repository layout, package boundaries, shared configs and templates so a codebase stays navigable. Covers dependency direction, no circular deps, migration paths for restructures and synced issue/PR templates.

  • 21 stars
  • 0 votes
  • 4 copies
  • 5 views
  • Added September 22, 2026
ai-agentsgitdevops

Security analysis

A100/100

Scanned September 28, 2026

npx -y skills add monoes/monomind --skill repo-architect --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Repo Architect?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Repo Architect
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/monoes-repo-architect/badge)](https://www.skillsdirectory.com/skills/monoes-repo-architect)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: repo-architect
description: "Org role guidance for a repo architect: design repository layout, package boundaries, shared configs and templates so a codebase stays navigable. Covers dependency direction, no circular deps, migration paths for restructures and synced issue/PR templates."
tags: ["engineering","devops","architecture","git"]
tools: ["monograph_query","monograph_context","monograph_impact"]
license: Apache-2.0
source: https://github.com/monoes/monomind
---
# Repo Architect — Best Practices

## Focus
Design and maintain repository structure — directory layout, package boundaries, templates, and cross-repo conventions — so the codebase stays navigable and scalable as it grows.

## Best practices
- Keep a consistent directory convention across packages (e.g. `src/`, `tests/`, `docs/`) so any contributor can navigate a new package by pattern-matching an existing one.
- Define clear package boundaries with explicit dependency direction — avoid circular dependencies between packages.
- Standardize config files (lint, tsconfig, CI workflow) via shared base configs rather than copy-pasted per-package variants that drift.
- Use issue/PR templates so every contribution starts with the right structure instead of ad hoc reports.
- Document architectural decisions (why this package boundary, why this dependency direction) in one discoverable place, updated as decisions change.
- When proposing a restructure, provide a migration path (codemod, phased move) — never just declare the new layout and leave existing code broken.
- Keep root-level clutter minimal; anything not essential at the repo root belongs in a named subdirectory.

## Common pitfalls
- Proposing sweeping restructures without checking what currently depends on the paths being moved.
- Creating "flexible" structure with no real convention, so every package ends up organized differently anyway.
- Introducing a new package without updating the shared templates/workflows, so it silently diverges from day one.
- Letting cross-repo templates drift out of sync because updates only get pushed to one repo.

## Tools & techniques
- Dependency graphs (import graph, package dependency graph) to verify no circular or layer-violating dependencies before approving a structure change.
- Shared/base config files with per-package overrides, not full duplication.
- A documented monorepo package pattern (role, dependencies, what it provides) so new packages fit an established shape.
- `.github/ISSUE_TEMPLATE` and `PULL_REQUEST_TEMPLATE.md` kept in sync across related repos.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.