Repository navigation
feat(skills): add a goal skill - #1513
Closed
gabrielseco wants to merge 3 commits into
Closed
gabrielseco wants to merge 3 commits into
gabrielseco wants to merge 3 commits into
Conversation
Agree on a written goal before coding: target flow, scope, exact copy, out of scope, open questions and verification claims. The skill waits for approval, then saves the goal to ~/.claude/goals/<project>/<branch>.md so it survives worktree removal and never lands in a PR. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Contributor
|
Deploy preview for remote-flows ready!
Deployed with vercel-action |
Contributor
|
Deploy preview for adp-cost-calculator ready!
Deployed with vercel-action |
Contributor
📊 Coverage Report⚪ Coverage unchanged
Detailed BreakdownLines Coverage
Statements Coverage
Functions Coverage
Branches Coverage
✅ Coverage check passed |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit f1949d4. Configure here.
/goal usually runs on main before a branch exists, so naming the file from the current branch saved every goal as main.md. The draft now proposes a Branch, used for both the goal file and the worktree. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The skill is shared, so pointing at sibling repos under a home folder only works on one machine. Defer to each user's local instructions for counterpart repos, and keep the example gotcha free of internal names. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2 tasks
Collaborator
Author
|
Closing: keeping this skill local instead of shipping it in the repo. |
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.

Summary
Adds a
/goalClaude Code skill. It writes down what a feature or fix should do, and how it will be proven, and gets that agreed before any code is written.Why
What changed
Toggle details
.claude/skills/goal/SKILL.md. Steps: find the target flow (ask when ambiguous), draft Goal / Scope / Copy / Out of scope / Open questions / Verification, stop for approval, show only the changed sections on each round, then save.env,seed,routeandgotchas. It points at the existingverify-local-app/verify-sandbox-deployed-appskills to run them.~/.claude/goals/<project>/<branch>.md, outside the repo: they never land in a PR and survive removing the worktree.<project>is the main checkout's directory, so worktrees share it./verifyskill that runs the claims automatically is deferred to a later PR.Screenshots
N/A
Related Resources
Testing
/goalon a new feature: it asks about an ambiguous flow before exploring, writes no code before approval, and saves the file under~/.claude/goals/remote-flows/.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only Claude skill with no runtime, library, or public API changes.
Overview
Adds a new
/goalClaude Code skill (.claude/skills/goal/SKILL.md) so feature work starts with an agreed written target before any code or branch creation.The skill defines a four-step workflow: resolve ambiguous flows up front, draft fixed sections (Branch, Goal, Scope, Copy, Out of scope, Open questions, Verification), iterate by showing only changed sections until approval, then save with approved frontmatter. Verification requires one table row per claim with observable evidence (
env,seed,route, screenshots, gotchas), and tiesenvto the existingverify-local-app/verify-sandbox-deployed-appskills. Approved goals live at~/.claude/goals/<project>/<branch>.mdoutside the repo; scope changes call outsrc/index.tsxas public API. A separate/verifyautomation skill is explicitly deferred.Reviewed by Cursor Bugbot for commit 534ddf5. Bugbot is set up for automated code reviews on this repo. Configure here.