Skip to content

Comments

config(github): add agents and instructions files#14

Merged
shouze merged 1 commit intomainfrom
config-github-add-copilot-agents-and-instructions-files
Feb 21, 2026
Merged

config(github): add agents and instructions files#14
shouze merged 1 commit intomainfrom
config-github-add-copilot-agents-and-instructions-files

Conversation

@shouze
Copy link
Contributor

@shouze shouze commented Feb 21, 2026

No description provided.

Copilot AI review requested due to automatic review settings February 21, 2026 11:04
@shouze shouze self-assigned this Feb 21, 2026
@github-actions
Copy link

Coverage after merging config-github-add-copilot-agents-and-instructions-files into main will be

97.45%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   aggregate.ts100%100%100%100%
   api.ts100%100%100%100%
   group.ts100%100%100%100%
   output.ts98.91%100%94.74%99.39%45
   render.ts97.20%100%100%97.14%142–145
   upgrade.ts77.01%100%88.89%75.64%128, 130–132, 79–93
src/render
   filter.ts100%100%100%100%
   highlight.ts99.29%100%100%99.01%184–185
   rows.ts100%100%100%100%
   selection.ts100%100%100%100%
   summary.ts100%100%100%100%

@shouze shouze force-pushed the config-github-add-copilot-agents-and-instructions-files branch from 300131d to 4a85929 Compare February 21, 2026 11:05
@github-actions
Copy link

Coverage after merging config-github-add-copilot-agents-and-instructions-files into main will be

97.45%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   aggregate.ts100%100%100%100%
   api.ts100%100%100%100%
   group.ts100%100%100%100%
   output.ts98.91%100%94.74%99.39%45
   render.ts97.20%100%100%97.14%142–145
   upgrade.ts77.01%100%88.89%75.64%128, 130–132, 79–93
src/render
   filter.ts100%100%100%100%
   highlight.ts99.29%100%100%99.01%184–185
   rows.ts100%100%100%100%
   selection.ts100%100%100%100%
   summary.ts100%100%100%100%

@shouze shouze merged commit 02cc28a into main Feb 21, 2026
4 checks passed
@shouze shouze deleted the config-github-add-copilot-agents-and-instructions-files branch February 21, 2026 11:06
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive documentation for AI coding agents working in the repository. It introduces an AGENTS.md file at the root and three task-specific instruction files in .github/instructions/ to guide Copilot through refactoring, feature implementation, and bug fixing workflows.

Changes:

  • Added AGENTS.md documenting project structure, runtime/toolchain, architectural principles, and development workflow
  • Added refactoring.instructions.md with step-by-step guidance for refactoring tasks
  • Added implement-feature.instructions.md with step-by-step guidance for implementing new features
  • Added bug-fixing.instructions.md with step-by-step guidance for fixing bugs

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
AGENTS.md Comprehensive agent documentation covering project overview, toolchain, architecture, file structure, and development practices
.github/instructions/refactoring.instructions.md Structured guidance for refactoring tasks with architectural boundaries and validation steps
.github/instructions/implement-feature.instructions.md Structured guidance for feature development with layering rules and testing requirements
.github/instructions/bug-fixing.instructions.md Structured guidance for bug fixes with root cause analysis and verification steps

bun test --watch # re-run on file changes (development)
```

All tests use Bun's built-in test runner (`@jest/globals`-compatible API: `describe`, `it`, `expect`). No additional testing library is needed. The setup file is `src/test-setup.ts` (referenced in `bunfig.toml`).
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description of the test API is misleading. Tests import from "bun:test", not from "@jest/globals". While Bun's test API is jest-compatible, the actual import source should be accurately documented as "bun:test" to help developers understand the toolchain.

Suggested change
All tests use Bun's built-in test runner (`@jest/globals`-compatible API: `describe`, `it`, `expect`). No additional testing library is needed. The setup file is `src/test-setup.ts` (referenced in `bunfig.toml`).
All tests use Bun's built-in test runner, importing from `bun:test` (API compatible with `@jest/globals`: `describe`, `it`, `expect`). No additional testing library is needed. The setup file is `src/test-setup.ts` (referenced in `bunfig.toml`).

Copilot uses AI. Check for mistakes.
bun install # install dependencies (reads bunfig.toml + package.json)
```

`bunfig.toml` sets `smol = true` (lighter install). No additional setup step is needed.
Copy link

Copilot AI Feb 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The statement that "bunfig.toml sets smol = true (lighter install)" is inaccurate. The current bunfig.toml file only contains test-related configuration and does not include a smol setting.

Suggested change
`bunfig.toml` sets `smol = true` (lighter install). No additional setup step is needed.
`bunfig.toml` currently only contains test-related configuration (e.g. test setup file). No additional setup step is needed.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant