You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ applyTo: '**'
7
7
## Environment
8
8
9
9
-**Work in:** Remote GitHub Codespaces only. Never suggest local terminal commands.
10
-
-**WordPress:** 6.5+ minimum
10
+
-**WordPress:** 6.6+ minimum
11
11
-**PHP:** 8.1+ minimum (use typed properties, readonly, enums, union types, named arguments)
12
12
-**WooCommerce:** 5.0+ (guaranteed active — no activation checks needed)
13
13
-**WP Store Locator:** (guaranteed active — no activation checks needed)
@@ -58,7 +58,7 @@ All security rules are **mandatory and non-negotiable**.
58
58
- GitHub Actions workflows live in `.github/workflows/`
59
59
-**Gemini AI integration:** Code review and issue analysis via Google Gemini API. Sanitize all user-controlled content (diffs, issue bodies) before passing to LLM prompts.
-**Security:** Never expose API keys or tokens in logs. Use `${{ secrets.* }}` for credentials. Add timeouts to external API calls. Fail builds on critical security findings.
63
63
-**Error handling in workflows:** Do not suppress tool failures with `|| echo`. Log full output and set appropriate exit codes.
0 commit comments