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: 2 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
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