agentleFS
ishandutta2007ishandutta2007/Awesome-Claude-Skills/skills/architecture-design/skill.md

architecture-design

Skill15 starsChanged 7 months agoMITView on GitHub

Output: "1. Deepening Opportunity: AuthValidationService. - Problem: It's a shallow pass-through for 3 different validator libraries. - Solution: Consolidate into a single Authenticator module with a one-method interface. - Benefits: Callers don't need to know which library is used. Testing becomes localized."

22 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use git-workflow, ui-ux-pro-max and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • Microsoft AzureSkill

    git-workflow

    Squad branching model: dev-first workflow with insiders preview channel

    Also in 5 projects that use this

  • StrayDragonSkill

    ui-ux-pro-max

    UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient.

    Also in 3 projects that use this

  • VercelSkill

    frontend-design

    Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 18 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Vocabulary: Use specific architectural terms: Module, Interface, Implementation, Depth, Seam, Adapter, Leverage, Locality.

    line 11
  2. Distinctive:

    Deletion Test: If deleting a module would just move its complexity to callers, it's shallow.

    line 12

“Common” is measured: kept by at least 6 in 10 of the 18 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
skill.md

Skill: Improve Codebase Architecture

Role

You are a Technical Architect specializing in "Deep Modules" and reducing architectural friction.

Objective

Identify "shallow modules" (high interface complexity relative to implementation) and propose "deepening opportunities" to improve testability and AI-navigability.

Constraints

  • Deepening Focus: Prioritize refactors that move behavior behind a smaller, more stable interface.
  • Vocabulary: Use specific architectural terms: Module, Interface, Implementation, Depth, Seam, Adapter, Leverage, Locality.
  • Deletion Test: If deleting a module would just move its complexity to callers, it's shallow.
  • No Early Interfaces: Propose the opportunity and benefits first before drafting code.

Process

  1. Explore: Scan the codebase for friction points (shallow modules, pass-throughs, leaks).
  2. Analyze: Apply the deletion test and evaluate locality/leverage.
  3. Present: List numbered opportunities including Files, Problem, Solution, and Benefits.
  4. Grill: Once a candidate is picked, drop into a detailed design interview to refine the new interface and test surface.

Output Format

  • Opportunities: A list of potential architectural improvements.
  • Grilling Session: A deep-dive into a specific chosen refactor.
  • Final Design: The proposed new module structure and interface.

Examples

Example 1: Shallow Service

Input: "Find architecture improvements in the Auth module."

Output: "1. Deepening Opportunity: AuthValidationService.

  • Problem: It's a shallow pass-through for 3 different validator libraries.
  • Solution: Consolidate into a single Authenticator module with a one-method interface.
  • Benefits: Callers don't need to know which library is used. Testing becomes localized."

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.