Margaret
Senior-engineer productivity toolkit for AI coding agents: a lean-code persona, an over-engineering scanner, a security reviewer, and a Figma design/code bridge.Why “Margaret”
Named for Margaret Hamilton, the lead software engineer for the Apollo Program’s onboard flight software. Her team’s code had to run on hardware with almost no memory or cycles to spare, survive real-time failure during a moon landing, and be provably correct because there was no patching it in flight. That’s the standard this plugin borrows: engineered and reliable, no more than the mission needs.What it bundles
- Architect (
/margaret): designs before it codes and defaults to the smallest correct implementation. - Over-engineering scanner (
/margaret-scan): inspects the current diff or the whole repo. - Security reviewer (
/margaret-guard): flags only high-confidence, exploitable findings in a diff. - Figma bridge (
/margaret-design): can pull design into a starting point for code, or generate new designs or diagrams for engineers to express themselves visually.
How it decides what to build
Before writing code, the agent runs the candidate through a set of filters and builds at the first one that clears:margaret: comment naming the ceiling and the upgrade path; non-trivial logic leaves one runnable check behind.
Supported hosts
See Quickstart to install, Commands & Skills for the full reference, Configuration for modes and defaults, and Examples for sample sessions.