Skip to content

Create standalone ticket-assessment skill based on design-and-plan staleness check #357

Description

@williamthorsen

Problem

The staleness and relevancy check added to design-and-plan in #345 is useful beyond that skill. Real-world scenarios that need the same underlying capability:

  1. Staleness — has the codebase evolved past a ticket's assumptions?
  2. Completeness — is the ticket's work already done (should it be closed)?
  3. Remaining scope — which acceptance criteria are still unmet?

These share a common pattern: resolve a ticket, examine the codebase, and compare. Currently the only way to do this is to invoke design-and-plan (which has a different purpose) or to manually instruct the agent each time.

Considerations

  • The staleness check in design-and-plan Phase 1 already implements the core pattern for one mode (staleness). Extracting it avoids duplication when other skills or ad-hoc requests need the same capability.
  • The skill should be user-invocable for standalone use (e.g., "is this ticket still open?") and referenceable by other skills (e.g., design-and-plan delegates to it).
  • The heuristic and override arguments (--check-staleness / --skip-staleness) should remain in design-and-plan as gating logic for when to invoke the assessment — the new skill handles how.
  • Assessment modes have different investigation strategies: staleness looks at commits in affected areas, completeness checks whether the described problem still exists, remaining scope walks acceptance criteria one by one.

Initial solution ideas

  • A standalone skill (e.g., assess-ticket) that takes a ticket reference and an optional assessment mode (staleness, completeness, remaining-scope, or all).
  • Default mode ("all") runs a general assessment covering all three aspects.
  • design-and-plan Phase 1 delegates the relevancy check to this skill instead of containing inline logic.
  • Output is a structured assessment the user (or calling skill) can act on.

Prior art

Metadata

Metadata

Labels

featureAdded or improved external functionalityscope:agents

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions