Skills for Real Engineers. Straight from my .agents directory.
improve-architecture
Agent skill fromdaveebbelaar/bama
Architecture check-in for a growing macOS Swift codebase. Finds hot spots, proposes deeper modules, and refactors one step per commit with behavior proven unchanged. Use at the end of a milestone, before a big feature, when a file passes 600 lines, when one feature touches many files, when bugs repeat in one area, or when the user asks to refactor or clean up the code.
How to install improve-architecture
npx skills add daveebbelaar/bama# or add only this skill to Claude Code: copy the folder
skills/code/improve-architecture/
# into
~/.claude/skills/improve-architecture/ (all projects)
.claude/skills/improve-architecture/ (one project)
1# Improve architecture23Features pile up, and an app that was easy to change gets hard to change.4A **check-in** catches that early: survey, propose, let the user pick, then5refactor in small steps that keep behavior the same. The target shape for6apps that grow is in [architecture.md](architecture.md).78## When to run910Any one signal is enough:1112- The end of a milestone (the `improve-loop` skill calls this skill there).13- Before a big feature. Ask: "What change to the code would make this14 feature easy?"15- A Swift file over 600 lines (act at 1,000), a type over 400 lines, or16 "unable to type-check this expression".17- One feature touched more than 6 files or more than 2 targets.18- The same area shows up in 3 fix-log entries, or the same kind of bug19 happens twice.20- State that changes more than 10 times a second sits on a model that many21 views observe.22- A dependency cannot be replaced in a test.2324## Vocabulary2526Use these words exactly, so proposals stay comparable:2728- **Module**: anything with an interface and an implementation (a type, a29 file group, a target).30- **Interface**: everything a caller must know: signatures, ordering,31 error modes, threading, performance.32- **Depth**: how much a module does per unit of interface. Deep modules hide33 a lot behind a small interface. Shallow modules are pass-throughs.34- **Seam**: a place where you can swap behavior without editing callers.35- **Adapter**: one implementation behind a seam. One adapter is a36…
Excerpt shown under the repository's MIT license.
More skills in bama
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
