speckit-archive-run

Archive merged feature specs into .specify memory with conflict detection.

Updated Mar 16, 2026
One-click install
npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-archive-run
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: speckit-archive-run
Source: https://github.com/B0yZ4kr14/OrthoPlus-Enterprise/tree/main/.specify-backups/20260518-141826/_agents/skills/speckit-archive-run
Command: npx skills add https://github.com/B0yZ4kr14/OrthoPlus-Enterprise --skill speckit-archive-run

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents merged feature specifications from being lost or left inconsistent by consolidating them into the main project memory, resolving conflicts and gaps while keeping traceability.

Core Features & Use Cases

  • Validates feature spec structure: Ensures the provided feature directory contains required files (spec.md and plan.md) before any changes.
  • Bootstraps memory on first run: Creates .specify/memory/ and seeds spec.md/plan.md from templates or from the feature content when missing.
  • Detects gaps and conflicts: Flags requirement ID collisions, entity deltas, dependency conflicts, and missing architecture/integration/testing coverage.
  • Applies scoped archival updates: Updates spec, plan, changelog, and agent knowledge selectively via scope modifiers.
  • Maintains auditability: Produces an archival report with absolute paths and revision notes on modified artifacts.

Quick Start

Ask the assistant to archive a merged feature by running: /speckit.archive.run specs/###-feature-name --spec-only

Frequently Asked Questions about speckit-archive-run

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

FAQPage Schema
How do I archive merged feature specs into project memory without losing traceability?

To archive merged feature specs into project memory, validate the feature directory structure first, detect requirement conflicts and gaps, then apply scoped updates to memory artifacts like spec.md, plan.md, and changelog.md to ensure full traceability.

What happens if my spec-kit repository has no existing memory directory?

If the .specify/memory/ directory is missing, the archival process bootstraps it automatically by creating the folder and seeding the required spec.md and plan.md files from the feature content or predefined templates.

How do I detect requirement ID collisions and dependency conflicts during spec archival?

Detecting requirement ID collisions and dependency conflicts during spec archival involves scanning the merged feature specification against existing memory artifacts to flag duplicate IDs, entity deltas, and missing architecture coverage.

Can I update only the specification file and skip the changelog during spec archival?

Yes, you can update only the specification file and skip the changelog during spec archival by applying scope modifiers, which selectively target spec.md, plan.md, changelog.md, or agent knowledge files for updates.

Does spec archival work with repositories that use optional data-model and contracts files?

Yes, spec archival works with repositories using optional data-model, contracts, research, tasks, and checklists files, validating the required spec.md and plan.md while processing optional files to consolidate the main project memory.

Why does feature spec archival fail when plan.md is missing from the feature directory?

Feature spec archival fails when plan.md is missing because the validation step requires both spec.md and plan.md to exist in the feature directory before applying any scoped updates or conflict detection to the project memory.