home / skills / zenobi-us / dotfiles / storage-function-structure
/ai/files/skills/projectmanagement/storage-function-structure
This skill defines and enforces a clear storage function structure to organize artifacts and accelerate project planning.
npx playbooks add skill zenobi-us/dotfiles --skill storage-function-structureReview the files below or copy the command above to add this skill to your agents.
---
name: storage-function-structure
description: Define the structure and organization of storage functions within a project.
---
# File Structure for Project Planning Artifacts
- [Planning Artifact] are stored in dedicated directories based on their type, with each file named using a short hash and a descriptive title.
- These directories are typically stored in a parent folder. defer to the storage backend conventions for exact paths.
## Directory and File Naming Conventions
- Each planning artifact type has its own directory:
- `Prd/` for Product Requirements Documents
- `Epic/` for Epics
- `Spec/` for Specifications
- `Story/` for User Stories
- `Task/` for Tasks
- `Decision/` for Decisions
- `Research/` for Research Documents
- `Retro/` for Retrospectives
- Files within these directories are named using the format:
- `<short-hash>-<descriptive-title>.md`
```
Prd/
feca343-the-prd-title.md
Epic/
123e4567-an-epic-title.md
Spec/
89ab0123-a-spec-title.md
Story/
456def78-a-story-title.md
321cba98-another-story-title.md
334fed56-yet-another-story-title.md
Task/
789abc12-a-task-title.md
654ghi34-another-task-title.md
987jkl56-yet-another-task-title.md
Decision/
112mno78-a-decision-title.md
223pqr90-another-decision-title.md
334stu12-yet-another-decision-title.md
fff44455-a-fourth-decision-title.md
Ressearch/
445vwx34-a-research-title.md
556yzb56-another-research-title.md
667abc78-yet-another-research-title.md
778def90-a-fourth-research-title.md
Retro/
889ghi12-a-retro-title.md
990jkl34-another-retro-title.md
aabmno56-yet-another-retro-title.md
bbcpqr78-a-fourth-retro-title.md
ccdstu90-a-fifth-retro-title.md
```
This skill defines a clear structure and naming convention for storage functions that manage planning artifacts in a project. It prescribes dedicated directories per artifact type and a short-hash + descriptive-title filename pattern to ensure consistency and easy lookup. The guidance adapts to the target storage backend while keeping logical organization stable across environments.
The skill inspects the set of planning artifact types and enforces one directory per type (e.g., Prd, Epic, Spec, Story, Task, Decision, Research, Retro). It validates file names follow the <short-hash>-<descriptive-title>.md pattern and maps those directories into the configured storage backend using backend conventions for paths. It can be used to generate folder templates, validate existing layouts, and produce migration plans when reorganizing storage.
What length should the short hash be?
Use a short, collision-resistant hash (6–8 hex characters) that balances uniqueness and readability.
How do I handle artifacts that belong to multiple types?
Duplicate the artifact into each logical directory with cross-reference links, or keep a single canonical file and use lightweight pointers or metadata in the other directories.