Skip to content
Back to skills

Speclink Analyze

ASecurity

Use when a change's artifacts should be cross-checked before implementing — coverage, consistency, ambiguity and gaps across proposal, design, specs and tasks; reports findings without editing anything.

  • 27 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 23, 2026
developmentbashrails

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned November 23, 2026

npx -y skills add MomoChenisMe/speclink --skill speclink-analyze --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Speclink Analyze?

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

Security grade badge for Speclink Analyze
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/momochenisme-speclink-analyze/badge)](https://www.skillsdirectory.com/skills/momochenisme-speclink-analyze)

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: speclink-analyze
description: "Use when a change's artifacts should be cross-checked before implementing — coverage, consistency, ambiguity and gaps across proposal, design, specs and tasks; reports findings without editing anything."
context: fork
agent: Explore
disallowedTools: [Edit, Write]
license: MIT
compatibility: Requires speclink CLI.
metadata:
  author: speclink
  version: "v1.59.0"
  generatedBy: "Speclink"
---

## Claude fork context

This generated Claude Code skill runs with `context: fork`. The rules in this section take precedence over the shared `analyze` body below.

When no change name is provided, run `speclink list --json`. Auto-select only when there is exactly one active change. If there are zero active changes or more than one active change, return the candidate list or empty-state message and ask the main thread to rerun `/speclink-analyze <change-name>`. Do NOT ask an interactive selection question inside the fork.

---

**Conversation language**: write to the user in the language they use with you — progress updates, questions, and summaries. This skill is written in English, and its example messages show structure, not language: translate their prose, and keep commands, file paths, code, and fixed tokens (severity labels, status words) as they are. When a step sets the language of its own output — a document, a report, or the way it presents results and asks about them (for example through `locale`) — that step decides for that output. When you edit a document that already exists and no step sets its language, keep the language it is written in. When you run in a forked context that cannot see the conversation, use the language of the request you were given.

Analyze artifact consistency for a change. Can be invoked directly or triggered automatically when all artifacts are complete.

**Read-only**: this skill reads artifacts and reports; it never modifies files. Keep the output concise — it runs inline, not as a separate workflow.

**Input**: Optionally specify a change name (e.g., `/speclink-analyze add-auth`). If omitted, infer from conversation context or auto-select if only one active change exists.

**Prerequisites**: This skill requires the `speclink` CLI. If any `speclink` command fails with "command not found" or similar, report the error and STOP.

**Steps**

1. **Determine change name**

   If not provided, infer from context or run `speclink list --json` to auto-select. Do not prompt for change selection when it can be inferred.

2. **Run programmatic analysis**

   ```bash
   speclink analyze <change-name> --json
   ```

   This returns structured JSON with:
   - `dimensions`: Array of `{ dimension, status, finding_count }` for Coverage, Consistency, Ambiguity, Gaps
   - `findings`: Array of `{ id, dimension, severity, location, summary, recommendation }`
   - `artifacts_analyzed` / `artifacts_missing`: Which artifacts were available

3. **Present results**

   **Report language**: run `speclink instructions apply --change "<name>" --json` and use its `locale` field (e.g., "Traditional Chinese (繁體中文)") — write the report in that language, prose, headings, and table labels included. Keep severity labels (Critical/Warning/Suggestion), command lines, and code references in English. If the field is absent or the call fails, write in English.

   Format the JSON output as a readable summary:

   ```
   ## Artifact Analysis: <change-name>

   | Dimension     | Status                   |
   |---------------|--------------------------|
   | Coverage      | <status>                 |
   | Consistency   | <status>                 |
   | Ambiguity     | <status>                 |
   | Gaps          | <status>                 |
   ```

   Group findings by severity (Critical > Warning > Suggestion) with locations and recommendations.

4. **Supplement with AI semantic analysis** (optional)

   The programmatic analyzer catches structural issues. For deeper semantic analysis, also read the artifacts — `speclink show <name> --json` lists them and `speclink artifact cat <artifact-id> --change "<name>"` prints each one — and check for:
   - Design decisions that contradict spec requirements
   - Tasks referencing work outside proposal scope
   - Risks in design without corresponding spec coverage
   - Logical inconsistencies between artifacts

   Add any additional findings to the report.

5. **Recommend next steps**
   - Critical findings → "Found N issue(s) worth addressing. Want to fix these before implementing?" (ask with the **AskUserQuestion tool**, or as plain text and wait for the user's response when that tool is not available)
   - Only Warning/Suggestion findings → note them briefly, then recommend proceeding with `/speclink-apply`
   - Clean → "Artifacts look consistent" and suggest `/speclink-apply`

**Passive Trigger**

When `speclink status --change "<name>" --json` shows `isComplete: true`, run this analysis automatically before recommending `/speclink-apply`.

**Guardrails**

Check these before you report:

- [ ] No file was modified ("Read-only").
- [ ] The change name was inferred when possible, not asked for (step 1).
- [ ] The report is in the `locale` language, grouped by severity (step 3).

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.

View all in development →

Comments

Loading comments…

Newsletter

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