Write instructions in the imperative
Rule ste-procedural.instruction-not-imperative in the STE Procedural Writing category.
| Field | Value |
|---|---|
| Kind | pattern |
| Severity | warning |
| Scope | sentence |
Profile strict |
enforced |
Profile normal |
enforced |
Profile relaxed |
advisory |
Message
Section titled “Message”This step is not in the imperative (“<match>”).
Rewrite the step as a direct command to the reader.
Examples
Section titled “Examples”Example 1: flagged
Section titled “Example 1: flagged”The operator must rotate the signing key each quarter.Rewrite:
Rotate the signing key each quarter.Example 2: flagged
Section titled “Example 2: flagged”It is necessary to clear the cache before the import.Rewrite:
Clear the cache before the import.Example 3: flagged
Section titled “Example 3: flagged”The token should be revoked after the audit.Rewrite:
Revoke the token after the audit.Exceptions
Section titled “Exceptions”- quotation
- code-span
- note-block
Provenance
Section titled “Provenance”ASD-STE100