build-data-dictionary
Skill4 starsChanged 3 months agoMITView on GitHub
WHEN/WHERE/WHO: [Scheduling: Database designers, business analysts, or agents analyzing forms, reports, or data-heavy requirements.] HOW: [Structural: Use this SKILL to extract domain nouns from text and map them into a strict Data Dictionary (Element Name, Data Type, Length, Allowed Values).] WHY: [Scheduling: Ambiguous data definitions cause integration failures between systems.]
In this repository61 other files it gives its agents.
- activate-personalSkill
- analyze-with-tactics-questionnairesSkill
- apply-agile-testing-quadrantsSkill
- apply-architectural-tacticsSkill
- apply-attribute-driven-designSkill
- apply-fundamentals-of-data-visualizationSkill
- apply-oopsi-modelSkill
- apply-screenplay-patternSkill
- apply-specification-by-exampleSkill
- blog-topic-discoverSkill
- build-agent-memory-systemsSkill
- build-business-objectives-modelSkill
- build-feature-treeSkill
- comment-alive-test-driven-developmentSkill
- conduct-event-stormingSkill
- create-ecosystem-mapSkill
- create-living-documentationSkill
- create-skill-from-bookSkill
- CREATING-SKILL-TEMPLATESkill
- define-architectural-driversSkill
- define-bounded-contextsSkill
- define-ubiquitous-languageSkill
- design-agentic-screenplay-modelSkill
- design-agent-perception-layersSkill
- design-agent-planningSkill
- design-agent-reward-functionsSkill
- design-agents-using-patternsSkill
- design-architecture-viewpointsSkill
- design-autonomous-ai-interfacesSkill
- design-ddd-aggregatesSkill
- design-tool-use-sandboxingSkill
- document-architectural-decisionsSkill
- document-legacy-codebaseSkill
- doc-with-usage-exampleSkill
- draft-srs-documentSkill
- elicit-requirements-modelsSkill
- evolve-skill-with-wikiSkill
- extract-business-rulesSkill
- facilitate-example-mappingSkill
- facilitate-user-story-mappingSkill
- implement-agent-observabilitySkill
- implement-agent-reflectionSkill
- improve-existing-skillSkill
- improve-user-storySkill
- managing-ai-projectsSkill
- orchestrate-multi-agent-collaborationSkill
- prioritize-requirementsSkill
- review-c4-modelSkill
- review-data-engineeringSkill
- save-as-skillSkill
- scaffold-cmake-cxx-sanitize-gtest-envSkill
- skill-commonSkill
- task-commit-triggerSkill
- test-case-with-demoSkill
- test-case-with-readmeSkill
- test-driven-developmentSkill
- UnitTesting-convert2CaTDDSkill
- update-my-resumeSkill
- update-spec-contextSkill
- validate-requirements-criteriaSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 5 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter …
- Distinctive: line 47
Transfer Check: Verify the workflow still works for forms, reports, API specs, and user-story-driven data analysis.
- Distinctive: line 48
Stop Rule: If the input contains no specific data fields, stop and ask before drafting the dictionary.
- Very specific: line 52
If a data type or length is unknown, mark it as TBD (To Be Determined).
- Distinctive: line 55
If the input text contains no specific data fields (e.g., "The system shall be fast"), stop and inform the user that a Data Dictionary …
- Distinctive: line 83
Verify that complex data structures are fully decomposed into primitives.
- Very specific: line 84
Ensure no fields are left entirely blank (use TBD if unknown).
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Build Data Dictionary
Common Contract (Load First)
When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter rules, anti-pattern guidance, and the Review In Mind loop in review-in-mind. This skill adds only domain-specific rules below.
Who
Database Designers, Business Analysts, and AI Agents. The agent uses this skill to formalize data definitions before database schemas are written.
What
This skill implements the Data Dictionary methodology from Software Requirements (3rd Edition). It scans requirements text for domain nouns (data elements) and constructs a table that defines:
- Data Element: The name of the primitive or structure.
- Description: What it means in the business domain.
- Data Type: String, Integer, Date, Boolean, etc.
- Length: Maximum size.
- Allowed Values: Enums, ranges, or constraints.
When
Invoke this skill when analyzing UI forms, report specifications, or any requirement involving data input/output. Trigger phrases include: "build a data dictionary," "define the data types," "what are the allowed values for this," or "extract the data model."
Where
Applies to PRDs, report mockups, UI wireframes, and API specifications.
Why
A requirement that says "The user shall enter their address" is incomplete. A developer needs to know: Is State a 2-letter abbreviation or the full name? Is Zip Code 5 digits or 9? The Data Dictionary answers these questions definitively.
Inputs
- Functional requirements, user stories, or UI/report descriptions.
Output (Logical Evidence)
- A markdown table representing the Data Dictionary.
Optimization Readiness
- Failure Signals: Complex data structures remain undecomposed, primitive fields are left without definitions, guessed storage details sneak into the table, or unknown lengths are invented instead of flagged.
- Evidence To Collect: Extracted nouns, structure breakdowns, dictionary tables, and examples where TBD markers or assumptions were used appropriately.
- Safe Mutation Boundaries: Refine noun-extraction guidance, decomposition rules, table formatting, and assumption-marking policy without changing the core dictionary-building workflow.
- Acceptance Criteria: Accept revisions only if every complex structure is decomposed, every field has a clear definition, and unknown values are marked
TBDinstead of guessed. - Rejected Revision Handling: Record schema-specific guesses, empty-field patterns, and incomplete decompositions so they are not repeated.
- Transfer Check: Verify the workflow still works for forms, reports, API specs, and user-story-driven data analysis.
- Stop Rule: If the input contains no specific data fields, stop and ask before drafting the dictionary.
Constraints (Logical Boundaries)
- Distinguish between Primitive Data Elements (e.g.,
FirstName) and Data Structures (e.g.,Address = Street + City + State + ZipCode). - If a data type or length is unknown, mark it as
TBD(To Be Determined). Do not guess database-specific implementations (likeVARCHAR(255)) unless explicitly stated; use logical types likeString (Max 50).
One More Thing
If the input text contains no specific data fields (e.g., "The system shall be fast"), stop and inform the user that a Data Dictionary requires data elements to define.
How (Structural Workflow)
Phase 1: Noun Extraction
- Scan the text for nouns that represent data the system must store, process, or transmit (e.g., "Customer," "Order Date," "SKU").
Phase 2: Structural Breakdown
- Identify which nouns are complex Data Structures and break them down into their constituent Primitive Data Elements.
Phase 3: Definition Definition
- For each primitive element, define its Description, Data Type, Length, and Allowed Values. Infer reasonable defaults based on domain knowledge if missing, but clearly mark assumptions.
Phase 4: Formatting
- Output the extracted data using the Data Dictionary Format table.
Resources
- Data Dictionary Format
Review In Mind (ReviewInMindGenie)
Execute the common review loop in review-in-mind before delivering.
Review lens for this skill:
- Are all domain nouns extracted, and is each defined with type, length, and allowed values?
- Are ambiguous definitions flagged rather than guessed?
- Is the dictionary internally consistent (no duplicate names with conflicting types)?
Validation
- Verify that complex data structures are fully decomposed into primitives.
- Ensure no fields are left entirely blank (use
TBDif unknown).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

