RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Copilot instructions/yigitkonur/cli-continues

Copilot instructions

.github/instructions/testing.instructions.md
Copilot instructions

Quality

56/100

Scores the file, not the repository.

Length

294 words

6 headings · 0 code blocks

Repository

1.4k

— · pushed 88 days ago

Last changed

3 days ago

First indexed 3 days ago.
yigitkonur/cli-continues/.github/instructions/testing.instructions.mdRawGitHub
1---
2applyTo: "src/__tests__/**/*.ts"
3---
4 
5# Test Review Guidelines
6 
7## Fixture-Based Testing
8 
9- Tests must NOT require real session files on the local machine — use fixture factories from `src/__tests__/fixtures/index.ts`
10- Each tool has a `create<Tool>Fixture()` factory that creates a temp directory with realistic session data
11- Ground fixture schemas in real session file formats — verify field names against actual tool storage before creating fixtures; do not invent schemas
12 
13## Conversion Coverage
14 
15- `unit-conversions.test.ts` is the primary suite — it must cover all N tools × (N-1) target conversion paths
16- Adding a new tool requires: a fixture factory AND conversion tests covering all N-1 directions (as both source and target)
17- PRs that add a new parser but do not update `unit-conversions.test.ts` are incomplete
18 
19## Test Quality
20 
21- Each test asserts ONE behavior — not multiple unrelated assertions bundled into a single test case
22- Test names should describe the scenario: `should extract session summary from Claude JSONL`
23- Tests must be independent — no shared mutable state between test cases
24- Use `beforeAll` / `afterAll` for fixture setup and cleanup (create temp dir → run tests → delete temp dir)
25 
26## Regression Tests
27 
28- Bug fixes must include a regression test that fails before the fix and passes after
29- PRs that modify parser logic without touching any test file should be flagged — the CI `test-quality` job will also flag this
30 
31## Performance
32 
33- Test timeout is 30 seconds (`vitest.config.ts`) — a test that times out indicates a parser with blocking or synchronous I/O
34- Excluded by vitest config: `e2e*`, `real-e2e*`, `stress*`, `injection*`, `parsers.test*` — these require a real environment and are not run in CI
35- Node.js 22+ is required; `node:sqlite` built-in is used by OpenCode/Crush fixtures — do not add third-party SQLite deps
36 

Commands it names

  • vitest.config.ts
  • node:sqlite

Sections

  • Test Review Guidelines
  • Fixture-Based Testing
  • Conversion Coverage
  • Test Quality
  • Regression Tests
  • Performance

What it covers

testtesting-strategygit-prperformance

Stack — with the evidence

typescript

(1.00)

vitest

(1.00)

biome

(1.00)

node

(0.95)

javascript

(0.60)

pnpm

(0.60)

github-actions

(0.60)

Glob targeting

  • src/__tests__/**/*.ts

Format

Copilot instructions

Two layers: one always-on repo file, plus optional glob-scoped instruction files. Lives under .github/ rather than the repo root, which is the tell that it is aimed at the GitHub platform surface as much as the editor.

What the corpus says about it

Repository

Owner
yigitkonur
Language
—
License
—
Archived
no

All configs in this repo

Also in yigitkonur/cli-continues

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
yigitkonur/cli-continues.github/copilot-instructions.md · 1.4kCopilot instructionstypescriptvitest+5lint-formatstylegitperformance+159/1003 days ago
yigitkonur/cli-continues.github/instructions/ci.instructions.md · 1.4kCopilot instructionstypescriptvitest+5setupbuildteststyle+482/1003 days ago
yigitkonur/cli-continues.github/instructions/parsers.instructions.md · 1.4kCopilot instructionstypescriptvitest+5testing-strategygitdo-not57/1003 days ago
yigitkonur/cli-continues.github/instructions/security.instructions.md · 1.4kCopilot instructionstypescriptvitest+5stylegitsecurity54/1003 days ago
yigitkonur/cli-continues.github/instructions/typescript.instructions.md · 1.4kCopilot instructionstypescriptvitest+5styletypesgitdo-not61/1003 days ago
yigitkonur/cli-continuesAGENTS.md · 1.4kAGENTS.mdtypescriptvitest+5testlint-formatstyletesting-strategy+387/1003 days ago
yigitkonur/cli-continuesCLAUDE.md · 1.4kCLAUDE.mdtypescriptvitest+5setupbuildteststyle+494/1003 days ago
Diff against .github/copilot-instructions.md Diff against .github/instructions/ci.instructions.md Diff against .github/instructions/parsers.instructions.md Diff against .github/instructions/security.instructions.md Diff against .github/instructions/typescript.instructions.md Diff against AGENTS.md Diff against CLAUDE.md

Similar configs

Same format, overlapping stack, ranked by quality.

Same format, overlapping stack, ranked by quality
RepositoryFormatStackCoversScoreChanged
louislam/uptime-kuma.github/copilot-instructions.md · 90kCopilot instructionstypescriptjavascript+10setupbuildtestlint-format+9100/1003 days ago
chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 63Copilot instructionstypescriptreact+7buildlint-formatstylearch+4100/1003 days ago
JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31kCopilot instructionstypescriptnode+7buildlint-formatstylearch+397/1002 days ago
thangaram611/second-brain.github/copilot-instructions.md · 0Copilot instructionstypescriptnode+12setupteststylearch+496/1003 days ago
nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32Copilot instructionstypescriptnode+8setupbuildtestlint-format+1196/1003 days ago
darkmatter/nixmac.github/copilot-instructions.md · 24Copilot instructionstypescriptrust+14setupbuildtestlint-format+896/1003 days ago
keycloak/keycloak.github/copilot-instructions.md · 36kCopilot instructionsjavanode+9setupbuildtestlint-format+693/1003 days ago
jnPiyush/AgentX.github/instructions/typescript.instructions.md · 14Copilot instructionstypescriptnode+5setuptestlint-formatstyle+592/1003 days ago
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack