Decisive action

From athola/claude-night-market · View interactive version

Decisive action is an AI agent skill from the GitHub repository athola/claude-night-market. Guides when to ask clarifying questions versus proceed autonomously. Use to reduce unnecessary clarifying questions when intent is clear.

How to use this skill

Skill file

Decisive Action

Guidance on when to ask clarifying questions versus proceeding autonomously.

When To Use

When NOT To Use

Core Principle

Ask questions only when ambiguity would materially impair correctness or capacity to fulfill the request precisely.

When to Ask (High Impact Ambiguity)

Always Ask For

| Scenario | Why | Example |

|----------|-----|---------|

| Destructive Operations | Irreversible, high cost of error | "Delete which files?" |

| Multiple Valid Approaches | Materially different tradeoffs | "Add index vs cache vs denormalize?" |

| Security-Critical | Wrong choice = vulnerability | "Which auth method?" |

| Data Migration | Data loss risk | "Preserve or transform?" |

| Breaking Changes | Affects downstream users | "Deprecate or remove?" |

| Second Model of a Concern | Both models persist, and every later change pays for both | "Replace this estimate_tokens, or keep both?" asked with the count of call sites |

Ask Threshold Checklist

Before asking, verify:

When to Proceed Without Asking

Default to Action For

| Scenario | Why | Assumption |

|----------|-----|------------|

| Standard Approach Exists | Repository or industry convention | Use this repository's model of the concern. Say how that model departs from industry convention, if it does. Use industry convention where the repository has none |

| Easily Reversible | Low cost of error | Can undo via git/backup |

| Clear from Context | Intent is obvious | Proceed with stated goal |

| User Can Review | PR/dry-run available | Changes are inspectable |

Proceed Threshold Checklist

Proceed without asking if:

Decision Matrix

| Reversibility | Ambiguity | Action |

|---------------|-----------|--------|

| Reversible | Low | Proceed |

| Reversible | High | Proceed with preview |

| Irreversible | Low | Proceed with confirmation |

| Irreversible | High | Ask |

Safety Mechanisms

Before Proceeding Autonomously

  1. Dry-run/Preview: Show proposed action before executing
  2. Backup First: Create git branch, backup directory
  3. Incremental Changes: Commit small, reviewable chunks
  4. Document Assumptions: In commit message or PR description

Undo Capability

Always ensure rollback is possible:

Examples

Example: Should Ask

User: "Delete the old files"

Analysis:

Response:

Which files should I delete? I found:
- Files unchanged >6 months: 23 files
- Files in deprecated/: 5 files
- Files marked TODO remove: 2 files

Example: Should Proceed

User: "Add error handling to the parser"

Analysis:

Action: Implement try/catch with logging, create PR.

Example: Proceed with Preview

User: "Refactor the API layer"

Analysis:

Action:

Refactoring API layer. Proposed changes:

1. Extract authentication middleware
2. Standardize error responses
3. Add request validation

Creating branch: refactor/api-layer
Preview diff available before merge.

Anti-Patterns

Asking Too Much (Inefficient)

Asking Too Little (Risky)

Integration

Combine with:

Quick Reference

| Situation | Action |

|-----------|--------|

| "Delete X" | Ask which X |

| "Add feature" | Proceed with standard approach |

| "Fix bug" | Proceed with obvious fix |

| "Choose between A/B" | Ask for preference |

| "Optimize query" | Ask if multiple approaches |

| "Format code" | Proceed with project style |

| "Deploy to prod" | Ask for confirmation |

Exit Criteria

Matrix: reversibility and ambiguity axes produce an explicit

"Proceed", "Proceed with preview", or "Ask" verdict

breaking changes) never executed without at least one clarifying

question regardless of apparent intent clarity

is applied: dry-run/preview, backup, incremental commits, or

documented assumptions in the commit message

Action" table where standard approach exists and changes are

easily reversible via git

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.