generate-path-instructions
OfficialGenerate scoped instructions for targeted context.
Software Engineering#automation#context management#code generation#instructions#copilot#path-specific
Authorcanonical
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill automates the creation of precise, context-aware instructions for specific parts of your codebase, preventing global instruction bloat and improving AI efficiency.
Core Features & Use Cases
- Scoped Instruction Generation: Creates
.github/instructions/*.mdfiles that load Just-In-Time (JIT) based on file paths. - Automated Analysis: Analyzes repository structure, identifies file patterns, and extracts scope-specific rules.
- Context Economics: Optimizes AI context by loading rules only when relevant, overriding global instructions with higher priority.
- Use Case: Automatically generate instructions for all Python test files, ensuring they follow specific testing conventions without polluting the global Copilot context.
Quick Start
Use the generate-path-instructions skill to create scoped instructions for all files matching the pattern 'tests/**/*.py'.
Dependency Matrix
Required Modules
None requiredComponents
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: generate-path-instructions Download link: https://github.com/canonical/copilot-collections/archive/main.zip#generate-path-instructions Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.