/g The Contract Codex V1 · Awesome Goal Prompts

§ Documentation

How to write a verifiable /goal.

A practical guide for turning vague coding requests into verifiable task contracts.

Documentation

How To Write A Good /goal

A task contract turns one coding request into an auditable result. Name the current files and evidence, keep boundaries explicit, and replace sample commands with the repository's real checks.

Start with seven fields

  1. GOAL: one concrete outcome.
  2. CONTEXT: files, issues and logs to inspect first.
  3. CONSTRAINTS: scope, behavior and safety boundaries.
  4. DONE WHEN: measurable completion conditions.
  5. VERIFY: fresh commands or artifacts that prove those conditions.
  6. OUTPUT: changes, evidence and remaining risks.
  7. STOP RULES: when missing access or decisions require a pause.

Choose a pattern for your task

Is /goal a native command in every agent?

The catalog provides task text. It does not install a command or establish support in every agent. Check your agent's current interface; if needed, paste the contract as ordinary instructions.

How is this different from GitHub Spec Kit?

This catalog helps you select and adapt a bounded task contract. Spec Kit is an installable toolkit with structured specification, bug-fix and assessment workflows. Choose it when you need that workflow and its artifacts; reading this catalog does not install it.

Does source-backed mean ready to run?

It identifies public provenance, not verification in your repository. Seed patterns are separately authored starting points. For both, bind the files, checks and completion conditions to your actual task.

Read the complete English guide or 中文指南. With JavaScript enabled, the full selected-language guide loads here.