Keeping the decision log for a feature and, before each entry, answering the two questions that make it trustworthy: where the decision came from — the user, the repository, an organisational standard or the agent — and whose it was to take. Use when a technology is about to be chosen for a feature, when "the project already uses X" is being treated as a reason to use X, when a corporate standard is being asserted without a source, when an agent is about to commit to a database, a broker, a c...
Scanned 9/19/2026
Install to Claude Code
npx -y skills add robsonkades/agent-skills --skill feature-decision-analysis --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Feature Decision Analysis?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/robsonkades-feature-decision-analysis)More formats (shields.io, HTML) on the badges page.
---
name: feature-decision-analysis
description: >
Keeping the decision log for a feature and, before each entry, answering the two questions
that make it trustworthy: where the decision came from — the user, the repository, an
organisational standard or the agent — and whose it was to take. Use when a technology is
about to be chosen for a feature, when "the project already uses X" is being treated as a
reason to use X, when a corporate standard is being asserted without a source, when an agent
is about to commit to a database, a broker, a contract or a security model on its own
judgement, when a decision taken during implementation contradicts one taken during planning,
or when nobody can say who decided something. Does not evaluate the options
(feature-solution-analysis) and does not own the decision-record format, reversibility pricing
or supersession discipline (architecture-decision-making).
---
# Feature Decision Analysis
## Purpose
The damaging decisions in a feature are rarely the ones someone argued about. They are the ones
that were never noticed as decisions: a broker chosen because it appeared in the build file, a
retention period invented because a number was needed, a "corporate standard" that was one
team's habit.
This skill makes **provenance** and **authority** explicit. Record missing sources or authority as
unresolved rather than claiming supported acceptance. An unresolved feasibility question does not
prevent documenting a proposal or continuing independent work.
## Workflow
1. **Notice consequential choices**, including defaults that affect the feature's contracts
or constraints. Inspect the relevant existing log, accepted baseline and policy before adding an
entry. Do not inventory every naming alternative; the categories are below.
2. **Assign provenance** from the four classes. This is a question of fact and it is checkable
(`references/provenance-and-authority.md`).
3. **Assign accountable authority** from the consequence: Product, Engineering, Architecture,
Security, Data, Operations, Compliance, Finance, or another named role. Participation is not
approval.
4. **Check existing authorization first.** User instructions, accepted decisions and delegated
authority can already cover the choice. Reuse that evidence without asking again. If a
material choice lies outside it, record a proposal and the specific unresolved authority;
prepare a concrete option and continue independent work before asking a focused question.
5. **If it is agent-owned**, take it, state it and move on. Agent ownership is limited to local,
reversible choices inside accepted constraints, plus choices explicitly delegated by the
user or applicable policy. Escalating every low-impact decision is
its own failure: it trains the user to stop reading.
6. **Record proposals and outcomes as they arise**, with their actual status. Use the depth rule below
to decide whether a log entry suffices or an ADR is warranted. Link pending feasibility checks;
recording a proposal does not authorize its dependent commitment.
7. **When later evidence contradicts it**, first determine whether the premise is invalidated or the
implementation violates a still-valid decision. Correct the deviation, or supersede the decision
with supported authority and evidence; preserve history and update affected downstream work.
## Provenance — the four classes
| Class | Means | Established by |
| ---------------------- | ------------------------------------------------- | ----------------------------------------------------------------------------- |
| **USER_MANDATED** | The user required it | Their message, quoted |
| **CORPORATE_MANDATED** | An applicable organisational standard requires it | Attributed confirmation or authoritative policy with issuer, scope and status |
| **PROJECT_EXISTING** | The project already does it this way | `path:line`, with a count |
| **AGENT_PROPOSED** | The agent originated the proposal | The analysis behind it |
**The rule the whole skill exists for: PROJECT_EXISTING never promotes itself.** Finding Kafka
in the build file establishes a declared dependency; runtime use needs wiring/consumer evidence.
Neither establishes that this
feature must, that the organisation requires it, or that the user wants it. The promotion from
"observed" to "required" needs an applicable instruction or policy, not repetition in code.
When reuse is inside the agreed scope, state the evidence and proceed:
> The project runs Kafka for shipping events (`pom.xml:104`, two consumers under
> `src/main/java/.../shipping`). The accepted scope permits reuse; I will apply that convention
> and record topic ownership and retention checks. If these reveal a new commitment outside
> the authorization, I will surface that specific decision.
When the decision is a technology choice — a library, a store, a broker, a protocol, anything new
to run — read `references/technology-questions.md` for the areas where such a choice hides and
for how to ask about one without smuggling the answer into the question.
## Authority
**Agent-owned** choices are local, reversible, observable in review, and inside confirmed constraints:
naming, private structure, file placement within an established convention, or straightforward reuse.
Explicit task authorization can delegate broader implementation choices; record its scope rather
than inventing an additional approver or treating role labels as proof of authority.
Everything else names the role authorised for its consequence. Product owns behavior and value;
Engineering/Architecture own solution and system boundaries; Security/Privacy/Compliance own their
obligations; Data owns shared semantics/retention where established; Operations owns support/SLO
commitments; Finance owns material spend. One person may hold several roles, but the record names the
role rather than relying on “the user”.
## Decision rules
```text
IF a consequential decision is outside established authorization
THEN record PROPOSED/PENDING with its missing authority and blocked dependent action;
use an accepted GAP-* only within its stated scope, never as invented approval.
IF a technology appears in the repository and is relevant to the feature
THEN report it as PROJECT_EXISTING. Ask only when reuse changes externally visible behaviour,
ownership, cost, policy, or reversibility beyond existing authorization; otherwise proceed
under the accepted constraints and established convention.
IF someone asserts an organisational standard
THEN record the assertion and check its issuer, scope, status and authority. Attribution alone
does not verify a mandate; retain the missing evidence rather than silently adopting it.
IF a decision is hard to reverse
THEN check whether existing authorization covers that consequence; do not infer authority
from its being a small code change or a configurable number.
IF a decision is taken under time pressure or with a known unknown
THEN record the unknown alongside it, so the decision is re-openable when it closes.
IF implementation reveals the decision was wrong
THEN identify the invalidated premise and supported replacement, supersede with links and update
affected work. A code deviation alone is not evidence that the decision should change.
IF a Product Definition or contract revision changes the premise of a decision
THEN mark the ED-* stale and revisit affected downstream work; continue independent work.
IF a decision is being revisited
THEN locate its existing record and changed premises before creating a duplicate.
```
## What earns a record of its own
Technology, API contracts, persistence, messaging, concurrency, resilience, security and deployment
often contain consequential choices, but the category alone does not require an ADR. Follow local
policy and use `architecture-decision-making` when cross-boundary consequences, costly reversal or
otherwise lost rationale warrant a separate record. Link an existing ADR when it already covers the
choice; a bounded implementation detail may need only a concise log or issue rationale.
Usually no: local naming, method extraction, test file layout, anything a reader would learn
faster from code. A version change within an allowed range can still affect runtime/API behavior;
inspect resolved versions, toolchains and compatibility evidence before classifying it as routine.
The test is not importance. It is **whether the next person would otherwise have to re-derive
it, and get it wrong**.
## Output
Use the existing decision log and identifier convention, appended to as the feature proceeds. A small
Inline feature can retain a concise entry without creating a dossier solely for this skill.
The examples below are illustrative, not claims about the current repository:
```text
ED-04 Dispatch events are published to the existing Kafka cluster
Category: messaging
Provenance: USER_MANDATED (round 2: "reuse the cluster we already run")
Owner: Architecture — accepted 2026-09-03
Status: ACCEPTED; authority/acceptance linked in ADR-002
Consulted: Product, Operations
Options: see analysis.md, choice "how the dispatch is delivered"
Record: decisions/ADR-002-dispatch-transport.md
Depends on: U-03 (resolved), SC-01 (no new infrastructure)
ED-05 Dispatch retry policy within the accepted 30s request deadline
Category: resilience
Provenance: AGENT_PROPOSED
Owner: Engineering — delegated implementation within ED-03 deadline/load constraints
Status: PROPOSED; request-budget and duplicate-effect checks pending
Because: at most three attempts including the initial call; per-attempt timeout
and backoff/jitter must fit the remaining deadline, with retryable
failures and duplicate-effect protection established by CT-02
Verification: PLANNED — timeout/lost-response cases; request budget and downstream load
Record: this log entry; within ED-03/CT-02, no separate ADR required by local policy
```
Every entry carries provenance, authority evidence and status. An unresolved source remains
unknown in a pending record; never invent a mandate or relabel someone else's choice as yours.
Before handoff, check IDs, source/revision links, authority and status consistency. Decision acceptance
and implementation verification are separate: an authorized choice is not proof that it works, and a
passing test does not supply approval. Material feasibility gaps keep dependent commitment blocked
unless valid accepted-gap authority covers it. Report the missing evidence, next check and affected
work; record observed validation separately from planned checks.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!