Repository navigation
Migrate skills to .agent/skills - #8585
Conversation
Co-authored-by: joshblack <3901764+joshblack@users.noreply.github.com>
|
There was a problem hiding this comment.
🔵 Needs a closer look
The singular .agent/skills directory is not a default Copilot discovery path, so the migration loses automatic skill discovery.
No open issues 🎉
What changed in this PR
Relocates Primer React’s 15 repository skills to .agent/skills and updates supporting tooling without changing package runtime behavior.
Changes:
- Move skills and their reference documents.
- Update contributor instructions, workflow references, and the compiled prompt hash.
- Preserve Markdown lint exclusions for relocated files.
| File | Description |
|---|---|
| package.json | Excludes .agent from Markdown linting. |
| .github/workflows/cleanup-feature-flags.md | Updates skill paths. |
| .github/workflows/cleanup-feature-flags.lock.yml | Synchronizes the body hash. |
| .github/instructions/changesets.instructions.md | Updates changesets skill path. |
| .github/copilot-instructions.md | Updates referenced skill paths. |
| .agent/skills/turborepo/SKILL.md | Relocates Turborepo guidance. |
| .agent/skills/turborepo/references/watch/RULE.md | Relocates watch guidance. |
| .agent/skills/turborepo/references/filtering/RULE.md | Relocates filtering reference. |
| .agent/skills/turborepo/references/filtering/patterns.md | Relocates filtering examples. |
| .agent/skills/turborepo/references/environment/RULE.md | Relocates environment reference. |
| .agent/skills/turborepo/references/environment/modes.md | Relocates environment modes. |
| .agent/skills/turborepo/references/environment/gotchas.md | Relocates environment troubleshooting. |
| .agent/skills/turborepo/references/configuration/tasks.md | Relocates task configuration. |
| .agent/skills/turborepo/references/configuration/RULE.md | Relocates configuration overview. |
| .agent/skills/turborepo/references/configuration/gotchas.md | Relocates configuration troubleshooting. |
| .agent/skills/turborepo/references/configuration/global-options.md | Relocates global options. |
| .agent/skills/turborepo/references/cli/RULE.md | Relocates CLI guidance. |
| .agent/skills/turborepo/references/cli/commands.md | Relocates command reference. |
| .agent/skills/turborepo/references/ci/vercel.md | Relocates Vercel guidance. |
| .agent/skills/turborepo/references/ci/RULE.md | Relocates CI principles. |
| .agent/skills/turborepo/references/ci/patterns.md | Relocates CI patterns. |
| .agent/skills/turborepo/references/ci/github-actions.md | Relocates GitHub Actions examples. |
| .agent/skills/turborepo/references/caching/RULE.md | Relocates caching reference. |
| .agent/skills/turborepo/references/caching/remote-cache.md | Relocates remote-cache guidance. |
| .agent/skills/turborepo/references/caching/gotchas.md | Relocates cache troubleshooting. |
| .agent/skills/turborepo/references/boundaries/RULE.md | Relocates package-boundary guidance. |
| .agent/skills/turborepo/references/best-practices/structure.md | Relocates repository structure guidance. |
| .agent/skills/turborepo/references/best-practices/RULE.md | Relocates monorepo practices. |
| .agent/skills/turborepo/references/best-practices/packages.md | Relocates package creation guidance. |
| .agent/skills/turborepo/references/best-practices/dependencies.md | Relocates dependency guidance. |
| .agent/skills/turborepo/command/turborepo.md | Relocates orchestration command instructions. |
| .agent/skills/style-guide/SKILL.md | Relocates style-guide entry point. |
| .agent/skills/style-guide/docs/component-prop-types.md | Relocates prop-type guidance. |
| .agent/skills/style-guide/docs/component-prop-naming.md | Relocates prop-naming guidance. |
| .agent/skills/storybook/SKILL.md | Relocates Storybook guidance. |
| .agent/skills/slots/SKILL.md | Relocates slots guidance. |
| .agent/skills/modular-ds-utilities/SKILL.md | Relocates utility-hook guidance. |
| .agent/skills/modular-ds-spectrum-model/SKILL.md | Relocates abstraction-model guidance. |
| .agent/skills/modular-ds-presentational-components/SKILL.md | Relocates presentational-component guidance. |
| .agent/skills/modular-ds-config-components/SKILL.md | Relocates config-component guidance. |
| .agent/skills/modular-ds-base-components/SKILL.md | Relocates base-component guidance. |
| .agent/skills/modular-ds-accessibility-contract/SKILL.md | Relocates accessibility ownership guidance. |
| .agent/skills/feature-flags/SKILL.md | Relocates feature-flag guidance. |
| .agent/skills/deprecations/SKILL.md | Relocates deprecation guidance. |
| .agent/skills/create-adr-migrator/SKILL.md | Relocates migration-planning guidance. |
| .agent/skills/changesets/SKILL.md | Relocates changeset guidance. |
| .agent/skills/agentic-workflows/SKILL.md | Relocates workflow routing guidance. |
Review effort: Balanced
Move repository skills from
.github/skillsto the canonical.agent/skillsdirectory, preserving skill contents and relative links.Changelog
New
None.
Changed
Removed
.github/skills; all 15 skills now reside in.agent/skills.Rollout strategy
Testing & Reviewing
Generated workflow paths for gh-aw inline-skill artifacts remain unchanged; they are separate from repository skill locations.