generate-domain-instructions

Generate per-domain .instructions.md files from a domain map.

Updated Mar 4, 2026
One-click install
npx skills add https://github.com/vndkubi/bootstrap-toolkits --skill generate-domain-instructions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate-domain-instructions
Source: https://github.com/vndkubi/bootstrap-toolkits/tree/main/.github/skills/generate-domain-instructions
Command: npx skills add https://github.com/vndkubi/bootstrap-toolkits --skill generate-domain-instructions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically generates domain-scoped .instructions.md files from a codebase analysis, ensuring consistent guidance across domains and reducing manual drafting.

Core Features & Use Cases

  • Generate one .instructions.md file per domain from a domain map produced by the codebase analyzer.
  • Ensure each file is compact (≤ 4KB) and tailored to the domain by applying narrow patterns.
  • Integrate with a domain registry to align domains and domain relationships across modules.
  • Ideal for enterprise projects with 5+ domains and multi-module structures.

Quick Start

Run the tool on your codebase analysis results to generate per-domain instruction files.

Frequently Asked Questions about generate-domain-instructions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate domain instructions from a codebase analysis?

To generate domain instructions from a codebase analysis, you input a domain map and domain registry reference. The tool then produces one compact .instructions.md file per domain, extracting business rules, entities, patterns, and glossary.

What are domain instruction files and when do I need them for multi-module codebases?

Domain instruction files are per-domain .instructions.md documents providing consistent guidance across modules. You need them for multi-module codebases to automate drafting and ensure domain-specific business rules and patterns are uniformly applied.

Can I generate per-domain instruction files for enterprise projects with multiple modules?

Yes, you can generate per-domain instruction files for enterprise projects with 5+ domains and multi-module structures. The tool aligns domains and relationships across modules using a domain registry, ensuring tailored guidance.

How do I keep generated .instructions.md files compact and targeted?

To keep generated .instructions.md files compact and targeted, the tool limits each output file to 4KB or less. It uses narrow applyTo patterns to ensure the guidance remains specifically tailored to its intended domain.

What inputs are required to automate domain-scoped instruction generation?

Automating domain-scoped instruction generation requires a domain map from codebase analysis and a domain registry reference. These inputs allow the tool to align domain relationships and accurately produce per-domain instruction files.

Does manual drafting of domain instructions not scale well for large codebases?

Manual drafting of domain instructions does not scale well for large codebases due to inconsistency and effort. Generating domain-scoped .instructions.md files from code analysis reduces manual drafting and ensures consistent guidance across domains.