Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .agents/skills/code-review/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/durable-behavior-tests/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/implement/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
name: implement
description: "Implement a piece of work based on a spec or set of tickets."
metadata:
internal: "true"
---

# Implement
Expand Down
1 change: 1 addition & 0 deletions .agents/skills/pair-programming/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/reader-first-documentation/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/retro/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
name: retro
description: "Conduct a retrospective on a coding session."
disable-model-invocation: true
metadata:
internal: "true"
---

# Session retrospective
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/scope-maintainable-contribution/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/sklc-evaluate-release/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/sklc-release-process/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions .agents/skills/writing-for-agents/SKILL.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion CI.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ On the selected CI run's summary page, find the artifacts produced by successful
| Download | Contents and next step |
| --- | --- |
| `static-site` | A finished Prebuilt website under `public/`, deployment guides, and hidden `.gitlab-ci.yml` configuration. Extract the ZIP once, then follow its deployment guide. |
| `skill-bundle.zip` | Complete skill folders under `skills/` and their installation README. Follow that README to install them. |
| `skill-bundle.zip` | Extract the ZIP into a `skill-bundle` folder, then follow the packaged README starting at “Copy the complete skill folders”. |
| `skill-bundle-assessments.zip` | A README, two original JSON reports, and a generated `summary.md` per selected skill. Open the included summary to read the findings. JSON is the structured data format used for these reports. |
| `skill_assessment-*.whl` | The standalone assessment command-line tool. A `.whl` file is an installable Python package; follow the [assessment installation guide](products/assessment-kit/README.md#installation). SkillSpector is installed separately. |
| `deployment-kit-operator-*.zip` | The tools, website source, automation configuration, assessment wheel, and included skills/reports needed to maintain an exchange. Follow its README. |
Expand Down
8 changes: 5 additions & 3 deletions GOVERNANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,22 @@ This document describes review in the upstream SkLC repository. Teams running th
| Human reviewer | Inspect a skill's purpose, metadata, instructions, supporting files, and assessment evidence. At least one human reviewer inspects skill changes before merge. |
| Maintainer | Approve changes after human review and merge accepted contributions. |

Skills declare their name and description in `SKILL.md`; the exchange presents that metadata alongside their full instructions. Review the whole package, including supporting files that adjudication does not independently examine.
Skills declare their name and description in `SKILL.md`; the exchange presents that metadata alongside their full instructions. Review the whole package, including any supporting files the adjudicator did not request.

## From proposed change to published evidence

1. **Propose the change.** Submit the skill package and explain its intended use. Use [Contributing](CONTRIBUTING.md) for platform changes and local checks; it is not a separate skill-submission procedure.
2. **Review the content and results.** Read the assessment's confirmed findings, unresolved findings, false-positive reasons, scope, and limitations. The [assessment guide](products/assessment-kit/README.md#summarize) explains how to obtain and interpret that summary.
3. **Make the human decision.** A maintainer approves changes after human review. An automated scan completing successfully is not that approval.
4. **Keep evidence tied to the accepted content.** The main assessment workflow maintains current report pairs for bundled skills. Site generation checks that each pair describes the exact skill being published. See [CI](CI.md#main-bundle-assessments) for how upstream automation retains the evidence.
4. **Keep evidence tied to the accepted content.** The contributor generates and commits the assessment report pair with the matching skill revision. Site generation checks that each pair describes the exact skill being published. See [bundle assessments](CI.md#pull-request-assessment-review) for the steps.

## What the publication checks establish

An assessed site needs matching reports, successful scanner execution, completed adjudication, and a determination associated with every scanner finding. Missing, stale, or mismatched evidence stops site generation. This prevents the site from presenting a report for different skill contents as current evidence.

Those checks establish report eligibility, not approval or absence of risk. Completed negative safety judgments and nonfatal coverage limitations remain advisory and may appear on a published site. The independent skill-bundle download packages skill files without requiring assessment.
Those checks establish report eligibility, not approval or absence of risk. Completed negative safety judgments and nonfatal coverage limitations remain advisory and may appear on a published site.

Upstream skill changes require human review and maintainer approval. Before packaging an official skill bundle, [release CI](CI.md#catalog-safety-gate) requires a current assessment with a `SAFE` recommendation for each included skill.

The repository does not define a severity-based approval threshold, a formal risk-acceptance record, or an escalation process for disputed findings. These are policy gaps, not permissions granted by a successful build. Reviewers should surface unresolved decisions for the maintainer rather than infer that the pipeline has settled them. Customer operators must define their own publication authority and decision process.

Expand Down
67 changes: 27 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,81 +2,68 @@

> **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

You can install skills, run assessments, or host an exchange independently. Start with the task you want to accomplish.

| 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.
Loading