From 4229db0a1cf9c28b986460a79f33f6165df55d60 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 9 Nov 2026 02:56:32 +0000 Subject: [PATCH] Restore the two setup-pstack verification offers Keep the upstream offer text and swap only the skill names to $pstack:create-verification-skill and $pstack:create-formal-verification-skill. Co-authored-by: Kaitian Xie --- .agents/skills/setup-pstack/SKILL.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.agents/skills/setup-pstack/SKILL.md b/.agents/skills/setup-pstack/SKILL.md index a6cb022..bfe39be 100644 --- a/.agents/skills/setup-pstack/SKILL.md +++ b/.agents/skills/setup-pstack/SKILL.md @@ -63,4 +63,8 @@ Role labels can contain commas. Split a line at its first colon before parsing i Report the written path and any supported-override limitations. The next pstack task reads the file; a restart is unnecessary. -If the project lacks a `verify-*` skill or real-app harness, offer once to run `$pstack:create-verification-skill`. If it lacks formal verification, offer once to run `$pstack:create-formal-verification-skill` for a suitable critical property. These are optional; declining does not block configuration. New skills always go in `.agents/skills/`. +Check whether the project has a way to drive the real app for proof (a `verify-*` skill, or an existing harness). If not, offer once: "want a project-local verification skill, so agents can drive the app the way a user does and prove changes work? I can generate one with $pstack:create-verification-skill." On yes, invoke `$pstack:create-verification-skill` (resolves wherever pstack is installed: workspace, user, or plugin). On no, move on without pushing. + +Check whether the project already has a formal verification skill (a project skill that runs a model checker, a proof, or another verifier against the code). If not, offer once: "want a formal verification skill, so agents can prove a key property of your code holds in every case in scope, not only the cases tests reach? I can generate one with $pstack:create-formal-verification-skill." On yes, invoke `$pstack:create-formal-verification-skill` (resolves wherever pstack is installed: workspace, user, or plugin). On no, move on without pushing. + +New skills always go in `.agents/skills/`.