Skip to content

Automattic/wordpress-activitypub / .agents/skills/review

review

Verified

Shared base for reviewing a diff, a branch or a PR in this plugin. How to read the diff, which repo guidelines to load for the changed paths, and the shape of a finding. Used by the code-review and security-audit agents.

FileKindSize
SKILL.mdskill md6.6 KB
guidelines/accessibility.mdmarkdown759 B
guidelines/authorization.mdmarkdown4.9 KB
guidelines/content-exposure.mdmarkdown6.9 KB
guidelines/cron.mdmarkdown897 B
guidelines/inbox.mdmarkdown7.6 KB
guidelines/integrations.mdmarkdown2.0 KB
guidelines/multisite.mdmarkdown1018 B
guidelines/output.mdmarkdown3.3 KB
guidelines/remote-fetch.mdmarkdown6.4 KB
guidelines/signatures.mdmarkdown4.5 KB
guidelines/supply-chain.mdmarkdown596 B
judge.mdmarkdown1.3 KB

guidelines/multisite.md

View on GitHub
# Multisite

Data stored in tables that every site of a network shares.

Applies to: any new or changed `*_user_meta()`, `*_user_option()`, `*_site_option()` or `*_network_option()` call, `$wpdb->usermeta` queries, and `includes/class-migration.php`

- Users and user meta are shared by all sites of a network; posts, comments and options are per site. Data that belongs to one site is stored per site: a user option (key with `$wpdb->get_blog_prefix()`), an option, or post meta. Plain user meta is only for data that is the same for the user on every site.
- Lookups by key and reads use the prefixed key. `get_user_option()` falls back to the key without the prefix.
- `CUSTOM_USER_TABLE` and `CUSTOM_USER_META_TABLE` share user data between sites that are not multisite. Treat them like multisite.
- A migration runs once per site. A migration of shared data is safe on the second site, and per-site cleanup does not depend on finding the shared rows.
- The change has a test that also runs with `WP_MULTISITE=1`.
rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics.Stars: 471kUpdated Claude CodeCodexVerifiedInstall
ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first.Stars: 194kUpdated Claude CodeCodexVerifiedInstall