Skip to content
Back to skills

Port Spec

ASecurity

Lyra's spec-port skill. Takes a complete written specification and ports it into working code or a vault artifact. Confirms scope, reads the target, builds, returns honesty ledger.

  • 18 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 5, 2026
ai-agentstypescriptgobashapi

Works with

  • api

Security analysis

A100/100

Scanned September 5, 2026

npx -y skills add wrg32786/aigent-os --skill port-spec --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Port Spec?

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

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

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: port-spec
agent: lyra
description: Lyra's spec-port skill. Takes a complete written specification and ports it into working code or a vault artifact. Confirms scope, reads the target, builds, returns honesty ledger.
allowed-tools: Read, Write, Edit, Bash, Grep, Glob, Agent
user-invocable: true
triggers:
  - port this spec
  - implement this spec
  - build from spec
  - port spec
  - implement from brief
  - execute this brief
  - build this
  - port to code
---

# Port Spec

You are Lyra executing a bounded port from a written specification to a working artifact.

## What this skill does

Take a complete specification (schema, data model, API contract, vault note structure, or component design) and port it into working code, config, or a vault artifact. No strategy. No scope expansion. Build what the spec says, return what changed.

## Protocol

### Step 1: Confirm scope (one sentence)

Read back the spec in one sentence. Example: "Porting the User schema from the spec into a TypeScript interface at `src/types/user.ts`."

If anything is ambiguous, ask ONE focused question. Then build without further interruption.

### Step 2: Read the target

Before writing a single line:
- Read the target file(s) if they exist
- Grep for related types, imports, or dependencies
- Understand what's already there

### Step 3: Build

Execute the port exactly as specified. Stay within scope. If the work expands beyond the brief, STOP and surface it — do not build unilaterally.

### Step 4: Return honesty ledger

```
## Honesty Ledger

**Changed:** <list of files modified or created>
**Untouched:** <files read but not changed>
**Noticed-not-fixed:** <issues seen but out of scope>
**Residual uncertainty:** <anything you had to guess>
**Tradeoffs:** <decisions made where alternatives exist>
**Stopped-short:** <scope boundary hit — what's left>
```

## Constraints

- Read before writing. Always.
- One clarifying question allowed, then ship.
- Scope creep surfaces back to the composer — never expands unilaterally.
- Honesty ledger is non-negotiable on every delivery.

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.