tibursocampos/agent-dev-toolkit / core/skills/read-sdd-artifact
read-sdd-artifact
VerifiedResolve 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 read-sdd-artifact or normalizing SDD artifact reads for child handoffs.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 4.0 KB |
| reference.md | markdown | 551 B |
| references/build-consume-report.md | markdown | 827 B |
| references/envelope-schema.md | markdown | 1.0 KB |
| references/must-not.md | markdown | 451 B |
| references/normalize-path.md | markdown | 1.5 KB |
references/normalize-path.md
View on GitHub## Normalize input path
1. Trim whitespace; reject if empty → `empty_path`.
2. Normalize separators to `/`.
3. Reject OS absolute (`^[A-Za-z]:/` or leading `\\`) and user-home InstallRoot embeds → `absolute_path_forbidden`.
4. Reject any `..` segment → `path_traversal`.
5. Require a path-**segment** `features/` (`(^|/)features/`, not substring `myfeatures/`) with a following `NNN-slug` → else `outside_features`.
6. Match one canonical kind table row (see `references/envelope-schema.md`) → else `unsupported_kind`.
7. Resolve the active repository's `repositories[$Cwd].classic` from the effective InstallRoot manifest per `STORAGE-RESOLUTION.md`. Require the portable prefix for the configured mode: `features/` in `repository`, or the prefix mapped from this exact `classic.path` in `global`. Resolve only under that manifest-selected feature root. Missing/invalid manifest, unsupported mode, mismatched global prefix, or an escaped `classic.path` is a storage-resolution failure; never fall back to another root.
8. Treat `features_versioned` as Git tracking policy only. Use direct filesystem access for the canonical path so a present repository artifact remains readable when Git ignores `features/`; do not use `git ls-files` or another tracked-file enumeration.
9. In `global`, a local repository copy is a decoy. In either mode, sibling presence/content cannot change `invocation_context` or promote a sibling to authoritative input. Missing file → `not_found` (still **no** envelope).
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack." | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |
| ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt. | Stars: 196k | Updated | Claude CodeCodex | Verified | Install |