kiro-spec-link

Creates a cross-repo spec pointer linking this repository to a spec owned by another repository.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/scapia-oss/compass --skill kiro-spec-link-scapia-oss
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kiro-spec-link
Source: https://github.com/scapia-oss/compass/tree/main/tools/cc-sdd/templates/agents/claude-code-skills/skills/kiro-spec-link
Command: npx skills add https://github.com/scapia-oss/compass --skill kiro-spec-link-scapia-oss

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a feature spans multiple repositories, teams often duplicate spec content across repos or lose track of which repo owns the authoritative spec. This Skill creates a lightweight pointer (spec-link.md plus a minimal spec.json) in the repo that does NOT own the spec, so multi-repo work stays traceable without copying requirements, design, or tasks content. ## Core Features & Use Cases - Satellite links: In a light child repo, create a parent: pointer with source-of-truth references derived from the parent spec's actual artifacts. - Peer links: In a heavy multi-repo split, create a peers: + contract cross-reference alongside the repo's own full spec. - Safety guarantees: Enforces branch-parity rules, blocks slug collisions with existing real specs, refreshes idempotently, and never writes into the other repository. - Use Case: A notification feature is specified in your backend repo but requires changes in the mobile app repo. Run this Skill in the mobile repo to create a spec-link.md pointing at the backend spec, so status tooling and reviewers can trace ownership. ## Quick Start Ask the agent to run the kiro-spec-link skill with --from pointing to the parent repo path and --spec set to the owning spec's category/date-slug to create a satellite link in this repository.

Frequently Asked Questions about kiro-spec-link

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I link a spec across multiple repositories?

Run the kiro-spec-link skill in the repo that does not own the spec, passing --from with the parent repo name or path and --spec with the owning spec's category/date-slug. It writes a spec-link.md pointer and minimal spec.json locally without copying spec content.

What is the difference between a satellite and a peer spec link?

A satellite link is used in a light child repo and records a parent pointer plus a minimal spec.json stub. A peer link is used in a heavy multi-repo split where the repo keeps its own full spec.json, and only a peers/contract cross-reference is added.

Does the skill write anything into the other repository?

No. The skill writes only into the current repository, following the one-repo-per-session rule. The spec-link.md pointer is the sanctioned cross-repo artifact, and the parent repo is only read when a local path is provided.

What happens if a spec with the same slug already exists?

The skill inspects the existing spec.json first. If it is a linked-spec with the same role, the link is refreshed; if it is a full spec, another kind, or a different role, the skill refuses to proceed and warns about the slug collision.

When do I need to run spec linking manually?

Usually only for peer links in a split architecture or to re-link after a repo move. The implementation commands create and refresh satellite links automatically when a task edits files in another repo.