Skip to content

Plugin/protocol improvements#380

Merged
peteski22 merged 5 commits into
mainfrom
plugin/protocol-improvements
May 20, 2026
Merged

Plugin/protocol improvements#380
peteski22 merged 5 commits into
mainfrom
plugin/protocol-improvements

Conversation

@peteski22
Copy link
Copy Markdown
Collaborator

Strengthen the propose-immediately protocol and tighten field guidance.

peteski22 added 3 commits May 19, 2026 12:02
SKILL.md:
- Require imperative verb in `action` field
- Add pattern-field guidance: omit if it just rephrases the summary
- Ban project/codebase names from verification timestamps
- Add near-duplicate check before calling propose

reflect.md:
- Drop estimated_relevance from candidate fields and all templates
- Exclude already-proposed insights from reflect candidates
- Inline VIBE√ dimensions (V/I/B/E) so Step 2.5 is self-contained
- Add query-before-propose step in Step 5 to catch near-duplicates
…y trigger

SKILL.md:
- Replace prose frontmatter with INVOKE WHEN / SKIP WHEN structure;
  single safe SKIP WHEN condition (already queried this topic this session)
  replaces the Dunning-Kruger "tasks you already know" bullet
- Mid-task propose trigger now requires user approval before calling
  `propose` — prevents unconfirmed auto-proposes
- Add field-role table clarifying domains/languages/frameworks/pattern:
  use the most specific field, no duplication across fields, avoid
  meta-labels (gotchas, tips) in domains
- Add POSIX/shell coverage rule: include both a generic tag and the
  specific one where the issue was observed
- Fix GitHub Actions/Rust example: rust moved from domains to languages

reflect.md:
- Mark candidates that resolved earlier-session errors with ⏱ and
  surface count in Step 6 summary (missed mid-task propose visibility)
@peteski22 peteski22 added the plugin Claude Code plugin packaging label May 19, 2026
@peteski22 peteski22 requested a review from Copilot May 19, 2026 21:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refines the cq “propose immediately” workflow and clarifies how agents should classify/tag knowledge units, with corresponding updates to the /cq:reflect command guidance.

Changes:

  • Rewrites the cq skill frontmatter guidance (invoke/skip conditions) and strengthens mid-task propose expectations (incl. near-duplicate check).
  • Tightens domain/language/framework/pattern field guidance to avoid cross-field duplication and updates examples accordingly.
  • Updates /cq:reflect instructions to exclude already-proposed insights, remove the relevance field from presentation, and add a “query-before-propose” step.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

File Description
plugins/cq/skills/cq/SKILL.md Updates skill frontmatter protocol guidance and adds stricter tagging/field guidance for query/propose.
plugins/cq/commands/reflect.md Adjusts reflection workflow/content rules, presentation templates, and proposal flow (query before propose).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread plugins/cq/skills/cq/SKILL.md
Comment thread plugins/cq/skills/cq/SKILL.md Outdated
Comment thread plugins/cq/commands/reflect.md
Comment thread plugins/cq/commands/reflect.md
Comment thread plugins/cq/commands/reflect.md
Address PR #380 review feedback:

- SKILL.md frontmatter used "stabilises" (British) while the protocol
  body used "stabilizes" (American); standardize on US English per the
  project convention.
- reflect.md Step 2 introduced the ⏱ marker for candidates that
  resolved earlier-session errors, but the Step 3 templates and Step 6
  summary template had no slot for it. Add a metadata-block line
  mirroring the existing ⚠️ pattern (first line, above ⚠️ when both
  apply) and a conditional Step 6 summary line that follows the same
  omit-when-zero rule as the {excluded} line.

SDK copies regenerated via make sync-prompts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

plugin Claude Code plugin packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants