eai-gofer: Instructions file for GitHub Copilot

.github/instructions/typescript.instructions.md

eai-gofer typescript.instructions.md is an instructions file for GitHub Copilot from eai-support/eai-gofer. It costs 322 tokens per session, scanned A, original, Apache-2.0.

TypeScript development rules for the Gofer project, including its file structure, coding style, error handling, documentation, and tests. TypeScript is a programming language that adds checked types to JavaScript.

In plain words
What is it for?
Use them when writing or reviewing Gofer TypeScript, organizing files, documenting public code, handling asynchronous work, or adding tests before implementation.
Why use it?
They reduce common mistakes and keep code consistent with the project's strict settings and supported tools.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is eai-support/eai-gofer's own configuration. It tells GitHub Copilot how to work on eai-gofer itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything eai-gofer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to eai-support/eai-gofer. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/eai-support/eai-gofer/main/.github/instructions/typescript.instructions.md
Clone the repo
git clone --depth 1 https://github.com/eai-support/eai-gofer

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eai-gofer typescript.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/eai-support/eai-gofer/typescript/github.svg)](https://agentmods.dev/instructions/eai-support/eai-gofer/typescript)
Your own site
<a href="https://agentmods.dev/instructions/eai-support/eai-gofer/typescript"><img src="https://agentmods.dev/badge/instructions/eai-support/eai-gofer/typescript/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eai-gofer typescript.instructions.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/eai-support/eai-gofer/typescript"><img src="https://agentmods.dev/badge/instructions/eai-support/eai-gofer/typescript.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 322 This file is loaded in full into every session.
When invoked 322 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00322 $0.00322
Opus 5.5 $0.00129 $0.00129
Sonnet 5.5 $0.00064 $0.00064
Haiku 4.5 $0.00032 $0.00032

Measured 3mo ago against content hash 3fef96d17625, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

eai-gofer typescript.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 3mo 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.

.github/instructions/typescript.instructions.md · 48 lines

What it actually says

TypeScript Development Instructions

You are working on Gofer, a TypeScript project using:

  • TypeScript 5.9.3 with strict mode
  • Node.js 24+ (ES2022 modules)
  • VSCode Extension API
  • vscode-languageserver 9.0.1

Code Quality Standards

  1. Type Safety

    • Never use any type - use unknown and narrow with type guards
    • Always provide explicit return types for functions
    • Use interface over type for object shapes when possible
    • Prefer union types over enums for string literals
  2. Imports

    • Use ES6 imports (not require())
    • Use .js extension in imports for ESM compatibility
    • Group imports: external → project → relative
  3. Async/Await

    • Always use async/await over raw Promises
    • Handle errors with try/catch, not .catch()
    • Use Promise.all() for parallel operations
  4. Documentation

    • Add JSDoc comments for public APIs
    • Document parameters and return types
    • Include @throws for functions that can throw

File Structure

  • Keep files under 300 lines
  • One class/component per file
  • Export from index files for modules

Testing

  • Write tests before implementation (TDD)
  • Minimum 80% code coverage
  • Use descriptive test names: should [action] when [condition]
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. 3mo ago First seen · 48 lines · 322 tokens per session scan A 3fef96d17625

Subscribe to this mod's changes

eai-gofer typescript.instructions.md is an instructions file published in the GitHub repository eai-support/eai-gofer (1 stars, last pushed 9d ago), licensed Apache-2.0. It adds 322 tokens to every session, about $0.0013 per session on Opus 5.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

eai-gofer typescript.instructions.md compared with instructions from other repositories

eai-gofer typescript.instructions.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eai-gofer typescript.instructions.mdeai-support/eai-goferInstructions file19d agoApache-2.0A322GitHub Copilot
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deno copilot-instructions.mddenoland/denoInstructions file109kyesterdayMITA3,077GitHub Copilot