Skip to content

feat: /goal prompt-crafting skill — docs-conformant goal shape + mechanical length check #481

Description

@kyle-sexton

Category: improvement · Source: user experience with /goal invocations.

Problem

Hand-written /goal inputs often don't match the goal shape the official Claude Code docs describe, and /goal has a character limit (user reports 4,000 chars — VERIFY against current official docs during implementation, do not trust this number or training data). LLMs cannot reliably count characters, so conformance needs a mechanical check, not model judgment.

Proposal

A skill that crafts /goal inputs: reads the CURRENT official docs for the goal contract (shape, sections, limits) at authoring time rather than baking them in; drafts the goal from the user's intent; validates length with an actual counter (script — wc/tokenizer, not model estimation) and trims/restructures to fit; outputs the final paste-ready goal.

Notes

  • Doc-lookup-at-runtime keeps the skill agnostic to doc drift (limits/shape changing between CC versions).
  • Length validation belongs in a bin/ script per the plugin conventions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highSignificant impact, or blocks an imminent release; staff this cycle.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions