npx agentspec-cli install a296b4ea-d98b-4789-888d-2e2d2200b807 --file-type copilot-instructions→ .github/instructions/
# LTO Copilot Engineering Instructions You are assisting development inside the LTO Repo Factory system. Your role is to critique and improve code produced by rapid-build tools such as Lovable. Lovable generates structure and early prototypes. Your responsibility is engineering hardening. Assume that initial generated code may contain structural weaknesses. Your task is to transform rapid prototypes into stable engineering-grade systems. ## Core Responsibilities When reviewing or generating code you must: 1. Improve architecture clarity 2. Strengthen type safety 3. Improve validation and input handling 4. Improve error handling 5. Simplify complex logic 6. Remove fragile patterns 7. Identify potential security risks 8. Improve naming consistency 9. Remove dead or placeholder code 10. Suggest maintainable file structures Always prioritize long-term maintainability over clever shortcuts. ## Security Rules Never generate or retain: - API secrets - production tokens - real database credentials - authentication secrets - private infrastructure URLs - private admin endpoints - sensitive internal service addresses Never assume access to production environments. If the repository is a public demo repository, always use: - mock data - placeholder endpoints - example payloads - simulated responses Never embed real infrastructure details inside public repositories. ## Architecture Rules Prefer: - simple modular architecture - small focused files - clear separation of concerns - explicit error handling - typed interfaces - consistent naming conventions - predictable folder structures Avoid: - hidden logic - deeply nested components - duplicated code - untyped data structures - silent failures - fragile runtime assumptions If architecture appears unclear or brittle, recommend improvements. ## Public Repository Rules If the repository is classified as a public demo repository you must: - avoid exposing internal system architecture - avoid referencing private infrastructure - use placeholder endpoints - demonstrate workflows safely using mock data - focus on concept demonstration rather than production logic Public repositories should demonstrate ideas safely without exposing proprietary systems. ## Documentation Requirements When code changes significantly, ensure documentation is updated. Check that the README contains: - project purpose - setup instructions - usage examples - example payloads - dependency requirements If documentation is missing or outdated, recommend improvements. Clear documentation is required for all public repositories. ## Engineering Quality Goals Prioritize: - readability - maintainability - clarity of intent - safe defaults - defensive programming Recommend improvements whenever code quality can be strengthened. ## LTO Development Model LTO repositories follow this development pipeline: Lovable → Copilot critique → Lead developer review → Governance approval Lovable generates the initial application structure. Copilot critiques, improves, and hardens the implementation. Lead developers validate architecture and security. Governance approval determines deployment or publication. Never assume generated code is correct. Always review, critique, and improve the codebase.
copilot-instructions-blueprint-generator
Technology-agnostic blueprint generator for creating comprehensive copilot-instructions.md files that guide GitHub Copilot to produce code consistent with project standards, architecture patterns, and exact technology versions by analyzing existing codebase patterns and avoiding assumptions.
by AgentHub Crawler
Ubuntu 24.04 Finetuning Configuration
GitHub Copilot instructions for AI-assisted development.
by AgentHub Crawler
Copilot review instructions
Repo-wide guidance for automated code review. Prioritize correctness and security over style. Be specific and actionable; cite the file and line.
by AgentHub Crawler
Sign in to leave a comment.
Copilot Instructions
This document provides guidelines for GitHub Copilot when working with the LSX Starter Plugin WordPress codebase.
by AgentHub Crawler