/mstack:mstackfrom mstack
Engineering base. Eight rules for coding work, and one module each for shaping new code, debugging a failure, writing or changing tests, judging what a change could break, working through a migration or a sweep of many steps, measuring performance or an eval, checking work or answering a review before calling it done, getting a second review with fresh context, writing a verification skill for a project, cleaning up code, researching an API or a past decision, writing docs or commit messages, auditing always-loaded context, TypeScript, and Swift. Use when the task is any of these, or when the user says mstack. Also holds guides for Playwright CLI, agent-desktop, Obsidian, Defuddle, Knap, and PDFx.
Ships in mstack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Eight rules apply to all work. Each module is a separate file: read it when its trigger matches, and only then.
Paths are relative to this file.
| Trigger | Read |
|---|---|
| Writing new logic with state, branches, or outside data; designing a type or a signature; replacing an internal API | modules/code-shape.md |
| Something is broken, failing, flaky, or slow and the cause is unknown | modules/debugging.md |
| Writing or changing a test, or fixing a bug that has a cheap test path | modules/testing.md |
| "What could this break", a diff you do not trust, a changed contract, a schema migration, or a dependency upgrade | modules/change-impact.md |
| A sweep, a migration, a rewrite in phases, or the same edit across many files | modules/long-work.md |
| Producing or reporting a performance number or an eval score | modules/measuring.md |
| About to report work as finished, reviewing a diff, or answering review comments | modules/closing.md |
| The user asks for a second agent or another model to review the change, or a high-risk change is about to be reported as done | modules/second-review.md |
| Asked for a way to let the agent start the app and check its own work, or the same manual check keeps falling to the user | modules/verify-skill.md |
| Asked to clean up code or trim comments | modules/code-cleanup.md |
| Asked to research or look something up, or to explain why code is the way it is | modules/research.md |
| Writing docs, a README, a PR description, or a commit message | modules/prose.md |
| Asked to audit what the agent loads in every session | modules/context-audit.md |
Editing a .ts or .tsx file | modules/typescript.md |
| Writing, reviewing, or migrating Swift | modules/swift.md |
Two more modules are external skills. mstack does not copy them. If the skill is installed, use it; if not, name it and go on without it.
| Trigger | External skill |
|---|---|
| Property-based tests | property-based-testing, from trailofbits/skills |
| Setting up or migrating a Python project | modern-python, from trailofbits/skills |
When the repo already has a convention that works, the repo's convention wins over a module's default.
Each folder under guides/ is a skill that someone else wrote for one technology, copied at the commit named in guides/THIRD_PARTY.md. Read a guide only when its signal matches the repo or the request. "On request" means: open it when the user asks for that tool, not because the repo matches.
@latest runners, deploys, pushes. They are reference. Install, deploy, commit, push, or start a subagent only when the user asked.| Signal | Read | Care |
|---|---|---|
| Driving a browser from the terminal | guides/playwright-cli/GUIDE.md | Global install only with permission. Do not attach screenshots to a PR unless asked. |
| An Obsidian vault: notes, properties, wikilinks | guides/obsidian-markdown/GUIDE.md | |
.base files | guides/obsidian-bases/GUIDE.md | |
.canvas files | guides/json-canvas/GUIDE.md | |
| Operating Obsidian from the terminal | guides/obsidian-cli/GUIDE.md | |
| Obsidian Sync or Publish from the terminal, on request | guides/obsidian-headless/GUIDE.md | Needs a subscription. Do not sync one vault with both the app and ob. |
| Notes from templates and data with Knap, on request | guides/knap/GUIDE.md | |
| Turning a web page into clean Markdown with Defuddle | guides/defuddle/GUIDE.md | |
| Checking a native macOS app through the accessibility tree, on request | guides/agent-desktop/GUIDE.md, guides/agent-desktop-macos/GUIDE.md | Needs the agent-desktop CLI. It keeps local session traces by default. |
| A repo that already uses PDFx | guides/pdfx/GUIDE.md | Every render sends the data to pdfx.fr and needs PDFX_API_KEY. |
RULES.md (opens in a new tab)THIRD_PARTY.md (opens in a new tab)guides/THIRD_PARTY.md (opens in a new tab)guides/agent-desktop-macos/GUIDE.md (opens in a new tab)guides/agent-desktop/GUIDE.md (opens in a new tab)guides/defuddle/GUIDE.md (opens in a new tab)guides/json-canvas/GUIDE.md (opens in a new tab)guides/json-canvas/references/EXAMPLES.md (opens in a new tab)guides/knap/GUIDE.md (opens in a new tab)guides/licenses/Apache-2.0-microsoft-playwright-cli.txt (opens in a new tab)guides/licenses/Apache-2.0-vercel-labs-agent-desktop.txt (opens in a new tab)guides/licenses/MIT-obsidianmd-obsidian-skills.txt (opens in a new tab)guides/licenses/MIT-solisoft-pdfx-skills.txt (opens in a new tab)guides/obsidian-bases/GUIDE.md (opens in a new tab)guides/obsidian-bases/references/FUNCTIONS_REFERENCE.md (opens in a new tab)guides/obsidian-cli/GUIDE.md (opens in a new tab)guides/obsidian-headless/GUIDE.md (opens in a new tab)guides/obsidian-markdown/GUIDE.md (opens in a new tab)guides/obsidian-markdown/references/CALLOUTS.md (opens in a new tab)guides/obsidian-markdown/references/EMBEDS.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mauroproto/mstack --plugin mstack8 skills in this plugin
/architectStructure of a codebase. Open it without being asked when a change adds a module or an interface, crosses packages, or involves retries, concurrency, or shared state. Use to design or restructure modules and their interfaces, enforce boundaries between packages in a TypeScript monorepo, build the domain glossary and record decisions, find what to remove from a codebase, design operations that can be retried or that share state between concurrent actors, stop a mistake that agents keep repeating in a repo, or review a session to improve the agent's environment. Also holds guides for Supabase, Postgres table design, Vercel AI SDK, Cloudflare Workers, Wrangler and Durable Objects, Vercel cost audits, and evals for LLM products./designUser interfaces. Open it without being asked before you build or change any UI, such as a component, a page, styles, or an animation. Use to design, build, polish, or review UI: typography, color, layout, motion, accessibility, interface copy, gestures, mobile web, building from a Figma file or an image, breaking a UI with worst-case data, checking rendered UI against a reference, or reviewing the interface changes in a diff. Also holds guides for shadcn/ui, React and React Native, view transitions, Expo animations, Sonner, modern web platform APIs, page metadata, web performance, and Chrome extensions./learnTeaching the user, on explicit request. Use when the user asks to be taught, quizzed, or drilled on a topic, or wants a course over several sessions that keeps track of what they have learned./mlMachine learning, statistics, and model training. Open it without being asked when the work splits data, trains or evaluates a model, runs a statistical test, fits a Bayesian model, fine-tunes a language model or an embedding model, debugs GPU memory, or reads evaluation logs./motionVideo and motion graphics, on request. Use to put a UI inside a device frame, make a product photo or a product film of software and render it to MP4, or make animated dot art. Also holds guides for GSAP, Manim, p5.js, and ComfyUI. For the motion of an interface itself, use the design skill./planBefore and after the code. Open it without being asked when a request is vague or larger than a few steps. Use to question a plan or an idea, sharpen a vague request, build a throwaway prototype, weigh a product or scope tradeoff, investigate a ticket before coding, split work into tasks, hand work to another agent or session, write a pull request body, get an open pull request ready to merge, or script a manual setup procedure.