| file_type | instructions | |||||
|---|---|---|---|---|---|---|
| title | Instruction File Template | |||||
| description | Generic instruction file skeleton and best practices for creating LightSpeedWP instruction files | |||||
| scope | repo-local | |||||
| version | v1.0 | |||||
| last_updated | 2026-05-29 | |||||
| owners |
|
|||||
| tags |
|
|||||
| applyTo |
|
|||||
| status | active |
Use this template when creating new instruction files. Instruction files guide AI assistants and developers on LightSpeed standards and workflows.
Create an instruction file when you need to:
- Document repeatable guidance or standards
- Provide context-specific rules for AI assistants
- Establish governance or best practices
- Create organization-wide or repo-local standards
All instruction files must include:
---
file_type: "instructions"
title: "Descriptive Title"
description: "One-sentence summary"
scope: "organization-wide" or "repo-local"
version: "v1.0"
last_updated: "YYYY-MM-DD"
owners: ["Team Name"]
tags: ["keyword1", "keyword2"]
applyTo: ["path/pattern/**"]
status: "active" or "draft"
---- Title (H1) — Same as frontmatter title
- Introductory sentence — What this file teaches
- Overview — High-level context and scope
- General Rules — Foundational principles
- Detailed Guidance — Section-by-section instructions
- Examples — Realistic examples
- Related Files — Cross-links to other instruction files
- Changelog (Optional) — Version history for major files
- Use UK English spelling (organisation, optimise, colour)
- Write in active voice
- Keep sentences concise
- Use bullet points for lists
- Include examples and counter-examples
- Link to related files and standards
- Avoid assumptions about reader knowledge
- organization-wide: Applicable to all LightSpeedWP projects; portable across repos
- repo-local: Specific to this
.githubcontrol plane or single repository
- instructions.instructions.md — Detailed authoring guidance
- documentation-formats.instructions.md — Markdown and frontmatter standards
- coding-standards.instructions.md — Code examples and conventions
Maintained by the 🤖 LightSpeedWP Automation Team