Add comprehensive GitHub Copilot instructions in Traditional Chinese for efficient code development #44
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a comprehensive
.github/copilot-instructions.mdfile in Traditional Chinese to significantly improve GitHub Copilot's effectiveness when working with this WordPress LMS plugin codebase.What this solves
GitHub Copilot agents often struggle with this project due to its complex architecture:
declare(strict_types=1)Without proper guidance, agents frequently:
pnpm run bootstrapsetup steplint:php,lint:ts)Key sections included
核心建置與驗證指令 (Essential Build & Validation Commands): Complete build pipeline from bootstrap through release, with timing and dependency warnings.
關鍵程式碼標準 (Critical Code Standards): Enforced requirements like
declare(strict_types=1), PSR-4 namespacing (J7\PowerCourse), and Traditional Chinese comments.專案架構 (Project Architecture): Clear directory structure, key configuration files, and monorepo dependency relationships.
常見驗證問題 (Common Validation Pitfalls): Documented solutions for frequent build failures, linting errors, and validation issues.
依賴項目與外部系統 (Dependencies & External Systems): WordPress/WooCommerce requirements, Powerhouse plugin integration, and external API usage.
The instructions are written in Traditional Chinese to align with the project's requirement for Chinese documentation, while keeping all technical commands, file paths, and code examples in their original format. This should significantly reduce failed builds, improve code quality consistency, and accelerate development velocity for any GitHub Copilot agents working on this codebase.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.