agentleFS
yigitkonuryigitkonur/cli-continues/.github/copilot-instructions.md

cli-continues

Copilot instructions1.6k starsChanged 8 months agoMITView on GitHub

Trending

Quiet since June.thin dataabout the whole repository

Dec 2025: 0 mentionsJan 2026: 0 mentionsFeb 2026: 2 mentionsMar 2026: 0 mentionsApr 2026: 0 mentionsMay 2026: 0 mentionsJun 2026: 1 mentionJul 2026: 0 mentionsAug 2026: 0 mentionsSep 2026: 0 mentionsOct 2026: 0 mentionsNov 2026: 0 mentions
Dec 2025Jun 2026Nov 2026
Mentions a month of the yigitkonur/cli-continues repository that our weekly crawl found: only 3 in all, so this is a hint, not a trend. There is no adoption data for this file yet.

The file

We split this copilot-instructions.md into the rules it gives an agent

6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All local imports must use .js extensions, even for .ts source files: import { foo } from './bar.js'

    line 10
  2. Very specific:

    Never use require() — this is an ESM-only codebase ("type": "module" in package.json)

    line 11
  3. Very specific:

    Use process.exitCode = N instead of process.exit(N) — allows cleanup handlers to run

    line 12
  4. Very specific:

    Use typed errors from src/errors.ts (ParseError, SessionNotFoundError, ToolNotAvailableError) for user-facing error paths — not bare throw …

    line 16
  5. Very specific:

    Every SessionSource member in src/types/tool-names.ts must have a registered ToolAdapter in src/parsers/registry.ts

    line 21
  6. Very specific:

    No synchronous file I/O (readFileSync, writeFileSync) in parser code — blocks the event loop when scanning large session directories

    line 28

≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
copilot-instructions.md

continues — Code Review Standards

Read-Only Semantics

  • Session data is NEVER modified. Any PR that writes to ~/.claude/, ~/.codex/, ~/.copilot/, ~/.gemini/, ~/.factory/, ~/.cursor/, or ~/.local/share/opencode/ is a critical bug.
  • Handoff files (.continues-handoff.md) write only to the project's own working directory — never to tool storage paths.

ESM Conventions

  • All local imports must use .js extensions, even for .ts source files: import { foo } from './bar.js'
  • Never use require() — this is an ESM-only codebase ("type": "module" in package.json)
  • Use process.exitCode = N instead of process.exit(N) — allows cleanup handlers to run

Error Handling

  • Use typed errors from src/errors.ts (ParseError, SessionNotFoundError, ToolNotAvailableError) for user-facing error paths — not bare throw new Error()
  • Parsers must silently skip malformed session data with catch {} — never propagate parse errors to the caller

Registry Completeness

  • Every SessionSource member in src/types/tool-names.ts must have a registered ToolAdapter in src/parsers/registry.ts
  • The completeness assertion at the bottom of registry.ts throws at module load if any adapter is missing — a missing entry crashes the CLI at startup
  • Adding a tool to TOOL_NAMES without a registry entry is always a bug; changes to SessionSource require coordinated updates in the registry, fixtures, and tests

Code Quality

  • Biome handles all formatting and style — do not introduce ESLint, Prettier, or TSLint configs
  • No synchronous file I/O (readFileSync, writeFileSync) in parser code — blocks the event loop when scanning large session directories
  • Shared helpers cleanSummary, extractRepoFromCwd, and homeDir live in src/utils/parser-helpers.ts — do not duplicate them in individual parsers

Performance

  • Parsers run in parallel via Promise.allSettled in the session index builder — a slow parser delays only its own results
  • The session index uses a 5-minute TTL cache at ~/.continues/sessions.jsonl — cache bypasses should be explicitly justified

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.