Skip to content
Back to skills

Spec Index

ASecurity

Manage spec registry and generate snapshots.

  • 43 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
developmentbash

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add LiorCohen/sdd --skill spec-index --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Spec Index?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Spec Index
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/liorcohen-spec-index/badge)](https://www.skillsdirectory.com/skills/liorcohen-spec-index)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: spec-index
description: Manage spec registry and generate snapshots.
user-invocable: false
---


# Spec Index Skill

## Commands

The spec commands are available via the system CLI:

### Generate Index

Generates `changes/INDEX.md` from all change spec files.

```bash
<plugin-root>/system/system-run.sh spec index --changes-dir changes/
```

### Generate Snapshot

Generates `specs/SNAPSHOT.md` compiling all active specs.

```bash
<plugin-root>/system/system-run.sh spec snapshot --specs-dir specs/
```

### Validate Spec

Validates spec frontmatter and format.

```bash
# Validate single spec
<plugin-root>/system/system-run.sh spec validate changes/2026/01/21/my-change/SPEC.md

# Validate all specs
<plugin-root>/system/system-run.sh spec validate --all --specs-dir specs/
```

---

## INDEX.md Format

The index is a registry of all change specs, located at `changes/INDEX.md`:

```markdown
# Change Index

Last updated: YYYY-MM-DD

Total: X specs (Active: Y, Deprecated: Z, Archived: W)

## Active Changes

| Change | Type | Spec | Domain | Issue | Since |
|--------|------|------|--------|-------|-------|
| User Authentication | feature | [SPEC](2025/01/01/user-auth/SPEC.md) | Identity | [PROJ-123](url) | 2025-01-01 |

## Deprecated

| Change | Type | Spec | Domain | Issue | Deprecated |
|--------|------|------|--------|-------|------------|
| Old Auth | feature | [SPEC](2025/01/15/old-auth/SPEC.md) | Identity | [PROJ-100](url) | 2025-02-01 |

## Archived

*None*
```

Note: Links are relative within the `changes/` directory (e.g., `YYYY/MM/DD/...`).

---

## SNAPSHOT.md Format

The snapshot is a compiled view of current product state:

```markdown
# Product Snapshot

Generated: YYYY-MM-DD

This document represents the current active state of the product by compiling all active specifications.

## By Domain

### Identity

#### User Authentication
**Spec:** [changes/2025/01/01/user-auth/SPEC.md](changes/2025/01/01/user-auth/SPEC.md)
**Issue:** [PROJ-123](url)

[Summary of change capabilities]

---

### Billing

...
```

---

## Input

Schema: [`schemas/input.schema.json`](./schemas/input.schema.json)

Accepts index command and directory paths for changes and specs.

## Output

Schema: [`schemas/output.schema.json`](./schemas/output.schema.json)

Returns success status and any validation errors or warnings.

## Workflow

### After Creating a Spec

1. Merge spec to main
2. Run `<plugin-root>/system/system-run.sh spec index` to update INDEX.md
3. Run `<plugin-root>/system/system-run.sh spec snapshot` to update SNAPSHOT.md
4. Commit the updated index and snapshot

### Before Release

1. Run `<plugin-root>/system/system-run.sh spec validate --all` to ensure all specs are valid
2. Review SNAPSHOT.md for completeness
3. Verify all active specs have corresponding implementations

---

Files in this skill

  • SKILL.md3.3 KB
  • schemas/input.schema.json843 B
  • schemas/output.schema.json737 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.