2.6 KiB
2.6 KiB
name, description, argument-hint
| name | description | argument-hint |
|---|---|---|
| copilot-reuse-audit | Use when auditing the last 30 days of persisted Copilot artifacts for reusable patterns worth promoting into the shared repo. | days=<n> workspace=<optional path filter> sources=<optional csv> |
Copilot Reuse Audit
Use this skill when you want a repeatable audit of local Copilot usage artifacts to find patterns that should become shared resources.
Procedure
- Run
resources/scripts/audit-copilot-usage.shinstead of manually hunting through transcripts, memories, and publish logs. - By default, the runner excludes the
copilot-resourcesrepo root from workspace-backed candidate discovery so the audit does not ask you to review patterns that already live in the shared repository. - Review the generated
audit-summary.mdfirst to understand coverage and top candidates. - Use
selection-manifest.tsvandpattern-details/*.mdas the approval surface for each candidate. - When you want interactive triage inside Copilot, use the
review-audit-candidatesprompt so each pending row is handled one at a time and written back toselection-manifest.tsv. - Use the transcript prompt-cost proxy fields to prioritize repeated long prompts that are likely worth turning into a shared resource.
- Treat those prompt-cost fields as triage signals, not as exact billing data.
- Before asking for a decision, explain the candidate's likely purpose, concrete benefit, audit context, and score rationale. If evidence is thin, call that out explicitly instead of asking the user to infer it.
- Promote only candidates that map cleanly to a portable skill, instruction, prompt adapter, agent, hook, script, or template.
- After rows are approved, run
resources/scripts/prepare-audit-promotions.shto create draft resources or staging notes in the audit directory. - Keep non-portable or repo-specific findings in audit notes rather than forcing them into shared resources.
Outputs
audit-summary.md— high-level run summary and top candidatescandidates-report.tsv— scored candidate list with source referencesselection-manifest.tsv— editable approval surface for promotion decisionspattern-details/*.md— per-candidate evidence bundles with benefit, context, score rationale, and caveatsdraft-resources/— generated draft resource files for approved portable rowsstaging-notes/— generated follow-up notes for approved rows that still need design work
Notes
- The runner is macOS-first in this iteration.
- Audit history is stored per machine under
.local/audits/<machine-id>/in the repo checkout and is intentionally git-ignored.