BeClaude

goal-first

New
GitHub TrendingGeneralby Roni-quant

Goal-first scoping skill for Claude Code: interrogate the decision before the artifact, write a one-page charter, deliver in testable buckets that hand off to /goal.

Summary

The goal-first skill ensures you scope a task thoroughly before writing any code.

  • It helps you interrogate the decision behind the work, produce a one-page charter, and deliver in testable increments that seamlessly hand off to the /goal command for verification.

Install & Usage

1
Create the skills directory
mkdir -p .claude/skills
2
Download the skill file
mkdir -p .claude/skills && curl -o .claude/skills/goal-first.md https://raw.githubusercontent.com/Roni-quant/goal-first/main/SKILL.md
3
Invoke in Claude Code
/goal-first

Use Cases

When starting a new feature, use goal-first to define success criteria and break the work into testable buckets before writing any code.
When refactoring a complex module, use goal-first to map out the current behavior, desired outcome, and incremental validation steps.
When debugging a tricky issue, use goal-first to document hypotheses and expected results before making changes.
When integrating a third-party API, use goal-first to outline the contract, error handling, and test scenarios upfront.
When planning a performance optimization, use goal-first to establish baseline metrics and target improvements in measurable chunks.
When onboarding to a new codebase, use goal-first to scope a small, verifiable contribution and build confidence incrementally.

Usage Examples

1

/goal-first I need to add a search bar to the header that filters a list of products by name. Help me scope this into testable steps.

2

/goal-first We're refactoring the payment processing module. Let me write a charter covering the current flow, desired improvements, and how we'll verify each change.

3

/goal-first I'm debugging why the login fails on mobile. Help me document my hypotheses and plan experiments to isolate the root cause.

View source on GitHub
testing

Security Audits

LicenseUnknownSourceWarnRepositoryPass

Frequently Asked Questions

What is goal-first?

The goal-first skill ensures you scope a task thoroughly before writing any code. It helps you interrogate the decision behind the work, produce a one-page charter, and deliver in testable increments that seamlessly hand off to the /goal command for verification.

How to install goal-first?

To install goal-first: create the skills directory (mkdir -p .claude/skills), then run: mkdir -p .claude/skills && curl -o .claude/skills/goal-first.md https://raw.githubusercontent.com/Roni-quant/goal-first/main/SKILL.md. Finally, /goal-first in Claude Code.

What is goal-first best for?

goal-first is a skill categorized under General. It is designed for: testing. Created by Roni-quant.

What can I use goal-first for?

goal-first is useful for: When starting a new feature, use goal-first to define success criteria and break the work into testable buckets before writing any code.; When refactoring a complex module, use goal-first to map out the current behavior, desired outcome, and incremental validation steps.; When debugging a tricky issue, use goal-first to document hypotheses and expected results before making changes.; When integrating a third-party API, use goal-first to outline the contract, error handling, and test scenarios upfront.; When planning a performance optimization, use goal-first to establish baseline metrics and target improvements in measurable chunks.; When onboarding to a new codebase, use goal-first to scope a small, verifiable contribution and build confidence incrementally..