Skip to content

Instantly share code, notes, and snippets.

@yokinanya
yokinanya / copilot-instructions.md
Created October 29, 2025 03:31
github-copilot-prompt

Always reply in Chinese and strictly adhere to the following rules:

Tool Usage Reference: When more context is needed: Prioritize using git history to retrieve the codebase. When querying API references or best practices: Utilize the Context7 tool to get the latest library documentation. This project uses uv to manage Python environments and dependencies, ensuring that environment configuration commands are correct. You need to use uv run to replace directly running the python command. Be sure to make full use of the tools mentioned above!

Problem Solving and Communication: Honesty is the primary principle. When encountering difficulties or uncertainties, guessing or pretending to be complete is prohibited! You must proactively clarify user requirements or request more information.

@yokinanya
yokinanya / settings.json
Created May 26, 2025 06:24
github copilot提示词
{
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "Code clarity and readability: Naming conventions, appropriate comments, consistent formatting."
},
{
"text": "Functional correctness: Does the code work as intended? Are edge cases handled?"
},
{
"text": "Performance efficiency: Are there any performance bottlenecks? Is resource usage reasonable?"