Development

What to Include in a WordPress Plugin Development Brief

A WordPress plugin development brief should explain the outcome, who may do what, which data is authoritative, how the feature changes state, and what evidence would make you accept the work. It should also name unresolved decisions and the person responsible for making them.

“Build an approval workflow” is a feature label. A developer still needs to know what waits for approval, what remains public, who can approve it, and what happens when the underlying content changes. Those answers define different products, even if their screens look similar.

You do not need to design the database before asking for help. You do need to distinguish an agreed product rule from a question that requires investigation.

Write a WordPress plugin development brief around one outcome

Start with the smallest useful change in behavior. Name the people who benefit and the existing work it replaces. Then describe a complete path through the feature, including a refusal or exception.

The following resource-directory example is hypothetical. It is a proposed product contract, not an implemented plugin, client story or tested result.

A team maintains public resource listings. Contributors need to propose corrections without immediately changing published information. A directory reviewer can accept or reject a proposal within the section they oversee. Visitors continue seeing the current published listing until an authorized acceptance succeeds.

For the first release, the owner excludes public anonymous submissions, email notifications, external synchronization and bulk changes. Those may be useful later; they are not necessary to prove this correction workflow.

The brief names a directory owner to decide the product rules, a developer to propose and verify their implementation, and a release owner to decide whether the accepted change may reach the live site. These responsibilities can belong to the same person, but they should not remain implicit.

Fill in the behavior before choosing the storage

The proposed feature has two different records: the published listing and a correction proposal. A pending or rejected proposal does not become the published source of truth.

Each proposal identifies its target listing, the listing version it was based on, its proposed field values, its proposer and its decision state. “Version” means a comparison token the implementation must maintain reliably. It does not assume that WordPress revisions already provide this workflow or conflict check.

DecisionFilled example requirementDecision owner
Product outcomeContributors can request corrections while visitors retain the last accepted listing.Directory owner
Allowed changesFirst release permits a description and opening-hours correction; listing identity and section are not editable through a proposal.Directory owner
AuthorityContributors can submit and view their own proposals; assigned reviewers can view and decide proposals only within their sections. No permission follows solely from a role name or access to a screen.Directory owner
Public truthThe current listing is public; pending, rejected and stale proposals are separate administrative records.Directory owner
Acceptance ruleApply the proposed values only if the reviewer is authorized and the current listing version still matches the proposal's base version.Directory owner
Decision recordRetain the proposal, final decision, decision actor and resulting listing version under an agreed retention policy.Directory owner
Delivery boundaryDemonstrate the behavior on an isolated fixture; the release owner accepts the release plan separately.Release owner

WordPress roles group capabilities. Its capability-check reference also describes checks that depend on a particular object. The brief must therefore specify the actual action and listing scope, rather than assume that “Editor” means “can approve every correction.” These platform concepts do not implement the hypothetical product policy automatically.

The developer can now investigate how these records fit the existing directory plugin and content model. Choosing storage before discovering those constraints could produce a separate copy of data that the real directory never reads.

Turn five scenarios into acceptance evidence

Use the same ordinary fixture throughout: listing L has accepted version7; proposals P and Q both refer to that version. The numbers are illustrative labels, not observed database records.

ScenarioExpected outcome and authorityEvidence to requestDecision owner
Normal acceptanceAn assigned reviewer accepts P while L is still version7. P becomes accepted and L contains exactly P's allowed values at a new version.Before/after listing and proposal records, named actor, and the public listing view.Directory owner
Unauthorized decisionA contributor who may propose corrections cannot accept P. P and L remain unchanged and no accepted result is reported.Refused decisions by a contributor and by a same-role reviewer assigned to another section, through every supported decision interface; unchanged proposal and listing records.Directory owner
Stale proposalAfter P changes L, Q still references version7. Acceptance of Q is refused as stale; it does not overwrite the newer listing.Ordered P-then-Q and overlapping decisions from the same base version: at most one proposal applies and one new listing version is accepted; its fields retain the winning values. The losing proposal remains unapplied and explicitly stale, available for deliberate revision or rejection.Directory owner
RejectionAn assigned reviewer rejects a pending proposal. Its decision state changes; the published listing does not.Proposal decision plus an unchanged listing comparison.Directory owner
Operational handoffA maintainer can explain pending/stale states, reproduce the acceptance fixture, and identify the person who authorizes a release or data-removal action.A walkthrough using the delivered instructions and fixture, not merely possession of a ZIP.Release owner

Ask the developer to explain how the stale-version rule holds when two decisions overlap. A screen that checked version7 earlier is not evidence that a later write still checks it. Similarly, repeating the acceptance of an already accepted proposal must return its recorded outcome or a deliberate refusal; it must not apply the change again. Request before/after observations of that repeated acceptance showing no second field write or listing-version change, with the original decision record preserved. The brief sets those requirements without prescribing an unverified SQL or locking design.

“Looks right in the admin screen” is insufficient when a second interface can decide the same proposal. List those interfaces explicitly, and require the same authority and state rules wherever the operation is exposed.

Copy this complete plugin development brief worksheet

Fill the cells in plain language. Mark unknowns as unknown; do not fill them with assumptions to make the document appear finished.

Brief sectionYour answer
Outcome and beneficiaryWho needs what changed behavior, and what current work will it replace?
First-release boundaryWhat complete workflow is included? Which related features are explicitly excluded?
Existing installationWhich content/plugin owns the current feature? Who can verify WordPress, PHP, dependencies, hosting and relevant configuration? Record observed evidence or mark it unknown.
Actors and authorityWho may initiate, view and decide each operation, on which resources? Who owns the policy decision?
States and transitionsFor each operation: prior state, trigger, required permission, accepted state, refused state and repeated-operation behavior.
Authoritative dataWhich record owns each field? What is a proposal or projection? Which identifier and version bind a change to its target?
InterfacesWhich admin screens, public views, background jobs or APIs exist? Which are excluded? How do the same rules apply across included interfaces?
Ordinary failuresWhat happens when data is missing, a proposal is stale, an operation repeats, or two decisions overlap? What must remain unchanged?
Acceptance evidenceWhich named fixture proves each rule? What records, views and observations must be delivered? Who accepts them?
Data lifecycleWhat is retained, exported, anonymized or deleted, by whom and on whose approval? Distinguish disabling the feature from removing its data.
Compatibility and releaseWhich environment must be supported and verified? Who approves the release, observes it and decides recovery actions?
Maintenance and ownershipWho receives source, setup instructions, change history, fixture and support responsibility? Which future changes require a new agreement?
Unknowns and next decisionFor each unknown: why it affects scope, the evidence needed, the person deciding, and whether discovery must precede implementation.

Keep a short decision log alongside the worksheet: question → chosen rule → owner → supporting evidence → unresolved consequence. A changed rule should update its scenarios and acceptance evidence, not just its introductory paragraph.

Separate discovery from an implementation commitment

In the hypothetical directory project, the team might not know whether another plugin edits listings outside the proposed workflow. That unknown affects both the authoritative version and the acceptance boundary. Commission a bounded investigation of those write paths before treating the conflict rule as an agreed implementation plan.

Discovery should produce evidence and a decision: for example, a verified list of listing writers and a recommendation about where the version check belongs. It should not quietly turn into permission to rebuild the directory.

Implementation can be discussed concretely once the critical behavior and decision owners are agreed and the remaining unknowns are bounded. There is no useful universal readiness percentage. A missing decorative choice and an unknown authority model have different consequences.

If the main question is what is wrong with an existing system, use a code-audit evidence agreement instead of disguising an investigation as a fixed feature request.

Agree on lifecycle and ownership before handoff

Define what happens to pending and decided proposals during an upgrade, temporary deactivation, export and permanent removal. Retention and removal are owner decisions to implement and verify, not automatic benefits of calling something a plugin. WordPress documents uninstall separately from deactivation; that distinction does not choose the correct data policy for this project.

For this example, temporary deactivation should leave listings and proposal history intact. Permanent-removal behavior remains blocked until the directory owner chooses a retention/export/removal policy and names the approving person. No developer should infer destructive cleanup from an unanswered worksheet cell.

The expected handoff includes the agreed brief and decision log, source and setup instructions, the reproducible acceptance fixture, known limitations and release/support ownership. The legacy PHP handover guide explains a broader continuity exercise; a new plugin brief can define its future handoff without pretending that delivery has already happened.

For an unclear requirement, scope a focused WordPress development review around the blocking decision and evidence needed. When those decisions are settled, hands-on implementation can be commissioned against the same scenarios rather than a fresh interpretation of the feature label.