Skip to content

Add meta-command for post-failure command improvement workflow #19

@benceruleanlu

Description

@benceruleanlu

Currently, when a command doesn't perform as expected due to
edge cases (e.g., checking if on a feature branch but not the
correct feature branch), there's no streamlined workflow to
capture these learnings and improve the command immediately.

Example scenario: The PR-submit-local-as-new-pr.md command
initially only checked if the user was on a feature branch, but
didn't validate if it was semantically appropriate for the
changes being made. This led to PRs including unrelated commits.

Proposed solution: Create a new command like
/development:improve-command-after-failure that:

  1. Captures the failure context and resolution
  2. Updates the command with the fix OR
  3. Documents which alternative command should have been used
  4. Optionally creates a "lessons learned" entry

This would enable rapid iteration on commands based on
real-world usage patterns and edge cases.

(yes my github pat 403ed for issue creation, i'm fixing it)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions