Claude-skill-registry instruction-creator
Create and manage high-quality custom instruction files for GitHub Copilot. Use when you need to define new project-specific guidelines, workflows, or coding standards in the instructions/ directory.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/instruction-creator" ~/.claude/skills/majiayu000-claude-skill-registry-instruction-creator && rm -rf "$T"
manifest:
skills/data/instruction-creator/SKILL.mdsource content
Instruction Creator
This skill guides the creation of effective custom instruction files that help GitHub Copilot follow project conventions and domain-specific logic.
Workflow
- Define Scope: Identify the purpose and the files the instructions should apply to (e.g.,
).**/*.ts - Initialize: Use the
script to create the boilerplate.scripts/init_instruction.pypython skills/instruction-creator/scripts/init_instruction.py "my-new-instruction" --description "Description here" --applyTo "**/*.ext" - Draft Content: Follow the guidelines to fill in the sections.
- Use Templates: Refer to templates for standard structures.
- Semantic Linking: Ensure you link to relevant Skills in the
section.Workflow- Example:
To perform [Task], execute the [Skill Name](skills/<skill-name>/SKILL.md).
- Example:
- Validate: Test the instructions with Copilot to ensure they are clear and actionable.
Core Principles
- Policy Maker: Instructions define the "What" and "How" (decision logic and standards).
- The 5 Sections: Effective instructions include: Overview, Tech Stack, Structure, Guidelines, and Resources.
- Concise & focused: Avoid fluff; use imperative language. Limit files to ~500 lines.
- Actionable: Provide concrete "Good" and "Bad" code examples and clear steps.
- Linked: Connect instructions to the skills that execute them and internal automation scripts.
Resources
- Guidelines: Detailed rules for frontmatter, style, and linking.
- Templates: Ready-to-use markdown structures.
: Automation for creating new files.scripts/init_instruction.py