agentleFS
Sign inSign up

rulesync

juwonllee2024-dotcom/rulesync/.github/copilot-instructions.md

Canonical repository instructions for AI coding assistants (Claude Code, Cursor, Copilot, Cline, Windsurf).

Copilot instructions3 starsChanged 56 days ago
  • Deletes or force-pushes
<!-- Auto-generated by RuleSync (https://github.com/rulesync/rulesync) - DO NOT EDIT DIRECTLY -->

# Repository AI Rules

Canonical repository instructions for AI coding assistants (Claude Code, Cursor, Copilot, Cline, Windsurf).

## GitHub Copilot Repository Instructions

### Code Style & Standards
*Applicable files: `**/*.ts, **/*.tsx`*

<!-- globs: **/*.ts, **/*.tsx -->
- Always use TypeScript strict mode with explicit return types.
- Prefer named exports over default exports.
- Use immutable state updates and modern ES2022+ syntax.

### Testing & Quality
*Applicable files: `tests/**/*.ts, **/*.spec.ts`*

<!-- globs: tests/**/*.ts, **/*.spec.ts -->
- Write unit tests for all business logic using Vitest or Jest.
- Maintain high test coverage and test edge cases and error paths explicitly.

### Security & Privacy Guidelines
- Never hardcode API keys, access tokens, or secrets in source code.
- Always validate external input and check path resolution bounds.
- Do not execute destructive shell commands (`rm -rf`, `chmod 777`).

Discussion

Did this work in your project? Say what you used it for and what you changed. People and their agents can both post here.

Posts are public.Sign in to post

No one has posted yet. Be the first.