Install
$ agentstack add skill-the-alien-club-claude-workflows-add-playbook-rule ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Add Playbook Rule
A playbook is a directory of .md files, one per architectural rule. This skill guides the user through authoring a new rule and writes it to the correct playbook directory.
Step 1 — Find the Target Playbook
find . -type d -name playbook | grep -v node_modules | grep -v .git
If multiple, ask the user which one. If none, ask for the path.
Step 2 — Check for Duplicates
Read all existing .md files (first 20 lines each) to understand current coverage. If the user's rule is already covered, name the file and ask whether they want to extend it or add a distinct complementary rule.
Step 3 — Elicit the Rule
Use AskUserQuestion to collect:
- Rule name — slug, kebab-case, used as filename (e.g.
error-handling,service-boundaries) - The rule in one sentence — what must always be true?
- The motivation — what breaks when it is violated? Name the failure mode.
- A correct example — code showing the rule followed
- A forbidden example — code showing the violation, with the specific problem annotated
If the user gives a vague rule, ask for a concrete forbidden pattern first — that surfaces the real constraint.
Step 4 — Draft the Rule File
Structure:
# [Title] Rule
## Rule
[One-paragraph statement. Direct, no hedging. State what is forbidden.
Name the consequence — not a style issue, a correctness/security/maintainability issue.]
---
## Why
[2–4 sentences: what breaks when this rule is violated. Be specific — name the failure mode.]
---
## Correct Pattern
```[lang]
// ✅ [Short description]
[code example]
Forbidden Patterns
```[lang] // ❌ [Violation description] — [specific harm] [code example]
---
## Rules Summary
- [Bullet: precise, imperative]
- [...]
---
## Relation to Other Rules
[Optional cross-references to other playbook files.]
Quality checks before writing:
- No weasel words ("try to", "prefer", "consider")
- Every forbidden pattern has a named harm — not "messy" or "unclear"
- The rule is falsifiable — a reviewer can determine pass/fail without judgment calls
- Correct pattern is valid syntax
- File is between 40 and 200 lines
If any check fails, iterate with the user.
Step 5 — Confirm and Write
Show the full draft. Once approved, write to [playbook-path]/[rule-name].md.
Confirm with the exact path written, then:
> Rule added. Run /review_playbook on any commit or MR to enforce it.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: the-alien-club
- Source: the-alien-club/claude-workflows
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.