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 0189d29..f909eda 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@1.9.0 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@1.9.0 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). Run the assessment in an approved environment and commit matching evidence with the changed skill. 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 3a7a841..3ac2ec5 100644 --- a/README.md +++ b/README.md @@ -2,33 +2,17 @@ > **RC · Release candidate.** Available for sponsor evaluation and feedback. Wait for release approval before using SkLC or the bundled skills in production. -Skill Lifecycle (SkLC) helps teams use, assess, and share **agent skills**. +The Skill Lifecycle (SkLC) project provides tools to assess **agent skills**, investigate potential problems, and share skills alongside their assessment evidence. An **AI agent** is an AI application that can carry out tasks using instructions and tools. A **skill** gives an agent reusable instructions for a particular task. For example, a team could write a skill to help an agent check a document against a checklist, so people do not have to explain the same process each time. -SkLC provides tools for assessing skills for potential problems and sharing them alongside review evidence. Its **Skill Exchange** is a website where people can browse skills, read their instructions and assessment results, and download them for use with a compatible agent. +The **Skill Exchange** is a website where people can browse skills, read their instructions and assessment results, and download them for use with a compatible agent. -**New to AI agents or skills?** Start with [Using a skill](docs/using-skills.md) to understand what you need, how to choose a skill, and what to check before relying on its results. You can read about skills without installing software. +Start with [Choose and download a SkLC skill](docs/using-skills.md) to browse an exchange, read a skill’s assessment, or install its package. ## The skill lifecycle -A skill needs more than useful instructions. Its authors need to understand who will use it, check that it behaves as intended, decide when it is ready to share, and revisit those decisions as the skill, model, or environment changes. - -The Skill Lifecycle organizes that work into five stages: - -![Five stages: Define, Build, Validate, Release, and Operate. A revision loop connects the stages so feedback can lead to further definition, changes, and testing.](docs/assets/skill-lifecycle-overview.svg) - -| Stage | What it accomplishes | -| --- | --- | -| **Define** | Establish the problem, intended users, expected behavior, and who is responsible for the skill. | -| **Build** | Write the instructions and add the examples, scripts, or other supporting material the task needs. | -| **Validate** | Check when the skill activates, the quality of its results, and potential safety or security problems. Gather evidence for the release decision. | -| **Release** | Decide whether a version is ready for its intended users and make it available with the relevant review evidence. | -| **Operate** | Collect feedback, investigate failures, and reassess the skill as its dependencies, models, or operating conditions change. Update or retire it when needed. | - -These stages form a cycle. Feedback during use—or a problem found during validation—can send a skill back for further definition, changes, and testing. - -The tools in this repository support parts of that lifecycle. The assessment kit helps gather validation evidence, while the skill bundle and deployment kits help distribute skills and assessment reports. Teams remain responsible for task-specific testing, release decisions, and ongoing review. +During validation, the assessment kit produces evidence for reviewers. At release, teams can share skills and that evidence through the exchange. For guidance on how teams use agents and review their work, see the [AI4SDLC playbook](https://code-dot-mil.github.io/AI4SDLC/). ## Choose a starting point @@ -36,47 +20,50 @@ You can install skills, run assessments, or host an exchange independently. Star | Your goal | What to use | Guide | | --- | --- | --- | -| Install the supplied skills | **Skill bundle** — four complete skill packages | [Install skills in your workspace](products/skill-bundle/README.md) | +| Install the supplied skills | **Skill bundle** — complete skill packages | [Install skills for your agent](products/skill-bundle/README.md) | | Assess a skill you wrote or received | **Assessment kit** — a standalone Python command-line tool | [Install the kit and assess a local skill](products/assessment-kit/README.md) | | 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. -## Use the supplied skills - -The supplied bundle contains four skills for software tasks: +See [Architecture](docs/architecture.md) for how the downloads fit together. -- **Secure Python code review:** review Python changes for security weaknesses. -- **Unit test generation:** create focused tests for a change or bug fix. -- **Inline documentation:** explain code through comments, docstrings, and related notes. -- **Change descriptions:** help reviewers understand the purpose, impact, and verification of a change. +## Using the skill bundle -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: +The [bundle installation guide](products/skill-bundle/README.md) lists the supplied skills and explains how to install them in a compatible agent. For a quick start with Node.js 22.20.0 or newer, npm, and Git, run this from the workspace where you want to use the skill: -> Use the python-secure-code-review skill to review the Python changes in this branch. +```sh +npx skills@1.9.0 add Code-dot-mil/SkLC --skill python-secure-code-review +``` -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. +This command installs from the default branch. The guide covers [choosing a release or installing from ZIP](products/skill-bundle/README.md#released-product). You can use the installed skill without setting up an exchange or assessment tools. -## Understand what assessment tells you +## Using the assessment kit -The assessment kit helps an author investigate potential problems before using or sharing a skill. It runs the external **SkillSpector** scanner and, by default, asks a configured model to review the findings in context. This second review is called **adjudication**. Skill contents are sent to the configured model provider. +The assessment kit helps an author investigate potential problems before using or sharing a skill. It runs the external **SkillSpector** scanner and, by default, asks a configured model to review the findings in context. SkillSpector produces its findings first. The kit then asks the model to review each finding and explain whether it looks like a real issue, a false positive, or something that still needs investigation. This step is called **adjudication**. Skill contents are sent to the configured model provider. -The kit produces a scanner report and an adjudication report. Its `summarize` command turns that pair into a readable account of confirmed problems to address, findings that still need investigation, alerts dismissed after contextual review (false positives), and review limitations. After revising a skill, assess it again to check the new content. See the [assessment guide](products/assessment-kit/README.md) for prerequisites, commands, and result interpretation. +The kit produces a scanner report and an adjudication report. Its `summarize` command turns that pair into a readable account of confirmed problems to address, findings that still need investigation, alerts dismissed after contextual review (judged to be false positives), and review limitations. After revising a skill, assess it again to check the new content. See the [assessment guide](products/assessment-kit/README.md) for prerequisites, commands, and result interpretation. -An assessment is evidence for a human decision, not a safety certificate. Adjudication examines `SKILL.md` and scanner evidence; supporting files are not independently reviewed. A successful command can still report problems or incomplete coverage. Read the [review scope](products/assessment-kit/README.md#review-scope) before relying on a judgment. +An assessment is evidence for a human decision, not a safety certificate. The kit passes the whole skill folder to SkillSpector. The scanner report shows what it covered. Adjudication starts with `SKILL.md`, scanner evidence, and a list of skill files. The model can request supporting files relevant to the findings. Direct review of supporting files is limited to those it requests. A successful command can still report problems or incomplete coverage. Read the [review scope](products/assessment-kit/README.md#review-scope) before relying on a judgment. ## Share skills through an exchange -An exchange lets visitors browse skill descriptions, read instructions and assessment results, and download skill packages and reports. It is a static website: assessment and site building happen before publication, and visitors do not trigger model requests. +An exchange lets visitors browse skill descriptions, read instructions and assessment results, and download skill packages and reports. + +Choose **Prebuilt** to host the supplied example exchange without building the site. Choose **Operator** to maintain your own catalog, select any supplied skills you want to include, and run the assessment, build, and publication pipeline. Operator setup requires GitLab runners, an assessment container image, and access to a configured model provider. The [Operator guide](products/deployment-kit/operator/docs/README.md) walks through those requirements and ongoing updates. -Choose **Prebuilt** to host the supplied four-skill bundle without building the site. Choose **Operator** to maintain your own catalog, select any supplied skills you want to include, and run the assessment, build, and publication pipeline. Operator setup requires GitLab runners, an assessment container image, and access to a configured model provider; the [Operator guide](products/deployment-kit/operator/docs/README.md) walks through those requirements and ongoing updates. +```mermaid +flowchart LR + add["Add existing skill packages"] --> assess["Run assessments"] + assess --> review["Review results"] + review --> publish["Share skills and evidence on the Skill Exchange"] +``` -Completed negative assessments can remain visible on a published exchange. Publication does not imply that every finding has been resolved; [governance](GOVERNANCE.md) describes human review and approval responsibilities. +[Governance](GOVERNANCE.md) describes human review and approval responsibilities. ## Explore the project or contribute -- [Architecture](docs/architecture.md) explains how the products fit together and how skills and reports become a website. -- [Contributing](CONTRIBUTING.md) covers source development, tool installation, local checks, and generated files. Start here to change SkLC itself. +- [Contributing](CONTRIBUTING.md) covers source development, tool installation, local checks, and generated files. - [CI and releases](CI.md) explains validation, development-preview downloads, and release preparation. - [Product decisions](docs/decisions.md) records accepted requirements and the parallel lifecycle-guidance direction. diff --git a/docs/using-skills.md b/docs/using-skills.md index 3e451bf..a96ba05 100644 --- a/docs/using-skills.md +++ b/docs/using-skills.md @@ -1,18 +1,12 @@ -# Using a skill +# Choose and download a SkLC skill -A skill gives an AI agent reusable instructions for a task. An AI agent is an application that can follow instructions and use tools to carry out work. You supply your goal and the information it needs; the skill describes a process for the agent to follow. You still need to review the result. +An AI agent is an application that can follow instructions and use tools to carry out work. A skill gives an AI agent reusable instructions for a task. You supply your goal and the information it needs; the skill describes a process for the agent to follow. You still need to review the result. -For example, a team could write a skill to check whether a draft report covers an agreed checklist. Instead of explaining the checklist in every request, someone could ask the agent to use that skill on a draft. This is an example of how skills can help; SkLC's supplied bundle contains skills for software tasks. +For example, a unit-test skill can tell an agent how to propose tests for a change. You can refer the agent to the changed code without repeating the testing process in each request. -## Start by reading +## What you need to use a skill -You do not need to install SkLC or run commands to learn about a skill. If your team has a **Skill Exchange**, open that website to browse descriptions, read instructions and assessment results, and download skills. Ask the person who shared SkLC whether your team has an exchange to browse. This repository contains the tools for creating one, rather than a running exchange you must sign up for. - -To see what is supplied here, read the [bundle's four skill descriptions](../products/skill-bundle/README.md). They cover Python code review, unit tests, inline documentation, and change descriptions. Choose based on the task you need help with; these packages may not fit your work. - -## Check whether you can use it - -A skill is a package of instructions, sometimes with scripts, examples, or other supporting files. Its main instruction file is named `SKILL.md`; it is a text document you can read. The package is used by an agent application, rather than an application you can run by itself. +You need an agent application that supports skills and is approved for your work. A skill is a package of instructions, sometimes with scripts, examples, or other supporting files. Its main instruction file is named `SKILL.md`. You do not need to set up a website or assessment tools just to use a skill. Before downloading or installing a skill, answer these questions: @@ -21,22 +15,26 @@ Before downloading or installing a skill, answer these questions: - **What else does it need?** Check for required applications, accounts, files, and permissions. If these are unclear, ask the skill's author or your team's support contact before using it. - **Can you use it with your information?** Follow your organization's rules for the AI application and the information you provide. Check what the skill asks the agent to access or do. -If you do not already have an agent application, ask your team which one is appropriate for your work and supports the skill you chose. Share the skill's description and requirements with the person helping you. You do not need to set up a website or assessment tools just to use a skill. +## Where to find skills + +You do not need to install anything or run commands to learn about a skill. If your organization has a **Skill Exchange**, open it to browse skill descriptions, read instructions and assessment results, and download skills. If your organization wants to set up its own exchange, SkLC provides the tools. + +The supplied skills cover Python code review, unit tests, inline documentation, and change descriptions. Choose based on the task you need help with; these packages may not fit your work. -## Read the assessment, when available +## Read a skill’s security assessment -An assessment looks for potential problems in the skill's instructions. On an exchange, read the findings and the review's limitations alongside the skill. A confirmed finding is a problem the review supports; an unresolved finding still needs investigation. A false positive is an alert the contextual review dismissed. Missing or incomplete coverage means some questions remain unanswered. +An assessment looks for potential problems in the skill's instructions. On the skill’s detail page, open **Assessment Evidence** to read the findings and the review's limitations. A confirmed finding is a problem the review supports; an unresolved finding still needs investigation. A false positive is an alert the contextual review dismissed. Missing or incomplete coverage means some questions remain unanswered. -An assessment helps you decide what needs attention. It does not guarantee that a skill is suitable for your task or that its results will be correct. SkLC's contextual review examines the main instruction file and scanner evidence; it does not independently review supporting files. Ask the author or your team's reviewer about concerns you cannot evaluate yourself. +An assessment helps you decide what needs attention. It does not guarantee that a skill is suitable for your task or that its results will be correct. SkLC's contextual review starts with the main instruction file, scanner evidence, and a list of skill files. The model can request supporting files to investigate findings. Direct review of supporting files is limited to those it requests. Ask the author or your team's reviewer about concerns you cannot evaluate yourself. -If you have downloaded SkLC's assessment results instead of reading them on an exchange, open `summary.md` in the directory named for your skill. The [assessment results guide](../products/skill-bundle-assessments/README.md) explains the archive layout and findings. Reading the included summaries requires no assessment tools or new scan. +To get the supplied reports and open a skill’s summary, follow the [assessment results guide](../products/skill-bundle-assessments/README.md). To scan your own skill, follow the [assessment kit guide](../products/assessment-kit/README.md). ## 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. +On the exchange, open the skill's detail page, select **Download skill package**, and extract the ZIP. 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 skills, the [bundle installation guide](../products/skill-bundle/README.md) explains how to install with the Skills command-line tool or from a release ZIP. -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.” +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 example, ask “Use the unit-test-generation skill to propose tests for this function.” AI4SDLC’s [Unit Testing with GenAI guide](https://code-dot-mil.github.io/AI4SDLC/plays/testing-types/unit-testing/) explains how to review those tests. -Review the result against the original information and your goal before relying on it. Check any proposed action before allowing the agent to carry it out. If the skill misses something or produces an incorrect result, record what you asked, what happened, and what you expected, and share that feedback with its maintainer. Changes to a skill or the agent can change its behavior, so check again when either is updated. +Review the result against the original information and your goal before relying on it. Check any proposed action before allowing the agent to carry it out. If the skill misses something or produces an incorrect result, record what you asked, what happened, and what you expected. Changes to a skill or the agent can change its behavior, so check again when either is updated. -To understand how teams create, check, share, and maintain skills, return to the [skill lifecycle](../README.md#the-skill-lifecycle). +If your agent supports project-level skills, keep the complete skill folder in your project repository so your team can review and version changes together. For guidance on deciding what an agent may do in your team's workflow, see AI4SDLC’s [AI Workflow Design play](https://code-dot-mil.github.io/AI4SDLC/plays/ai_sdlc_workflows-play/). diff --git a/products/skill-bundle/README.md b/products/skill-bundle/README.md index e6ff971..b5e4921 100644 --- a/products/skill-bundle/README.md +++ b/products/skill-bundle/README.md @@ -1,56 +1,76 @@ # 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. +To choose a skill and read its assessment, see [Choose and download a SkLC skill](https://github.com/Code-dot-mil/SkLC/blob/main/docs/using-skills.md). These steps require an agent that supports skills and familiarity with running commands. Check the agent's documentation for the installation location. -## Released product +## Install with the Skills CLI -Download `skill-bundle-.zip` from [SkLC Releases](https://github.com/Code-dot-mil/SkLC/releases). Expand that asset's details to see its `sha256:` digest. Replace `` below with the downloaded version and calculate its SHA-256: +Install Node.js 22.20.0 or newer with npm, and Git. The commands below use Skills CLI 1.9.0. 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 -sha256sum skill-bundle-.zip +npx skills@1.9.0 add Code-dot-mil/SkLC --list ``` -On macOS, use `shasum -a 256` in place of `sha256sum`. Compare the 64-character result with GitHub's digest for that asset, ignoring the `sha256:` prefix. If they differ, stop and download it again. Once they match, unzip once into a new folder: +The list should contain the four bundle skills named above. Install one by its name: ```sh -unzip skill-bundle-.zip -d skill-bundle +npx skills@1.9.0 add Code-dot-mil/SkLC --skill python-secure-code-review ``` -Copy the complete skill folders from `skill-bundle/skills/` into your workspace's `.agents/skills/`. Keep supporting files with each skill, and compare any existing same-named folders before replacing them. Start a fresh agent session in that workspace and confirm the skills appear in its available-skills list. +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. -### Read each skill's assessment +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. -You can read the supplied assessment summaries without installing the assessment kit: +These commands install from the repository's default branch, which can differ from a published release and its assessment evidence. To install from a release that uses the current bundle layout, replace `Code-dot-mil/SkLC` with `https://github.com/Code-dot-mil/SkLC/tree//products/skill-bundle` and substitute the exact release tag. -1. Open the version you downloaded on the [SkLC Releases page](https://github.com/Code-dot-mil/SkLC/releases). -2. Under that release's **Assets**, download `skill-bundle-assessments-.zip`. Choose the same version as your skill bundle. -3. Compare its SHA-256 with GitHub's digest, as described above, then extract it: +Installation does not download assessment reports or run an assessment. For released contents, read the assessment from the matching release. Assessment evidence applies to the exact contents that were reviewed. - ```sh - unzip skill-bundle-assessments-.zip -d bundle-assessments - ``` +## Released product -4. Open `summary.md` inside the directory named for the skill. For example, the Python review summary is `bundle-assessments/python-secure-code-review/summary.md`. Each of the other three skills has the same layout. +Download `skill-bundle-.zip` from [SkLC Releases](https://github.com/Code-dot-mil/SkLC/releases). If you're using an older release, follow the README included in its ZIP. Expand the asset details to see its `sha256:` digest. Run the command for your operating system in the download folder, replacing `` with the downloaded version. -Each summary explains confirmed findings, unresolved questions, false positives, and review limitations. Its directory also contains the original `skillspector.json` and `adjudication.json` report pair. The accompanying README explains how to interpret them. Read the scope and limitations before deciding whether a skill fits your use. +On Linux, use: -Assessment is optional for installing these skills. Evidence describes the exact assessed contents; edits require a new assessment. +```sh +sha256sum "skill-bundle-.zip" +``` -## CI artifact +On macOS, use: + +```sh +shasum -a 256 "skill-bundle-.zip" +``` + +On Windows (PowerShell), use: -For testing a development build, find the selected run's downloads using the [CI preview guide](https://github.com/Code-dot-mil/SkLC/blob/main/CI.md#preview-downloads). The CI `skill-bundle.zip` download is also a single ZIP with `skills/` and `README.md` at its root. Extract it into a new folder: +```powershell +Get-FileHash -Algorithm SHA256 -LiteralPath "skill-bundle-.zip" +``` + +Compare the 64-character result with GitHub's digest for that asset, ignoring letter case and the `sha256:` prefix. If they differ, download the file again. Once they match, extract the archive into a new folder. + +On Linux or macOS, use: ```sh -unzip skill-bundle.zip -d skill-bundle +unzip "skill-bundle-.zip" -d skill-bundle ``` -Copy the complete folders from `skill-bundle/skills/` into `.agents/skills/` and verify discovery as described under [Released product](#released-product). This artifact is a development preview associated with its CI run and commit; use a published release when you want a released version. +On Windows (PowerShell), use: + +```powershell +Expand-Archive -LiteralPath "skill-bundle-.zip" -DestinationPath "skill-bundle" +``` + +Copy the complete skill folders from `skill-bundle/skills/` to the location your agent uses. For example, some agents load skills from `.agents/skills/` at the top level of the project repository. If you use a project-level location, your team can review and version the installed skills with the project. Keep supporting files with each skill and compare any existing same-named folders before replacing them. Start a fresh agent session and confirm the skills appear in its available-skills list. + +For the current release, use the [assessment results guide](https://github.com/Code-dot-mil/SkLC/blob/main/products/skill-bundle-assessments/README.md) to read reports that match your bundle. + +## CI artifact -The matching CI download is `skill-bundle-assessments.zip`. Extract it into `bundle-assessments/` and open each skill's `summary.md` as described above. Choose both previews from the same CI run. +For a development preview, use the [CI preview guide](https://github.com/Code-dot-mil/SkLC/blob/main/CI.md#preview-downloads) to find `skill-bundle.zip` from the selected run. Extract it into a new folder, then follow the folder-copy and discovery steps under [Released product](#released-product). Use the matching `skill-bundle-assessments.zip` from the same run to read the preview's assessment summaries. 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"] +}