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.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Adt Read Sdd Artifact?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tibursocampos-adt-read-sdd-artifact)
---
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