Skip to content

feat(correct): add correct guardrail skill plugin - #72

Open
yifu001 wants to merge 1 commit into
Factory-AI:masterfrom
yifu001:feat/correct
Open

yifu001 wants to merge 1 commit into
Factory-AI:masterfrom
yifu001:feat/correct

Conversation

@yifu001

@yifu001 yifu001 commented Oct 29, 2026

Copy link
Copy Markdown

Part of a 10-PR series contributing the agent-guardrail skill stack (prove-it-works, blast-radius, fix-root-causes, subtract-before-you-add, correct, interrogate, show-me-your-work, create-verification-skill, maintain-verification-skill, property-based-testing). Each PR is independent, adds exactly one single-skill plugin, and can be reviewed and merged in any order; adjacent additions to marketplace.json / README.md may show trivial conflicts with sibling PRs.

What

Adds the correct plugin: turns repeated operator corrections into repo-level enforcement. Find the mistake classes agents repeat, then fix each at the highest level that works — eliminate with architecture, enforce with types, add a lint whose error names the fix, test the behavior, docs last — and prove each new check fails on a real past mistake.

Why

The marketplace ships code-review, security, and runtime-verification guardrails (droid-control's /verify), but nothing covering behavioral verification discipline for the agent itself. This stack was built and battle-tested in a hackathon repo's quality gates; we are contributing it back.

Provenance and license

Adapted from the pstack skills by Lauren Tan (cursor/plugins, MIT License, commit c742dd6), with Cursor-specific machinery removed and Droid conventions applied. Made model-invocable so Droid applies it proactively.

Checklist

  • Plugin under plugins/correct/ with .factory-plugin/plugin.json
  • Skill directory symlinked into skills/ (per the check-skills CI)
  • .factory-plugin/marketplace.json entry added
  • README "Available Plugins" section added
  • No name collision with existing marketplace skills or Droid built-in skills

Finds the mistake classes agents repeat in a repo and makes each one
impossible: architecture first, then types, then a lint whose error
names the fix, then a test, docs last.

Adapted from the pstack skills (MIT, (c) Lauren Tan,
https://github.com/cursor/plugins), Cursor-specific tooling removed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant