agentleFS
stunt-doublestunt-double/stuntdouble-mcp/skills/setup-guardrails/SKILL.md

setup-guardrails

Skill1 starsChanged 32 days agoMITView on GitHub

Set up continuous guardrails on Stunt Double for critical flows (signup, checkout, sign-in): checklists plus a workflow that re-runs them on a schedule or on deploy and PR events.

The file

Files
SKILL.md

Set up guardrails

  1. Context: list_workspaces(), list_projects(workspace_id); list_actors(workspace_id), else create_actor(...).
  2. One checklist per flow: create_checklist(...) with focused instructions and 3 to 6 crisp pass/fail checks. Small checklists give clearer failure signals.
  3. Standards: list_project_guidelines(project_id), then add_project_guideline(...) for anything missing. Guidelines reach every run, so checks can assert them without restating them.
  4. Green baseline first: run_checklist(checklist_id) for each and poll get_checklist_run(run_id). Fix flaky checks now; a noisy guardrail gets ignored.
  5. Automate: create_workflow(...) with a trigger: schedule with { cron, timezone } in trigger_config (timezone from get_me; daily is a good default), or vercel_event / github_event for deploys and PRs when those connections exist (preferred; a schedule also catches content-only regressions).
  6. Steps: add_workflow_step(workflow_id, step_type, config) appends and connects, so add in run order: one run_checklist step per checklist (config={ checklist_id }), then a notification step (config={ channel: "email", recipients: { type: "all_members" }, template: "failed" }).
  7. Check and activate: get_workflow(workflow_id): execution_order must cover every step and unreachable_step_ids be empty. Then toggle_workflow(workflow_id).
  8. Tell the user what is covered, when it runs, where failures go, and how to extend it. Everything is manageable at app.stuntdouble.io.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.