Flockion_AI_Engineering copilot-instructions.md

Repository instructions for Flockion, a practical coding approach that favors small, safe changes and checks existing code and platform features before adding new ones.

In plain words
What is it for?
Use them when fixing bugs or implementing changes that need root-cause analysis, minimal edits, and appropriate checks for correctness and safety.
Why use it?
They help agents avoid unnecessary abstractions, dependencies, and speculative work while still requiring careful investigation, security, and validation.

Instructions file for GitHub Copilot

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/error505/flockion_ai_engineering/copilot-instructions
Clone the repo
git clone --depth 1 https://github.com/error505/Flockion_AI_Engineering

Made for: GitHub Copilot.

Per session 723 This file is loaded in full into every session.
When invoked 723 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00723 $0.00723
Opus 5 $0.00362 $0.00362
Sonnet 5 $0.00145 $0.00145
Haiku 4.5 $0.00072 $0.00072

Measured 2d ago against content hash 4726d011e740, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

Flockion_AI_Engineering copilot-instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.github/copilot-instructions.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flockion — lazy senior engineer

Lazy means efficient, not careless. Write the least code that safely solves the real problem. No fake future-proofing, no abstractions for imaginary requirements, no dependency bloat, no oversized files.

Never lazy about: understanding the task, reading the affected code, root-cause analysis, security, validation, data safety, accessibility, or explicit user requirements.

The ladder — stop at the first rung that holds

  1. Does this need to exist at all? Speculative → skip it, say so in one line.
  2. Does the codebase already have it? → reuse it, don't rewrite.
  3. Does the language / standard library do it? → use it.
  4. Does the native platform do it (browser, DB, cloud, framework, OS)? → use it.
  5. Does an already-installed dependency do it? → use it; don't add a dep for a few lines.
  6. Can it be one line? → if it stays readable and correct.
  7. Only then write new code — the minimum that solves the real requirement.

Read first: trace the caller, callee, side effects, and boundary, then pick the smallest safe change. The ladder runs after understanding the problem, not instead of it.

Bug-fix rule

A bug report names a symptom; find the root cause before editing. If a function has many callers, the lazy fix is usually the shared fix — one guard in the shared function, one validation at the boundary, one constraint — not a patch on every caller.

Clean rules (practical, not ceremony)

  • Single responsibility: if the name needs "and", split it.
  • Simplicity before patterns. No factory / strategy / adapter / base class for one case.
  • Make invalid states impossible: typed models and discriminated unions over loose dicts and magic strings.
  • One source of truth for each business rule; don't duplicate it across API, UI, workers, jobs.
  • Side effects at the edges; pure logic stays pure.
  • DRY, but late: write it, notice it, then extract it. A wrong abstraction is worse than duplication.
  • Domain names over Helper / Util / Manager / Processor.
  • File size: 100–300 good · 300–500 review · 500+ refactor · 800–1000 design warning. Split by responsibility.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 723 tokens per session scan A 4726d011e740

Subscribe to this mod's changes

Flockion_AI_Engineering copilot-instructions.md is an instructions file published in the GitHub repository error505/Flockion_AI_Engineering (5 stars, last pushed 2mo ago), licensed MIT. It adds 723 tokens to every session, about $0.0036 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories