Skip to content
Skill Authoring
Skill

/governor

Use when the user says 'new project', 'project init', 'what tier', 'scope', or discusses project maturity, complexity budget, or what's appropriate to build.

From plugin
memstack
43387 skills2 commands4 hooks

Claude Code

$ npx -y skills add cwinvestments/memstack --skill governor --agent claude-code

SKILL.md

governor.SKILL.md
name: governor
description: "Use when the user says 'new project', 'project init', 'what tier', 'scope', or discusses project maturity, complexity budget, or what's appropriate to build."
version: 1.0.0

๐Ÿ›๏ธ Governor: Portfolio Governance

*Enforce tier-appropriate complexity. Prevent over-engineering the #1 waste of time in AI-assisted development.*

Activation

When this skill activates, output:

`๐Ÿ›๏ธ Governor: Checking project tier constraints...`

Then execute the protocol below.

Context Guard

| Context | Status | Priority | |---------|--------|----------| | **User starts a new project ("new project", "init", "scaffold")** | ACTIVE: assign tier | P1 | | **User asks "what tier", "what's allowed", "scope check"** | ACTIVE, report current tier constraints | P1 | | **User proposes work that exceeds current tier** | ACTIVE: flag and advise | P2 | | **User is executing work within tier constraints** | DORMANT: don't interrupt | none | | **User explicitly overrides ("I know, do it anyway")** | DORMANT: user has authority | none |

Anti-Rationalization

If you're thinking any of these, STOP, you're about to let scope creep happen:

| You're thinking... | Reality | |---|---| | "Adding tests is always good practice" | Not for prototypes. Tests for throwaway code waste time. | | "This needs proper auth" | Single-user tools don't need auth. Add it when there are users. | | "Let me add CI/CD while I'm at it" | CI/CD for a prototype is gold-plating. Ship first. | | "Error handling should be comprehensive" | Prototype error handling = crash and log. That's it. | | "I should add monitoring" | < 10 users? Console.log is your monitoring. | | "This should be configurable" | Hardcode it. Make it configurable when someone asks. |

Protocol

Step 1: Determine Project Tier

Ask or infer the project tier from context:

| Tier | Description | Effort Allocation | |------|-------------|-------------------| | **Prototype** | Exploring an idea. May be thrown away. | Minimal: working code only | | **MVP** | Validated idea, building for first users. | Moderate: basic quality gates | | **Production** | Serving real users, needs reliability. | Full: complete quality stack |

If tier is unclear, default to **Prototype** and escalate only when evidence suggests otherwise.

Step 2: Apply Tier Constraints

Prototype: Move Fast, Break Things

| Allowed | NOT Allowed | |---------|-------------| | Working code that demonstrates the idea | Unit tests | | Hardcoded config values | CI/CD pipelines | | Console.log for debugging | Type systems / strict typing | | Single-file scripts | Monitoring / alerting | | README with setup instructions | Authentication / authorization | | | Infrastructure-as-code | | | Rate limiting | | | Database migrations (use SQLite) |

**Prototype rule:** If it works in a demo, ship it.

MVP: Prove It Works

| Allowed | NOT Allowed | |---------|-------------| | Everything from Prototype, plus: | Integration test suites | | Basic unit tests (happy path only) | Full CI/CD with staging | | Simple error handling (try/catch at boundaries) | Monitoring dashboards | | Environment variables for config | Multi-environment deploys | | Basic input validation | Performance optimization | | Simple auth (if multi-user) | Horizontal scaling | | README + basic API docs | Comprehensive logging |

**MVP rule:** If the first 10 users can use it reliably, ship it.

Production: Reliability Matters

| Allowed | Required | |---------|----------| | Everything from MVP, plus: | Comprehensive tests (unit + integration) | | Performance optimization | CI/CD pipeline | | Monitoring and alerting | Error tracking (Sentry or equivalent) | | Multi-environment deployment | Input validation at all boundaries | | Horizontal scaling | Authentication + authorization | | Database migrations | Logging with structured output | | Rate limiting | API documentation |

**Production rule:** If it breaks at 3 AM, someone gets paged.

Step 3: Report Constraints

Output a brief summary:

๐Ÿ›๏ธ Project: {name}
   Tier: {Prototype | MVP | Production}
   Allowed: {brief list}
   NOT allowed: {brief list of key restrictions}

Step 4: Flag Violations

When the user proposes work that exceeds the tier, flag it:

๐Ÿ›๏ธ Governor, Scope check:
   You're proposing {X}, but this is a {Tier} project.
   {X} is a {higher tier} concern. Current tier doesn't require it.
   Want to proceed anyway, or skip it for now?

Always defer to the user if they override. Governor advises, doesn't block.

Anti-Patterns by Tier

Prototype Anti-Patterns: DON'T DO THIS

1. **Writing tests for throwaway code**: If the prototype proves the idea wrong, those tests are wasted 2. **Adding auth to single-user tools**: You're the only user. Skip it 3. **Setting up CI/CD**: You're not deploying to production. `git push` is your CI 4. **Using TypeScript for a quick script**: JavaScript is fine for prototypes 5. **Adding rate limiting**: You have 0 users. Rate limit when you have 10 6. **Creating database migrations**: SQLite + direct schema changes. Migrate when you scale 7. **Building admin dashboards**: Database GUI tool (TablePlus, DBeaver) is your admin panel 8. **Over-abstracting**: 3 similar lines > 1 premature abstraction 9. **Adding comprehensive error handling**: Crash and read the stack trace. That's debugging 10. **Monitoring and alerting**: Console output is your monitoring

MVP Anti-Patterns: DON'T DO THIS

1. **Integration test suites**: Happy-path unit tests are enough at MVP 2. **Multi-environment deploys**: One environment. Dev IS production 3. **Performance optimization**: Make it work, make it right, THEN make it fast. You're at step 2 4. **Horizontal scaling**: Vertical scale (bigger server) until proven insufficient 5. **Comprehensive logging**: Log errors and key events. Not every function call

Production Anti-Patterns: DON'T DO THIS

1. **Skipping tests to "move faster"**: You'll mov

Read more
@cwinvestments
Ships withmemstack

The structured skill framework for Claude Code: 131 professional skills for deployment, security, databases, content, marketing, and more. Skills activate automatically when you need them. Say "deploy this to Railway" and the right skill loads on demand.

Stars on GitHub

Momentum

stars in total
433
Star history of cwinvestments/memstack on GitHub, a chart by star-history.com

Other skills on memstack.

api-integration

api-integration

Use this skill when the user says 'API integration', 'connect APIs', 'sync data', 'data mapping', 'rate limiting', or needsโ€ฆ

content-pipeline

content-pipeline

Use this skill when the user says 'content pipeline', 'content automation', 'auto-publish', 'repurpose content', 'multi-platformโ€ฆ

cron-scheduler

cron-scheduler

Use this skill when the user says 'cron job', 'scheduled task', 'run every', 'cron expression', 'recurring job', or needsโ€ฆ

hosted-mcp-catalog

hosted-mcp-catalog

Use when the user says 'what MCP servers', 'find an MCP for', 'hosted MCP', 'list MCP servers', 'MCP catalog', 'available MCPโ€ฆ

n8n-workflow-builder

n8n-workflow-builder

Use this skill when the user says 'n8n workflow', 'build a workflow', 'automation workflow', 'connect services', or needs visualโ€ฆ

webhook-designer

webhook-designer

Use this skill when the user says 'webhook', 'webhook handler', 'webhook endpoint', 'receive events', 'HMAC verification',โ€ฆ

More skills from other plugins.

gstack-openclaw-ceo-review

gstack-openclaw-ceo-reโ€ฆ

Use when asked to review a plan, challenge a proposal, run a CEO review, poke holes in an approach, think bigger about scope, orโ€ฆ

gstack3w138k
@garrytan@garrytanInstall Skill
book-to-skill

book-to-skill

Converts books and documents (PDF, EPUB, DOCX, HTML, Markdown, plain text, RTF, MOBI/AZW with Calibre) into structured agentโ€ฆ

@virgiliojr94@virgiliojr94Install Skill
distilly

distilly

Set up the owner profile so a personal agent knows who it works for (first-run setup, \"get to know me\"), or distill colleague,โ€ฆ

@titanwings@titanwingsInstall Skill

Questions about governor.

Which coding agents can use governor?
governor installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.