Skills Setup
score_tooling ships a set of shared Copilot “skills” (score-* under
.github/skills) that document how to use rules_score (architecture,
requirements, safety analysis, testing). Downstream repositories can pull
these into their own .github/skills directory so the same guidance is
available to Copilot locally.
bazel run //:sync_skills— copies score_tooling’s currentscore-*skills into the local.github/skillsdirectory, overwriting outdated copies and removing skills that score_tooling no longer ships.bazel test //:sync_skills.check— fails if the committed skills are missing, outdated, or stale relative to thescore_toolingversion in use. Wire this into CI so upstream skill updates are caught automatically.
If .github/skills has its own BUILD file, the default glob in the root
package cannot see the skill files. Define a filegroup that lists them in that
package and pass it with sync_skills(repo_skills_target = "//.github/skills:skills").