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
Config files are committed as `.dist` versions; un-suffixed copies are gitignored and may not exist locally:
@@ -229,6 +247,10 @@ read them will produce `read:file_not_found`:
229
247
|`lib/`| Does not exist; use `inc/` for PHP code, `assets/` for frontend |
230
248
|`languages/`| Does not exist; i18n files are in `lang/`|
231
249
|`.env`, `.env.example`| Does not exist; no local env config stored in this repo |
250
+
|`inc/functions.php`| Does not exist as a single file; functions live in `inc/functions/*.php`|
251
+
|`inc/admin.php`| Does not exist; admin pages live in `inc/admin-pages/` and `inc/admin/`|
252
+
|`SECURITY.md`| Does not exist in this repo |
253
+
|`coverage-html/**`, `coverage.xml`| Generated by test:coverage run, gitignored, may be absent |
232
254
233
255
Always verify a file is tracked before reading it with `git ls-files '<path>'`. An empty result means the file does not exist in the repo.
234
256
@@ -240,8 +262,8 @@ guessing a docs URL from a package name) account for the majority of `webfetch:o
240
262
in this codebase.
241
263
242
264
Do **not** use webfetch for WordPress documentation, PHP manual pages, Stripe/PayPal API docs,
243
-
BerlinDB documentation, npm package docs, or any other developer documentation URLs — these
244
-
requests consistently fail.
265
+
BerlinDB documentation, WooCommerce docs, npm package docs, WP Plugin Handbook, or any other
266
+
developer documentation URLs — these requests consistently fail.
245
267
246
268
Do **not** use webfetch for GitHub URLs (issues, PRs, raw content, commits). Use the `gh` CLI
247
269
instead:
@@ -276,6 +298,23 @@ Do **not** read all files at session start and edit them later. The pattern `Rea
276
298
277
299
When working on multiple files in the same session: read each file immediately before editing it, not at the start of the session. Reading file A, then file B, then editing file A will fail if A's content changed between your read and your edit.
0 commit comments