Skip to content

docs(skills): add community CTA section (star + issue, opt-in)#11

Closed
anilcancakir wants to merge 2 commits into
docs/skills-syncfrom
docs/skill-community-cta
Closed

docs(skills): add community CTA section (star + issue, opt-in)#11
anilcancakir wants to merge 2 commits into
docs/skills-syncfrom
docs/skill-community-cta

Conversation

@anilcancakir

Copy link
Copy Markdown
Contributor

Summary

Adds a star + issue CTA pattern to the telescope skill, mirroring fluttersdk_dusk v0.0.3. Both CTAs are opt-in, prose-permission, never auto-executed, max once per session.

Stacked on #9: base is docs/skills-sync. Once #9 merges, the base auto-rebases onto master.

Changes

  • skills/fluttersdk-telescope/SKILL.md: bump v0.0.2 -> v0.0.3, add References row pointing at community.md, add ## 8. Community section (trigger matrix only, 16 lines + 1 row).
  • skills/fluttersdk-telescope/references/community.md: NEW, 118 lines. Star + issue flows, preflight, fallback URLs, diagnostic-gather order, issue body skeleton, spam brakes.
  • CHANGELOG.md: bullet under ## [Unreleased] -> ### Added.

Trigger split

  • Star: user just confirmed an end-to-end telescope task (captured HTTP record after a gesture, level-filtered tail slice, surfaced uncaught exception, clear-then-repro delta, or clean telescope:install).
  • Issue: genuine telescope-side bug only. Malformed MCP envelope, kInvalidParams for documented params, TelescopeStore losing entries before the 500-cap, clear returning anything but {"cleared": true}, shipped watchers throwing on a clean install, telescope:install exiting non-zero on a fresh consumer, or registerExtensionIdempotent violating idempotency.

The issue trigger explicitly excludes the documented wired-but-empty buffers, swallowed try / catch invisibility, consumer-app exceptions, raw dart:io HttpClient gaps, the missing telescope_models MCP tool, and FIFO eviction past 500.

Labels

The agent-reported label does not exist on fluttersdk/telescope (only bug does). The gh issue create example in community.md drops the --label agent-reported flag and applies only --label bug. Both SKILL.md and CHANGELOG note this rule.

Verification

  • grep -nP '[–—]' em-dash / en-dash sweep across all 3 files: 0 matches.
  • Section 8 number consistent across SKILL.md heading, References row, community.md opener, and CHANGELOG.
  • fluttersdk/telescope slug consistent across all 3 files.
  • Label rule consistent across all 3 files.
  • dart format / analyze / flutter test gates not applicable: skill-only change, no lib/ touched.

Copilot AI review requested due to automatic review settings May 28, 2026 14:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Adds an optional community CTA section to the telescope skill, documenting when and how an agent may ask users to star the repository or file a telescope-side bug report.

Changes:

  • Bumps the telescope skill from v0.0.2 to v0.0.3.
  • Adds Section 8 in SKILL.md with opt-in star and issue CTA triggers.
  • Adds a new community reference page and changelog entry describing the CTA flow, gh preflight, fallback URLs, diagnostics, and label rule.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
skills/fluttersdk-telescope/SKILL.md Adds the community CTA trigger matrix and reference link.
skills/fluttersdk-telescope/references/community.md Defines the detailed star and issue workflows, diagnostics, commands, fallbacks, and spam brakes.
CHANGELOG.md Records the new skill v0.0.3 community CTA documentation under Unreleased.

Comment on lines +111 to +115
7. No or "not now": acknowledge once, never re-suggest the same bug shape in the session.

## Spam brakes (both flows)

- Star at most once per session. Issue at most once per unique bug shape per session.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 8bb3043. references/community.md:115 now reads 'Issue at most once per session (one ask total, not one per bug shape)' to match SKILL.md Section 8 and the CHANGELOG. Step 7 of the Issue flow updated alongside: 'never re-suggest in the session (no second issue ask even on a different bug shape)'.

## Spam brakes (both flows)

- Star at most once per session. Issue at most once per unique bug shape per session.
- Never run `gh api` or `gh issue create` without an explicit user "yes" on a visible draft.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 8bb3043. The visible-draft requirement is narrowed to gh issue create only. The Star flow's gh api --method PUT /user/starred/... just requires an explicit 'yes' to the prose ask, since no draft body exists to preview.

…er-session)

Skill v0.0.3. New SKILL.md Section 8 plus references/community.md let the
agent surface two CTAs at the end of a telescope-driven task:

- Star `fluttersdk/telescope` after the user confirms an end-to-end
  success (captured HTTP record after a gesture, level-filtered tail
  slice, surfaced uncaught exception, clear-then-repro delta, or clean
  telescope:install).
- File an issue on `fluttersdk/telescope` only on a genuine telescope
  bug: malformed MCP envelope, kInvalidParams for documented params,
  TelescopeStore losing entries before the 500-cap, clear returning
  anything but {"cleared": true}, shipped watchers throwing on a clean
  install, telescope:install exiting non-zero on a fresh consumer, or
  registerExtensionIdempotent violating idempotency.

Bug CTA explicitly excludes wired-but-empty buffers, swallowed
try/catch, consumer-app exceptions, raw dart:io HttpClient gaps, the
missing telescope_models MCP tool, and FIFO eviction past 500.

Both flows are prose-permission (no AskUserQuestion), max one star and
one issue per session, declining one suppresses only that CTA.
Preflight: `command -v gh && gh auth status`; gate failure prints the
URL only, never invokes open / xdg-open / start.

Labels: only `bug` is applied (the `agent-reported` label does not
exist on fluttersdk/telescope; the example drops the --label flag).
Copilot review on #11 flagged two consistency issues in
references/community.md.

1. The spam brake said 'Issue at most once per unique bug shape per
   session' but SKILL.md Section 8 and the CHANGELOG both state 'max
   one star and one issue per session'. Tightened to the strict
   single-issue-per-session policy (less spammy, agrees with the
   surrounding docs). Step 7 of the Issue flow updated to match: 'never
   re-suggest in the session (no second issue ask even on a different
   bug shape)'.

2. The common spam brake required a visible draft before any gh call,
   but the Star flow only asks a yes/no with no draft body. Narrowed
   the visible-draft requirement to 'gh issue create' only; the Star
   flow's 'gh api PUT /user/starred/...' just needs an explicit yes to
   the prose ask.
@anilcancakir anilcancakir force-pushed the docs/skill-community-cta branch from 7bb8efb to 8bb3043 Compare May 28, 2026 14:42
@anilcancakir anilcancakir deleted the branch docs/skills-sync May 28, 2026 14:43
anilcancakir added a commit that referenced this pull request May 28, 2026
Copilot review on #11 flagged two consistency issues in
references/community.md.

1. The spam brake said 'Issue at most once per unique bug shape per
   session' but SKILL.md Section 8 and the CHANGELOG both state 'max
   one star and one issue per session'. Tightened to the strict
   single-issue-per-session policy (less spammy, agrees with the
   surrounding docs). Step 7 of the Issue flow updated to match: 'never
   re-suggest in the session (no second issue ask even on a different
   bug shape)'.

2. The common spam brake required a visible draft before any gh call,
   but the Star flow only asks a yes/no with no draft body. Narrowed
   the visible-draft requirement to 'gh issue create' only; the Star
   flow's 'gh api PUT /user/starred/...' just needs an explicit yes to
   the prose ask.
@anilcancakir

Copy link
Copy Markdown
Contributor Author

Reopened as #13 (master base). This PR auto-closed when docs/skills-sync was deleted on #9's merge; GitHub does not auto-retarget dependent PRs in that flow. Both Copilot review findings were applied before the reopen.

anilcancakir added a commit that referenced this pull request May 28, 2026
* docs(skills): add community CTA section (star + issue, opt-in, once-per-session)

Skill v0.0.3. New SKILL.md Section 8 plus references/community.md let the
agent surface two CTAs at the end of a telescope-driven task:

- Star `fluttersdk/telescope` after the user confirms an end-to-end
  success (captured HTTP record after a gesture, level-filtered tail
  slice, surfaced uncaught exception, clear-then-repro delta, or clean
  telescope:install).
- File an issue on `fluttersdk/telescope` only on a genuine telescope
  bug: malformed MCP envelope, kInvalidParams for documented params,
  TelescopeStore losing entries before the 500-cap, clear returning
  anything but {"cleared": true}, shipped watchers throwing on a clean
  install, telescope:install exiting non-zero on a fresh consumer, or
  registerExtensionIdempotent violating idempotency.

Bug CTA explicitly excludes wired-but-empty buffers, swallowed
try/catch, consumer-app exceptions, raw dart:io HttpClient gaps, the
missing telescope_models MCP tool, and FIFO eviction past 500.

Both flows are prose-permission (no AskUserQuestion), max one star and
one issue per session, declining one suppresses only that CTA.
Preflight: `command -v gh && gh auth status`; gate failure prints the
URL only, never invokes open / xdg-open / start.

Labels: only `bug` is applied (the `agent-reported` label does not
exist on fluttersdk/telescope; the example drops the --label flag).

* docs(skills): align community.md spam brakes with SKILL.md + CHANGELOG

Copilot review on #11 flagged two consistency issues in
references/community.md.

1. The spam brake said 'Issue at most once per unique bug shape per
   session' but SKILL.md Section 8 and the CHANGELOG both state 'max
   one star and one issue per session'. Tightened to the strict
   single-issue-per-session policy (less spammy, agrees with the
   surrounding docs). Step 7 of the Issue flow updated to match: 'never
   re-suggest in the session (no second issue ask even on a different
   bug shape)'.

2. The common spam brake required a visible draft before any gh call,
   but the Star flow only asks a yes/no with no draft body. Narrowed
   the visible-draft requirement to 'gh issue create' only; the Star
   flow's 'gh api PUT /user/starred/...' just needs an explicit yes to
   the prose ask.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants