drift-finding-message-authoring
Skill14 starsChanged 7 months agoMITView on GitHub
Write and review reason and next_action strings in Drift signal files. Use when authoring a new signal, sharpening existing finding messages, or reviewing unclear finding output for actionability and clarity.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- llms.txtllms.txt
- brainstormingSkill
- drift-adr-workflowSkill
- drift-agent-prompt-authoringSkill
- drift-commit-pushSkill
- drift-dependency-updateSkill
- drift-docs-gap-fixSkill
- drift-evidence-artifact-authoringSkill
- drift-ground-truth-fixture-developmentSkill
- drift-mcp-repo-ops-usageSkill
- drift-pr-review-loopSkill
- drift-pr-reviewSkill
- drift-releaseSkill
- drift-risk-audit-artifact-updatesSkill
- drift-security-triageSkill
- drift-session-handover-authoringSkill
- drift-signal-development-full-lifecycleSkill
- fix-failing-actionsSkill
- grill-meSkill
- guard-src-drift-apiSkill
- guard-src-drift-commandsSkill
- guard-src-drift-ingestionSkill
- guard-src-drift-outputSkill
- guard-src-drift-signalsSkill
- guard-src-driftSkill
- improve-codebase-architectureSkill
- prd-to-issuesSkill
- self-improving-agentSkill
- simplify-and-hardenSkill
- skill-creatorSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- tddSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- workspace-automation-orchestratorSkill
- write-a-prdSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 9 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈9
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use this skill to write and review reason and next_action strings that are precise, actionable, and consistent with existing Drift finding …
- Distinctive: line 38
Name the code pattern directly: Prefer the observed structure or smell over abstract category labels.
- Distinctive: line 40
Keep output concise: Do not expand the message into explanation prose that belongs in docs or triage notes.
- Very specific: line 47
Read the current reason and next_action from the target signal file under src/drift/signals/.
- Distinctive: line 49
If one field is missing, treat that as a failure and author the missing field from the signal's actual detection logic.
- Distinctive: line 59
Do not mark a criterion as passed without checking the literal wording.
- Distinctive: line 68
no new claims not supported by the signal
- Distinctive: line 69
no schema or field-name changes
- Distinctive: line 70
no more than 2 sentences per field
- Distinctive: line 91
Before concluding, verify all of the following:
- Distinctive: line 98
If any check fails, revise the strings before returning them.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Drift Finding Message Authoring
Use this skill to write and review reason and next_action strings that are precise, actionable, and consistent with existing Drift finding output.
When To Use
- a new signal needs initial finding text
- an existing signal has unclear, vague, or non-actionable messages
- the ROADMAP task to sharpen finding explanations is being worked through
- a community report says a finding is confusing or hard to act on
Not For
- changing scoring, thresholds, or signal heuristics
- inventing new finding facts not supported by the signal logic
- rewriting output schemas or CLI formatting
- broad documentation work outside the signal file itself
Quality Criteria
| Criterion | Pass condition |
| Cause specificity | Names the concrete code pattern, not a category |
| Jargon-free | Understandable without reading Drift docs |
| Actionability | next_action can be executed immediately |
| Length | Each field is at most 2 sentences |
| No hedging | Avoids phrases like "consider", "may", "possibly", or "might want to" |
Core Rules
- Preserve factual meaning. Improve clarity and actionability without changing what the signal actually detected.
- Name the code pattern directly. Prefer the observed structure or smell over abstract category labels.
- Make the next step concrete.
next_actionshould tell the user exactly what to inspect, consolidate, remove, or move. - Keep output concise. Do not expand the message into explanation prose that belongs in docs or triage notes.
- Review both fields together. A strong
reasonwith a vaguenext_action, or the reverse, is incomplete.
Standard Workflow
1. Load The Existing Strings
Read the current reason and next_action from the target signal file under src/drift/signals/.
If one field is missing, treat that as a failure and author the missing field from the signal's actual detection logic.
2. Evaluate Against The Quality Criteria
Assess each criterion with this format:
✅ passor❌ fail- quote the exact failing phrase when a criterion fails
- explain the failure in one sentence tied to the criterion
Do not mark a criterion as passed without checking the literal wording.
3. Produce An Improved Version
Rewrite both fields so they keep the same factual content while improving clarity, specificity, and actionability.
Constraints:
- no hedging language
- no new claims not supported by the signal
- no schema or field-name changes
- no more than 2 sentences per field
4. Emit Diff-Ready Output
Return the result in this exact structure:
BEFORE
reason: "[original text]"
next_action: "[original text]"
AFTER
reason: "[improved text]"
next_action: "[improved text]"
CHANGES
- [one bullet per change explaining what was fixed and why]5. Final Review
Before concluding, verify all of the following:
- the improved
reasonnames a concrete pattern or behavior - the improved
next_actiontells the user what to do next without soft verbs - neither field exceeds 2 sentences
- the rewrite does not introduce facts absent from the signal logic
If any check fails, revise the strings before returning them.
Review Checklist
- The skill is being used for finding-message authoring, not signal logic changes
- The existing strings were read from the actual signal file
- Each quality criterion was evaluated explicitly
- Failing phrases were quoted verbatim
- The improved text preserves factual meaning
next_actionis concrete and immediately executable- The result is formatted as BEFORE / AFTER / CHANGES
References
.github/instructions/drift-policy.instructions.md.github/instructions/drift-prompt-engineering.instructions.md.github/skills/drift-signal-development-full-lifecycle/SKILL.mdsrc/drift/signals/ROADMAP.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

