diff --git a/.agents/skills/code-review/SKILL.md b/.agents/skills/code-review/SKILL.md index 6474ec5..341c0ae 100644 --- a/.agents/skills/code-review/SKILL.md +++ b/.agents/skills/code-review/SKILL.md @@ -1,6 +1,8 @@ --- name: code-review description: "Review a branch, PR, uncommitted work, or changes since a named revision against repository standards and the originating task. Scale review depth to the change and report both perspectives separately." +metadata: + internal: "true" --- # Code review diff --git a/.agents/skills/durable-behavior-tests/SKILL.md b/.agents/skills/durable-behavior-tests/SKILL.md index e3b1f75..4b060a1 100644 --- a/.agents/skills/durable-behavior-tests/SKILL.md +++ b/.agents/skills/durable-behavior-tests/SKILL.md @@ -1,6 +1,8 @@ --- name: durable-behavior-tests description: Use when adding, revising, or reviewing automated tests for a feature change, especially when a request adds or removes UI, API fields, routes, or other visible behavior. +metadata: + internal: "true" --- # Durable Behavior Tests diff --git a/.agents/skills/implement/SKILL.md b/.agents/skills/implement/SKILL.md index d2b5f3b..500b6a7 100644 --- a/.agents/skills/implement/SKILL.md +++ b/.agents/skills/implement/SKILL.md @@ -1,6 +1,8 @@ --- name: implement description: "Implement a piece of work based on a spec or set of tickets." +metadata: + internal: "true" --- # Implement diff --git a/.agents/skills/pair-programming/SKILL.md b/.agents/skills/pair-programming/SKILL.md index ca3380c..1d41f02 100644 --- a/.agents/skills/pair-programming/SKILL.md +++ b/.agents/skills/pair-programming/SKILL.md @@ -2,6 +2,7 @@ name: pair-programming description: Use when the user requests pair programming, a managing agent with implementation partners, or delegated coding with native subagents. metadata: + internal: "true" mitre.version: "0.1.0" mitre.category: Productivity mitre.tags: delegation,pair-programming,subagents diff --git a/.agents/skills/reader-first-documentation/SKILL.md b/.agents/skills/reader-first-documentation/SKILL.md index 8cb343b..82f8112 100644 --- a/.agents/skills/reader-first-documentation/SKILL.md +++ b/.agents/skills/reader-first-documentation/SKILL.md @@ -1,6 +1,8 @@ --- name: reader-first-documentation description: Use when creating or substantially revising user-facing software documentation, including READMEs, onboarding, task guides, reference, architecture explanations, or documentation reading order. Not for code comments, agent instructions, or prose-only copyediting. +metadata: + internal: "true" --- # Reader-first documentation diff --git a/.agents/skills/retro/SKILL.md b/.agents/skills/retro/SKILL.md index 9fedf5d..f758622 100644 --- a/.agents/skills/retro/SKILL.md +++ b/.agents/skills/retro/SKILL.md @@ -2,6 +2,8 @@ name: retro description: "Conduct a retrospective on a coding session." disable-model-invocation: true +metadata: + internal: "true" --- # Session retrospective diff --git a/.agents/skills/scope-maintainable-contribution/SKILL.md b/.agents/skills/scope-maintainable-contribution/SKILL.md index 22bf98d..0530bca 100644 --- a/.agents/skills/scope-maintainable-contribution/SKILL.md +++ b/.agents/skills/scope-maintainable-contribution/SKILL.md @@ -1,6 +1,8 @@ --- name: scope-maintainable-contribution description: Use when turning a software request, roadmap milestone, or oversized change into maintainable, reviewable implementation tasks. Not for routine edits with settled scope or code review focused on defects. +metadata: + internal: "true" --- # Scope Maintainable Contributions diff --git a/.agents/skills/sklc-evaluate-release/SKILL.md b/.agents/skills/sklc-evaluate-release/SKILL.md index cb77858..fa8b7bb 100644 --- a/.agents/skills/sklc-evaluate-release/SKILL.md +++ b/.agents/skills/sklc-evaluate-release/SKILL.md @@ -1,6 +1,8 @@ --- name: sklc-evaluate-release description: Evaluate released SkLC products as a consumer, exercise catalog skills and the assessment CLI, and deploy Prebuilt and Operator kits to designated preview repositories. +metadata: + internal: "true" --- # Evaluate released products diff --git a/.agents/skills/sklc-release-process/SKILL.md b/.agents/skills/sklc-release-process/SKILL.md index 08780ac..2ec4336 100644 --- a/.agents/skills/sklc-release-process/SKILL.md +++ b/.agents/skills/sklc-release-process/SKILL.md @@ -1,6 +1,8 @@ --- name: sklc-release-process description: Use when asked whether SkLC is ready for a release, to prepare a release, create a draft, or publish. Read before release checks or a general project review. Implementing or reviewing release tooling alone does not authorize a release. +metadata: + internal: "true" --- # SkLC release process diff --git a/.agents/skills/writing-for-agents/SKILL.md b/.agents/skills/writing-for-agents/SKILL.md index 90e3f2b..e7e6365 100644 --- a/.agents/skills/writing-for-agents/SKILL.md +++ b/.agents/skills/writing-for-agents/SKILL.md @@ -1,6 +1,8 @@ --- name: writing-for-agents description: Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md. +metadata: + internal: "true" --- # Writing for agents diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index e24beaf..6cffe80 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -19,6 +19,8 @@ Exchange-site developers maintain: Skill packages under `products/skill-bundle/` are exchange content. Treat changes there as skill contributions, not exchange-site platform changes. +The root `skills.sh.json` declares `products/skill-bundle/` for Skills CLI discovery. Keep repository maintainer skills under `.agents/skills/` marked with `metadata.internal: "true"` so normal `npx skills add Code-dot-mil/SkLC` discovery exposes only the bundle. This metadata controls CLI discovery, not access to repository files or local agent invocation. To check discovery from this checkout without installing skills, run `npx skills add . --list`; expect only the four bundle skills. Consumer installation steps belong in the [bundle guide](products/skill-bundle/README.md#install-with-the-skills-cli). + For skill changes, follow [PR assessment review](CI.md#pull-request-assessment-review). Trusted same-repository PRs receive assessment; fork PRs receive no provider-backed assessment and need a maintainer to arrange matching evidence before their changed skills can build. Local generation also requires current evidence. Keep report pairs with their exact skill content; do not hand-edit evidence to make generation pass. ## First-Time Setup diff --git a/README.md b/README.md index 861b7df..69e4208 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ You can install skills, run assessments, or host an exchange independently. Star | Put the supplied example exchange online | **Prebuilt deployment kit** — a ready-to-host website | [Install the site](products/deployment-kit/prebuilt/docs/install.md), then deploy to [GitLab Pages](products/deployment-kit/prebuilt/docs/deploy-gitlab-pages.md) or [another static host](products/deployment-kit/prebuilt/docs/deploy-static-hosting.md) | | Publish an exchange containing your team's skills | **Operator deployment kit** — assessment tooling, website source, and a GitLab pipeline | [Set up and maintain your exchange](products/deployment-kit/operator/docs/README.md) | -Download the package for your chosen path from [GitHub Releases](https://github.com/Code-dot-mil/SkLC/releases). Follow its installation guide to compare the download's SHA-256 checksum with the value displayed on the release page; matching checksums verify download integrity. The guides also cover required tools, package contents, and how to verify a successful installation or deployment. +Skills can be installed with the Skills CLI as described below. For release archives, download the package for your chosen path from [GitHub Releases](https://github.com/Code-dot-mil/SkLC/releases). Follow its installation guide to compare the download's SHA-256 checksum with the value displayed on the release page; matching checksums verify download integrity. The guides also cover required tools, package contents, and how to verify a successful installation or deployment. ## Use the supplied skills @@ -50,11 +50,17 @@ The supplied bundle contains four skills for software tasks: - **Inline documentation:** explain code through comments, docstrings, and related notes. - **Change descriptions:** help reviewers understand the purpose, impact, and verification of a change. -Use an AI agent that supports workspace skills in `.agents/skills/`. Install the complete skill folders there, start a fresh agent session, and confirm that the skills appear in its available-skills list. Then ask it to use a skill for a task, for example: +With Node.js/npm, Git, and a compatible agent, run this from the workspace where you want to use the skill: + +```sh +npx skills add Code-dot-mil/SkLC --skill python-secure-code-review +``` + +Follow the prompts to select your agent and project installation. Start a fresh agent session and confirm the skill appears in its available-skills list. Then ask it to use the skill for a task, for example: > Use the python-secure-code-review skill to review the Python changes in this branch. -The [bundle installation guide](products/skill-bundle/README.md) explains the archive layout and installation steps. Using the bundle requires neither a hosted exchange nor assessment tooling. +The [bundle installation guide](products/skill-bundle/README.md) covers prerequisites, choosing another skill, selecting a released version, reading assessment evidence, and installing from ZIP instead. The command above installs from the default branch. Using the bundle requires neither a hosted exchange nor assessment tooling. ## Understand what assessment tells you diff --git a/docs/using-skills.md b/docs/using-skills.md index 3e451bf..88a5fa1 100644 --- a/docs/using-skills.md +++ b/docs/using-skills.md @@ -33,7 +33,7 @@ If you have downloaded SkLC's assessment results instead of reading them on an e ## Install and try a task -Once you have chosen a suitable skill and compatible agent, follow the agent's installation instructions. Keep the complete skill folder together, including supporting files. For SkLC's supplied packages, the [bundle installation guide](../products/skill-bundle/README.md) explains the download and installation steps for agents that use `.agents/skills/` folders. If the guide's commands are unfamiliar, ask a technical colleague to help with setup. +Once you have chosen a suitable skill and compatible agent, follow the agent's installation instructions. For SkLC's supplied packages, you can use the Skills command-line tool (`npx skills add`) or copy complete folders from a downloaded ZIP. Keep supporting files with each skill. The [bundle installation guide](../products/skill-bundle/README.md) explains both methods, the software you need, and how to choose a version. If the guide's commands are unfamiliar, ask a technical colleague to help with setup. Confirm that the agent recognizes the installed skill. Then try a small task whose result you can check. Name the skill in your request and explain the outcome you want. For the report-checking example, that might be: “Use the report-checking skill on this draft and list any checklist items it does not cover.” diff --git a/products/skill-bundle/README.md b/products/skill-bundle/README.md index e6ff971..8f37a97 100644 --- a/products/skill-bundle/README.md +++ b/products/skill-bundle/README.md @@ -1,13 +1,35 @@ # Skill Bundle -This download contains these complete skill folders and their supporting files: +The bundle contains these complete skill folders and their supporting files: - `python-secure-code-review`: secure Python code review. - `unit-test-generation`: unit test generation. - `inline-documentation`: inline documentation. - `code-change-description`: commit messages and pull request descriptions. -New to skills? Read [Using a skill](https://github.com/Code-dot-mil/SkLC/blob/main/docs/using-skills.md) before following the installation steps below. These steps require an agent that supports workspace skills in `.agents/skills/` and familiarity with running commands; a technical colleague can help with setup. +New to skills? Read [Using a skill](https://github.com/Code-dot-mil/SkLC/blob/main/docs/using-skills.md) before following the installation steps below. You need a compatible agent and familiarity with running commands; a technical colleague can help with setup. + +## Install with the Skills CLI + +Install Node.js 22.20.0 or newer with npm, and Git. Use Skills CLI 1.9.0 or newer. You also need network access to npm and the GitHub repository. From the workspace where you want to use the skill, list the available skills: + +```sh +npx skills add Code-dot-mil/SkLC --list +``` + +The list should contain the four bundle skills named above. Install one by its name: + +```sh +npx skills add Code-dot-mil/SkLC --skill python-secure-code-review +``` + +Replace `python-secure-code-review` with another name from the list to choose a different skill. If npm asks to download the Skills CLI, confirm to continue. Follow the CLI prompts to select your agent and project installation. To select Codex explicitly, append `--agent codex`. Review any existing same-named skill before replacing it. The [Skills CLI reference](https://github.com/vercel-labs/skills/blob/main/docs/commands.md) describes other agents and installation options. + +Start a fresh agent session in that workspace and confirm the installed skill appears in its available-skills list. Try a small task, for example: “Use python-secure-code-review to review the Python changes in this branch.” Review the result before relying on it. + +These commands install from the repository's default branch, which can differ from a published release and its assessment evidence. For a released version, use the ZIP instructions below, or pass a GitHub directory URL in place of `Code-dot-mil/SkLC`: `https://github.com/Code-dot-mil/SkLC/tree//products/skill-bundle`. Replace `` with the exact tag shown on the release page. The directory URL also works for releases that predate root discovery configuration. + +Installation does not download assessment reports or run an assessment. Read [each skill's assessment](#read-each-skills-assessment) from the matching release when using released contents; evidence applies only to the exact assessed contents. ## Released product diff --git a/skills.sh.json b/skills.sh.json new file mode 100644 index 0000000..877d38d --- /dev/null +++ b/skills.sh.json @@ -0,0 +1,4 @@ +{ + "$schema": "https://skills.sh/schemas/skills.sh.schema.json", + "paths": ["./products/skill-bundle"] +}