team-swag
Build a library of reusable skills from code you've already written.
Core trick
Extracts reusable skill files from past repositories and loads them into coding agents' context.
Description
Build a library of reusable skills from code you've already written. Feed them to coding agents to ship faster.
Like a producer reusing loops they've made before, mainstacks lets you extract patterns from past projects and drop them into new ones. Your agents get context on how you build things, so they stop guessing and start building the way you would.
README excerpt
# mainstacks Build a library of reusable skills from code you've already written. Feed them to coding agents to ship faster. Like a producer reusing loops they've made before, mainstacks lets you extract patterns from past projects and drop them into new ones. Your agents get context on how you build things, so they stop guessing and start building the way you would. ## Install ```bash brew tap cjhargreaves/tap brew install mainstacks ``` Or build from source: ```bash git clone https://github.com/cjhargreaves/mainstacks.git cd mainstacks go build ./cmd/mainstacks cp mainstacks ~/.local/bin/ ``` ## Quick start ```bash cd ~/my-project mainstacks ``` First run will ask for a [Google AI API key](https://aistudio.google.com/apikey) (free tier works). ## Usage ### TUI Run `mainstacks` in any directory: ``` ⚡ mainstacks (5 skills in library) → Ingest repo Write skills Browse skills Community Market Quit ``` - **Ingest repo** — scans a directory, extracts skills into your library  - **Write skills** — select skills and write a `SKILLS.md` to the current directory  - **Browse skills** — view, inspect, and delete skills from your library  - **Community Market** — browse, search, download, and upload skills shared by others  ### Community Market Share skills with other developers and discover new ones: ``` ⚡ mainstacks → Community Market → Brows