Cursor plugin specification and official plugins
TypeScript
fix-root-causes: flag verbose workaround comments (#162)
laurenfe77e7792d99
diff --git a/pstack/.cursor-plugin/plugin.json b/pstack/.cursor-plugin/plugin.jsonindex 2d9c4a53..b1544741 100644--- a/pstack/.cursor-plugin/plugin.json+++ b/pstack/.cursor-plugin/plugin.json@@ -1,7 +1,7 @@{"name": "pstack","displayName": "pstack",- "version": "0.11.3",+ "version": "0.11.4","description": "if you want to go fast, go deep first. pstack helps you write less, but higher quality code. rigorous agent workflows you can parallelize with confidence.","author": {"name": "Lauren Tan"diff --git a/pstack/skills/principle-fix-root-causes/SKILL.md b/pstack/skills/principle-fix-root-causes/SKILL.mdindex f6161609..5b3b7916 100644--- a/pstack/skills/principle-fix-root-causes/SKILL.md+++ b/pstack/skills/principle-fix-root-causes/SKILL.md@@ -14,6 +14,7 @@ When debugging, do not paper over symptoms. Trace every problem to its root caus- Reproduce first (if you can't reproduce it, you can't verify your fix)- Ask "why" until you hit the root cause- Resist the urge to add guards (adding a nil check to silence a crash is a symptom fix)+- If a workaround needs a paragraph-long comment to justify it, the code is wrong (fix the code, not the comment)- Check for the pattern, not just the instance (grep for the same pattern, fix all instances)- When stuck, instrument. Don't guess (add logging, read the actual error)