Repository navigation
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.mdmay show trivial conflicts with sibling PRs.What
Adds the
correctplugin: 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
plugins/correct/with.factory-plugin/plugin.jsonskills/(per the check-skills CI).factory-plugin/marketplace.jsonentry added