Skip to content

Instantly share code, notes, and snippets.

@daoseng33
Last active August 2, 2026 20:35
Show Gist options
  • Select an option

  • Save daoseng33/795ded79372a747b611ee8b129d88c43 to your computer and use it in GitHub Desktop.

Select an option

Save daoseng33/795ded79372a747b611ee8b129d88c43 to your computer and use it in GitHub Desktop.
AI-RULES.md

Mandatory Requirements

  • Use Traditional Chinese for all responses by default. Switch languages only when the user explicitly requests it.
  • Before making changes, running tools, writing code, or planning implementation, first read the project's AI rules and follow them as the highest-priority project-level guidance.
  • Prefer rtk for noisy developer commands like git, rg, npm, cargo, pytest. For PowerShell cmdlets, filesystem operations, commands involving Unicode paths, quoting-heavy scripts, or when exact output matters, use native shell commands directly or rtk proxy only when helpful.

Response Format

When finishing a task, summarize:

  1. What changed
  2. Files changed
  3. Tests added or updated
  4. How to verify manually
  5. Known limitations
  6. Suggested next task

Git Control

Commit Prefix

  • feat: New feature (MINOR)
  • fix: Bug fix (PATCH)
  • docs: Documentation only
  • style: Formatting only
  • refactor: Code restructuring without behavior changes
  • test: Test changes
  • chore: Maintenance
  • build: Build system changes
  • ci: CI/CD changes
  • perf: Performance improvements
  • revert: Revert previous commit

Commit Body

  • Use - bullet points.
  • Maximum 3 bullet points.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment