write-issue-requirements
Skill1.4k starsChanged 5 months agoApache-2.0View on GitHub
Write the description and Acceptance criteria of a Site Kit issue — a feature request or a bug report — from a design doc, from a bug report, or from requirements given in the message. Use when the user asks to create, draft or write a GitHub issue or ticket, to file a bug, to break an epic's design doc into issues, or to write/add acceptance criteria for an existing issue (e.g. "create an issue for the read_article event from this design doc", "write a bug report for the audience tile showing no data", "write the remaining issues from design-doc.md", "add acceptance criteria to #12345") in the google/site-kit-wp repo.
Trending
Quiet since July.about the whole repository
Who's talking about google/site-kit-wp
- WordPress/plugin-check“Prefix Composer dependencies”GitHub · Nov 30, 2023 · 2 reactions
- Automattic/woocommerce-payments“Fix initial isLoading for deposits overviews data.”GitHub · Mar 22, 2023 · 2 reactions
- GoogleForCreators/web-stories-wp“Monetization: AdSense Site Kit detection”GitHub · Feb 1, 2021 · 2 reactions
- qtranslate/qtranslate-xt“Ensure compatibility with Google Site Kit”GitHub · Jan 5, 2021 · 2 reactions
- WordPress/gutenberg“Revert conditional selects from #47243”GitHub · Apr 20, 2023 · 1 reactions
The biggest 5 of 29 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 29
Talked about on GitHub (29 times).
On GitHub · 29
- Nov 30, 2023Prefix Composer dependencies — WordPress/plugin-check2 reactions · 4 comments
- Mar 22, 2023Fix initial isLoading for deposits overviews data. — Automattic/woocommerce-payments2 reactions · 3 comments
- Feb 1, 2021Monetization: AdSense Site Kit detection — GoogleForCreators/web-stories-wp2 reactions · 15 comments
- Jan 5, 2021Ensure compatibility with Google Site Kit — qtranslate/qtranslate-xt2 reactions · 7 comments
- Apr 20, 2023Revert conditional selects from #47243 — WordPress/gutenberg1 reaction · 7 comments
24 more on GitHub
- Jan 5, 2021Ensure compatibility with Google Site Kit — phpzio/translatepress1 reaction · 3 comments
- Aug 1, 2019Oxygen / Google Kit Incompatibility — soflyy/oxygen-bugs-and-features1 reaction · 1 comment
- Jul 11, 2026[Feature] Add read-only Google Site Kit integration abilities — DanielBoring/webmastery-site-toolkit-for-mcp0 reactions
- Jan 24, 2026Implement Google Site Kit integration for base plugin — nvdigitalsolutions/mcp-ai-wpoos0 reactions · 7 comments
- Aug 11, 2025ActivityPub Handle Format Issue with Google Login — Automattic/wordpress-activitypub0 reactions · 1 comment
- May 7, 2025Infra/10709 fix user input questions test — techanvil/site-kit-wp0 reactions
- Apr 16, 2025Infra/10109/fix analytics setup with account with tag test timeouts — techanvil/site-kit-wp0 reactions
- Apr 2, 2025Infra/10570 fix e2e test timeout — techanvil/site-kit-wp0 reactions
- Feb 23, 2025share-image.com — mypdns/matrix0 reactions
- Jan 10, 2025Dashboard: Add banner to suggest enabling auto-updates — GoogleForCreators/web-stories-wp0 reactions
- Nov 21, 2024Integrate Web Worker Offloading with Google Site Kit — WordPress/performance0 reactions · 8 comments
- Aug 26, 2024Allow supporting gtag `set` command arguments — GoogleChromeLabs/third-party-capital0 reactions · 1 comment
- Jun 29, 2023Deprecate googleanalytics (UA) vendor type in favor of gtag (GA4) — ampproject/amp-wp0 reactions · 2 comments
- May 31, 2023Stats: Fix ICU error in Safari when invoking Intl — Automattic/wp-calypso0 reactions · 3 comments
- Feb 2, 2023WIP: Fix Safari 14 error in stats on macOS Mojave — Automattic/wp-calypso0 reactions · 4 comments
- Jan 5, 2023Resource is a other reserved keyword — googleapis/google-api-php-client-services0 reactions · 1 comment
- Dec 22, 2022Periodic `403: rate limit exceeded` when setting up `composer` — shivammathur/setup-php0 reactions · 2 comments
- Oct 13, 2022Investigating use of PHP-Scoper — pronamic/wp-pronamic-pay0 reactions · 1 comment
- Apr 7, 2022User does not have sufficient permissions for this account — matomo-org/plugin-GoogleAnalyticsImporter0 reactions · 7 comments
- Feb 10, 2022Use composer to install WordPress for unit tests — GoogleForCreators/web-stories-wp0 reactions · 3 comments
- Dec 8, 2020Prefix all our vendor libs — matomo-org/matomo0 reactions · 24 comments
- Apr 16, 2020Facilitate marking script/style dependencies as being covered by AMP dev mode — ampproject/amp-wp0 reactions · 1 comment
- Feb 27, 2020Prevent vendor conflicts with other WordPress plugins — matomo-org/matomo-for-wordpress0 reactions · 16 comments
- Dec 18, 2019Fetch Google Site Kit capabilities — JoryHogeveen/view-admin-as0 reactions
In this repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- implement-issueSkill
- review-prSkill
- write-implementation-briefSkill
- implement-issueSkill
- review-prSkill
- write-implementation-briefSkill
- write-issue-requirementsSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 17
Write the description and the Acceptance criteria for $ARGUMENTS — a design doc path, a bug report, requirements stated in the user's …
- Distinctive: line 19
Do not reimplement the procedure here — read and follow the playbook, which is the single source of truth shared with the other AI tools.
- Distinctive: line 39
Never invent a design-doc path or go hunting for a local issue file.
- Distinctive: line 44
Verify against the code: before naming anything: every class, method, hook, constant, handle and path, the shape of the base class or …
- Distinctive: line 76
Ask which type of issue it is: when the request does not make it clear.
- Very specific: line 78
Outcomes only in the criteria: No rationale, no technique notes, no cause or fix, no negative parentheticals ("(not an id)"), no restating …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Write an issue's requirements
Write the description and the Acceptance criteria for $ARGUMENTS — a design doc path, a bug report, requirements stated in the user's message, or an existing issue that needs criteria. Do not reimplement the procedure here — read and follow the playbook, which is the single source of truth shared with the other AI tools.
Procedure
- Read the playbook
docs/context/workflow/write-issue-requirements.mdand follow every step. Establish the issue type, because it decides the template and the sections you write:
- Feature request —
.github/ISSUE_TEMPLATE/feature_request.md: the Feature Description and the Acceptance criteria. - Bug report —
.github/ISSUE_TEMPLATE/bug_report.md: the Bug Description, the Steps to reproduce and the Acceptance criteria.
Ask the user which type they want whenever their message does not make it clear, and wait for the answer before writing anything. Say how you read the request when you ask. An existing issue keeps the type it already has — never convert one into the other. A request to change behavior that works as designed is a feature request, even when the user calls it a fix.
- Feature request —
- Establish the source and the mode. New issue → write the description sections and the criteria. Existing issue whose description is already written → write only the criteria and leave the description byte-for-byte alone. Ask the user if no source was given, the requirements are ambiguous, or a design doc covers an epic without saying which issue to write. Never invent a design-doc path or go hunting for a local issue file.
- Read the source material end to end — the whole design doc (the rationale for one issue's decisions often sits in another's section), any spec it names as authoritative, the sibling issues already written for the epic, and, for a bug, the whole report plus whatever evidence it names: a support thread, a linked issue, the pull request the user says introduced it.
- Verify against the code before naming anything: every class, method, hook, constant, handle and path, the shape of the base class or registry being extended, and who consumes the data the issue changes. For a bug, confirm the wrong behavior is really what the code does today and find the lines that produce it. Where the design doc and the code disagree, the code wins.
- Lay the issue out by copying the template file for the type — drop its YAML frontmatter,
put the title in its place as a single
#heading, and keep everything else as the file has it, including the moderator notice and the placeholder comment in every section you are not writing. The two templates word their placeholders differently, so copy them from the file for the type you are writing rather than from the other one. On a bug report, Screenshots and Additional Context stay as the template gives them, filled in only with environment facts the user actually stated. The title names the deliverable, or for a bug the symptom and where it happens; nothing sits between it and the first description heading. A dependency on another issue is a clause inside the description, by real GitHub issue number. - Write the description — prose, where rationale for the issue should be primarily written. A Feature Description should outline what's missing, what the issue adds for the user, the work involved for engineers, and any technical decisions with their reasons. A Bug Description gives the wrong behavior on the real surface with its values, what should happen instead, and the conditions it needs — plus the cause in one clause only when you verified it in the code, never the fix. Steps to reproduce are a numbered list starting from a state the tester can reach, one action per step with real values, ending in what the tester sees and what they should have seen.
- Write the Acceptance criteria — a flat
*list, one checkable outcome per bullet, nested only for enumerable cases, tables inlined for lookups. Name real symbols and give real values. On a bug, write the corrected behavior as the outcome it produces, plus the cases that must keep working — never "no longer broken". - Report separately the type you wrote when you had to ask, the decisions you had to make,
code/design-doc discrepancies, the cause you found with its
file:line, anything in a report you could not confirm, anything added beyond scope, and any ordering constraint between issues.
Important
- Ask which type of issue it is when the request does not make it clear. The wrong template means the wrong sections and a rewrite.
- Outcomes only in the criteria. No rationale, no technique notes, no cause or fix, no
negative parentheticals ("(not an
id)"), no restating the event name, no "no X is needed", no "Out of scope" or "Known limitations" lists. Keep negatives only when the negative is the asserted outcome. - The scope boundary lives in the criteria, because that is what the PR is graded against — as the outcome at the edge ("the cart and checkout pages render nothing"), never as a list of what isn't built and never as a clause in the description.
- No links or paths to local design docs or specs in any section you write — they don't resolve on GitHub. Restate the constraint instead. External links are fine.
- Never reference a sibling by its design-doc position ("issue 5", "the next issue") — that numbering is not GitHub's. Use a real issue number, or the deliverable's name.
- An existing description is untouchable unless the user explicitly asks — a Feature Description, or a Bug Description with its Steps to reproduce.
- Don't publish. No
gh issue create, nogh issue edit, no comments, unless explicitly asked. Produce the file and let the user place it.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

