wordpress/wp-71-dev-note-issues
Create missing WordPress 7.1 Dev Note and Field Guide tracking issues from 7-1-dev-notes/tickets.json in WordPress/Documentation-Issue-Tracker. Use when asked to import, sync, or create GitHub issues for triaged WordPress 7.1 Trac tickets.
npx skills add https://github.com/WordPress/Documentation-Issue-Tracker --skill wp-71-dev-note-issues
Use this skill only in the WordPress/Documentation-Issue-Tracker repository.
Read:
7-1-dev-notes/tickets.json7-1-dev-notes/issue-template.md7-1-dev-notes/activity-log.jsonlTreat tickets.json as the source of truth. Do not reclassify tickets and do not rewrite its summaries.
Create GitHub issues only for tickets whose classification is exactly one of:
dev-notemisc-dev-notefield-guideNever create an issue for:
excludecreate_issue value is explicitly falseIf create_issue conflicts with classification, stop and report the conflicting ticket instead of guessing.
Before doing anything:
WordPress/Documentation-Issue-Tracker.gh auth status.7.1dev-notemisc-dev-notefield-guideLoad all open and closed issues in WordPress/Documentation-Issue-Tracker carrying the 7.1 label.
Use a command equivalent to:
gh issue list \
--repo WordPress/Documentation-Issue-Tracker \
--state all \
--label "7.1" \
--limit 1000 \
--json number,title,body,url,labels
For every eligible Trac ticket, consider an existing GitHub issue a match when any of the following is true:
#<Trac-ID> and begins with [7.1].trac_url.#<Trac-ID>.Match the Trac ID as a complete number. For example, ticket #123 must not match #1234.
Search both open and closed issues. A closed matching issue still counts as an existing issue.
If more than one existing issue matches the same Trac ticket:
Do not reopen or edit existing issues unless the user explicitly requests that separately.
For each eligible ticket without a matching GitHub issue:
Use this exact format:
[7.1] #<Trac-ID> <Trac title>
Example:
[7.1] #65164 Responsive styles for blocks
Use the ticket and title values from tickets.json without paraphrasing the Trac title.
Use 7-1-dev-notes/issue-template.md as the body template.
Populate the template only from fields present in the ticket object. Common fields include:
tickettitletrac_urlsummaryclassificationdocumentation_rationalecomponenttypefocuseskeywordsaffected_audiencerelated_trac_ticketsgithub_pull_requestschangesetsconfidenceWhen replacing template placeholders:
{{field_name}};None identified;{{...}} placeholders remain before issue creation.Write the rendered body to a temporary file and pass it with --body-file. Do not modify issue-template.md.
Apply exactly:
7.1dev-notemisc-dev-notefield-guideDo not apply exclude.
Create the issue with a command equivalent to:
gh issue create \
--repo WordPress/Documentation-Issue-Tracker \
--title "$title" \
--body-file "$body_file" \
--label "7.1" \
--label "$classification"
Process tickets one at a time. Continue after an individual failure, but collect every failure for the final report.
When the user requests a dry run:
activity-log.jsonl;Never infer that a real import is authorized from a request to inspect, preview, validate, or dry-run the data.
After a real import, append one JSON object as a single new line to:
7-1-dev-notes/activity-log.jsonl
Never overwrite previous lines.
Include:
event: github_issue_importtickets_json_updated_at: value from tickets.json metadataimport_run_at: current ISO 8601 datetimetickets_total: total tickets in tickets.jsoneligible_tickets: number with an issue-creating classificationgithub_issues_createdcreated_issue_ticket_idscreated_issue_numberscreated_issue_urlstickets_skipped_by_classificationclassification_skipped_ticket_idsexisting_github_issues_skippedexisting_issue_ticket_idsexisting_issue_numbersduplicate_conflictsduplicate_conflict_ticket_idsfailedfailed_ticket_idsUse ticket IDs as numbers, not strings.
Do not count exclude tickets as existing-issue skips. They belong only in tickets_skipped_by_classification.
At the end, report:
If nothing was created, say so explicitly.
7.0 label; this workflow is for WordPress 7.1.Take wordpress/wp-71-dev-note-issues from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.