/sir-albert:planfrom Sir Albert
Use when asked to write a plan, break down a task, create implementation steps, or turn a spec into agent-executable tickets. Also triggers on affirmative plan confirmations. Triggers on: "write a plan", "plan this", "plan it", "break this down", "break this down into tickets", "implementation steps", "vertical slices", "write a plan for", "plan a feature", "create a brief plan", "how do we roll this out", "steps to migrate", "yes go ahead and plan", "html plan", "html-plans", "share-plan".
Ships in Sir Albert. 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.
Generates two artifacts from a single planning session: an interactive HTML document for human navigation and agent-executable ticket .md files as the source of truth for build work.
Announce at start: "I'm using the plan skill."
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.html
Before generating any files:
.md files only after approval. This is a tracer-bullet: approve once, then generate all files.Do not generate files before approval. Do not auto-approve.
For each milestone/task in the plan, also write a ticket .md file:
Path: docs/plans/YYYY-MM-DD-<topic>/tickets/NN-<slug>.md
Format:
# NN — <slug>
**Blocked by:** <ticket numbers or —>
**Spec:** `docs/specs/YYYY-MM-DD-<topic>.md §<section>` (if applicable)
## Goal
One sentence: what does "done" look like?
## Steps
1. <exact file path + action, 2–5 min each>
2. ...
## Definition of Done
- [ ] criterion
## CHECKPOINT (if any irreversible action)
Stop and ask before: pushing to remote, deploying, external sends, deletes.
Granularity rules (writing-plans gates):
pytest tests/… — Expected: PASS."**Blocked by:** 03, 07 not just prose.HTML plans are easier to read, navigate, and share. They support collapsible task details, syntax-highlighted code, Mermaid diagrams for data flow, and visual progress indicators. A 200-line markdown plan becomes an interactive document you actually want to read. The trade-off is slower generation and noisier diffs — worth it for plans that will be read more than once or shared with others.
Every plan has these sections in this order. The structure is mandatory; the visual treatment within each section is up to you.
Top of the document. Orients the reader in 10 seconds.
3-5 bullet criteria that define when the entire plan is complete. These are the acceptance criteria for the plan itself, not individual tasks.
Example:
comments_v1 flag and tested in stagingWhen the plan involves multiple components, services, or data transformations, include a Mermaid diagram. Read ../../../shared/references/mermaid-patterns.md for monday-themed Mermaid config and common patterns.
Use diagrams when they clarify — not on every plan. A plan that touches one file doesn't need a flowchart.
Group tasks into logical milestones (2-5 milestones for a typical plan). Each milestone should be independently shippable or at least independently reviewable.
Show milestones as a visual timeline or card layout. Include:
The core of the plan. Each task follows the structure below.
The final task is always an end-to-end verification. Same format as other tasks. It runs the full flow described in the Goal and confirms the Definition of Done is met.
Each task is a collapsible section. When collapsed, show: task number, name, files touched. When expanded, show everything.
### Task N: [Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
**Steps:**
Step 1: Write the failing test
[code snippet]
Step 2: Run test to verify it fails
Run: `pytest tests/path/test.py::test_name -v`
Expected: FAIL with "function not defined"
Step 3: Write minimal implementation
[code snippet]
Step 4: Run test to verify it passes
Run: `pytest tests/path/test.py::test_name -v`
Expected: PASS
Step 5: Commit
`git add ... && git commit -m "feat: ..."`
**DOD:**
- [ ] New test passes
- [ ] `npm test` / full suite still green
- [ ] [task-specific acceptance criteria]
**⚠️ Risk** (only if there's a real one):
Brief risk + mitigation, inline. No risk? Don't include this.
Each step is one action (2-5 minutes):
Keep this granularity. It makes plans mechanically executable by coding agents.
If there are unresolved decisions that could affect implementation, list them at the end of the relevant task (not in a separate section). Include who should decide and when.
The output is one .html file. All CSS is inline in <style>. All JS is inline in <script>. The only external dependency allowed is the Mermaid CDN for diagram rendering.
Read ../../../shared/references/design-tokens.md for the full CSS variable set. Key tokens:
Colors (dark theme):
#000000#232427#2D3035#ffffff#c3ced8#a0a0a0#6164ff#00c875#ffcb00#ff3d57Typography:
vmin units for responsive sizingSpacing:
--space-1 (0.5vmin) through --space-10 (10vmin)px for spacing<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>[Feature Name] — Implementation Plan</title>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.min.js"></script>
<style>
/* Design tokens — read ../../../shared/references/design-tokens.md */
/* Layout, components, collapsibles, code blocks */
</style>
</head>
<body>
<!-- Plan content -->
<script>
// Mermaid init with monday theme
mermaid.initialize({
startOnLoad: true,
theme: 'dark',
themeVariables: {
primaryColor: '#6164ff',
primaryTextColor: '#ffffff',
primaryBorderColor: '#6164ff',
lineColor: '#c3ced8',
secondaryColor: '#232427',
tertiaryColor: '#2D3035',
fontFamily: 'Poppins, sans-serif'
}
});
// Collapsible toggle logic
</script>
</body>
</html>
Collapsible tasks: Each task section collapses/expands on click. Default: first task expanded, rest collapsed. Use a chevron indicator and smooth transition.
Code blocks: Use <pre><code> with syntax highlighting via CSS classes. Dark surface background, monospace font (SF Mono, Fira Code, Consolas fallback).
DOD checkboxes: Render as real <input type="checkbox"> elements. They don't persist state — they're for visual tracking during a session.
Risk callouts: Styled inline with a left border in --color-yellow or --color-red depending on severity.
Progress indicator: A simple bar or fraction at the top showing "N of M tasks" — updated by checkbox state if you want, or static.
The structure above is the content contract. Within it, you have freedom to:
Don't force visuals. A plan for a one-file refactor doesn't need diagrams and tabs. Match the visual complexity to the plan complexity.
When a plan involves data flow, component interaction, or task dependencies, use Mermaid diagrams rendered client-side. Read ../../../shared/references/mermaid-patterns.md for the full reference including monday-themed configuration.
Common diagram types for plans:
Embed diagrams inline:
<pre class="mermaid">
flowchart LR
A[Client] -->|POST /api| B[Server]
B --> C[(Database)]
C -->|rows| B
B -->|JSON| A
</pre>
After saving the plan, automatically open it in the user's default browser (do not wait for them to ask):
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub gal-tab/sir_albert --plugin sir-albert42 skills in this plugin
/board-of-advisorsAssemble a virtual "Board of Advisors" offering 4 distinct perspectives on a problem, decision, or strategy. Use when the user asks for "board of advisors", "multiple perspectives", "evaluate this decision from different angles", or "4 points of view"./brainstormUse when exploring angles, sharpening thinking, attacking a plan, running a panel of advisors, drilling an idea with relentless questions, zooming out on context, designing a solution, or receiving a context dump asking for your opinion or a recommendation. Triggers on: "brainstorm this", "grill this", "attack this", "zoom out", "play devil's advocate", "let's design this", "board of advisors", "sharpen this", "stress test this", "find holes in this", "fresh perspective", "4 perspectives", "want to build X", "want to understand what's happening", "look at this and advise", "what's really going on here", "here's the situation"./buildOther plugins' skills for the same job