Skip to content
Back to skills

Adt Read Sdd Artifact

ASecurity

Resolve canonical FEATURE/STORY/PRD/PLAN paths under features/ into a source_context envelope with artifact identity. Reject path traversal and paths outside features/. Use when invoking adt-read-sdd-artifact or normalizing SDD artifact reads for child handoffs.

  • 7 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 27, 2026
ai-agents

Security analysis

A100/100

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

Scanned November 27, 2026

npx -y skills add tibursocampos/agent-dev-toolkit --skill adt-read-sdd-artifact --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Adt Read Sdd Artifact?

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

Security grade badge for Adt Read Sdd Artifact
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tibursocampos-adt-read-sdd-artifact/badge)](https://www.skillsdirectory.com/skills/tibursocampos-adt-read-sdd-artifact)

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: adt-read-sdd-artifact
description: Resolve canonical FEATURE/STORY/PRD/PLAN paths under features/ into a source_context envelope with artifact identity. Reject path traversal and paths outside features/. Use when invoking adt-read-sdd-artifact or normalizing SDD artifact reads for child handoffs.
---

# Skill: adt-read-sdd-artifact

## Trigger
**Negative signal:** applies as defined in `_shared/skill-boilerplate.md`; the skill-specific signals are listed below.


Invoke when the consumer asks for skill **`adt-read-sdd-artifact`** (host forms: `/adt-read-sdd-artifact`, `$adt-read-sdd-artifact`, `use skill adt-read-sdd-artifact`, OpenCode `skill({ name: "adt-read-sdd-artifact" })`), or needs a normalized **`source_context`** envelope for FEATURE / STORY / PRD / PLAN under `features/`.

## Outcome

- Happy path: one **`source_context`** envelope with artifact **identity** (kind, portable path, feature slug, story id when applicable, file name).
- Fail path: **no** partial envelope — precise reject reason (`path_traversal`, `outside_features`, `absolute_path_forbidden`, `unsupported_kind`, `not_found`, `empty_path`, `invalid_portable_path`, or a named storage-manifest/root failure).
- Consumers that already hold `source_context` for a path **skip** opaque re-read to rediscover identity (REQ-005). Read the required current content when executing or reconciling a step.

## Lazy-load (only when needed)

| When | Path (after agent sync) |
|------|-------------------------|
| Portable path / features layout | `{{TOOLKIT_ROOT}}/skills/_shared/sdd-artifacts/STORAGE.md` |
| Dynamic manifest / repository-global root resolution (only when resolving storage) | `{{TOOLKIT_ROOT}}/skills/_shared/sdd-artifacts/STORAGE-RESOLUTION.md` |
| Direct vs orchestrated context | `{{TOOLKIT_ROOT}}/skills/_shared/sdd-artifacts/INVOCATION-CONTEXTS.md` |
| Selective retrieval | `{{TOOLKIT_ROOT}}/skills/_shared/sdd-artifacts/SELECTIVE-RETRIEVAL.md` |
| Invocation handoff (orchestrated) | `{{TOOLKIT_ROOT}}/skills/_shared/sdd-artifacts/INVOCATION-CONTEXTS.md` |
| Reference index (routing only) | `{{TOOLKIT_ROOT}}/skills/adt-read-sdd-artifact/reference.md` |
| Process step detail (lazy) | `{{TOOLKIT_ROOT}}/skills/adt-read-sdd-artifact/references/<section>.md` |

**Never by default:** do not preload all `references/*.md`, full PRD/PLAN bodies beyond the single target path, `memory-bank/`, TRACE emitters, or unrelated pipeline skill bodies. Load **one** section per Process step (`SKILL-REFERENCE-RETRIEVAL.md`).

## Reference routing

| Situation | Path |
|-----------|------|
| Envelope schema + kinds | `references/envelope-schema.md` |
| Normalize / validate path | `references/normalize-path.md` |
| Build envelope + consume + report | `references/build-consume-report.md` |
| Must not (full) | `references/must-not.md` |

## Rule ID

`RSA-SOURCE-CONTEXT`

## Process

Read `references/<section>.md` for procedural detail — **not** full `reference.md`.

### 0. Resolve invocation context once

Resolve `invocation_context` at the start from `INVOCATION-CONTEXTS.md`, after the read-only gate. Keep it for this invocation and report it when producing a handoff. Do not infer it from FEATURE/STORY/CONTINUITY/REFINE/tasks/Memory Bank or change it because a sibling is present.

### Caveman Mode
**NEVER** — Ignore `caveman_mode`. Keep reject reasons and envelope fields exact. Do not load `CAVEMAN.md` for compression.

### 0. Read-only gates
This skill is **read-only**. Do **not** require `write_confirmed` / new-artifact `sim` to resolve a path. Do **not** Write/Delete.

### 1. Normalize input path
Follow `references/normalize-path.md`.

### 2–4. Build envelope, consume, report
Follow `references/envelope-schema.md` then `references/build-consume-report.md`.

## Must not

Enforce the full list in `references/must-not.md`. Critical: no partial `source_context` on fail; no `..` / OS absolute / outside `features/`; no CONTINUITY/ANALYSIS/ARCH/SEC/CHANGE/memory-bank kinds.

## Handoff

- Pipeline / O3 children: pass `source_context` in the scoped handoff so consumers reuse identity and load only the relevant current content
- Next authoring skills stay `adt-sdd-spec` / `adt-sdd-plan` / `adt-sdd-develop` by id — this skill only normalizes reads

Files in this skill

  • SKILL.md4.2 KB
  • reference.md559 B
  • references/build-consume-report.md827 B
  • references/envelope-schema.md1.3 KB
  • references/must-not.md451 B
  • references/normalize-path.md2.2 KB

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 ai-agents →

Comments

Loading comments…

Newsletter

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