Instruction file imported from SynEdgy/synedgy.universal.helper (
.github/instructions/ai-instruction-authoring.instructions.md). Copyright stays with the author.
AI Instruction Authoring
These files are AI-only. No human-facing prose, tutorials, or rationale. Meant to reduce token usage, eliminate conflicting information and ensure precise, clear, concise guidance.
Rules
- Write short imperative directives. Bullet lists over prose.
- Remove filler words, redundant qualifiers, repeated context.
- Omit why unless the reason changes behaviour.
- Check existing instructions before adding rules. Update existing rules on conflict; never duplicate.
- Use narrowest
applyToglob possible. Never**/*when a specific path suffices.ApplyToattribute must be a string, never an array. - Start each file, except copilot-instructions.md and **/AGENTS.md, with YAML
frontmatter
applyTo - Use
##/###headings,-bullets, backticks for code tokens, fenced blocks for multi-line examples. - No bold/italic emphasis, conversational tone, or verbose examples.
- Prefer using ASCII characters in most authored files (instructions, prompts, skills, AGENTS.md, copilot-instructions.md). Non-ASCII characters (em-dashes, smart quotes, Unicode arrows, etc.) in PowerShell source files trigger PSScriptAnalyzer rule
PSUseBOMForUnicodeEncodedFileand in CHANGELOG.md they breakImport-PowerShellDataFileon Windows PowerShell 5.1. Use plain ASCII:->not->,-not--, straight quotes, hyphens instead of dashes.