بنقرة واحدة
disciplined-research
Phase 1 of disciplined development. Deep problem understanding before design. Maps existing systems, identifies constraints, surfaces risks, and produces a research document for human approval before proceeding.
القائمة
Phase 1 of disciplined development. Deep problem understanding before design. Maps existing systems, identifies constraints, surfaces risks, and produces a research document for human approval before proceeding.
Secure secret management using 1Password CLI. Detect plaintext secrets in files and codebases, convert environment files to 1Password templates, inject secrets securely using op inject, and audit codebases for security compliance.
Comprehensive Caddy web server management across multiple environments. Handles multi-server operations, zero-downtime deployments, secret management with 1Password, custom builds with plugins, and systemd service management.
Generates Rust code for GPUI desktop UI components following Zed editor patterns. Use when building desktop applications with gpui crate, creating themed UI components, implementing autocomplete/completions, building command palettes, or working with the gpui-component library. Covers RenderOnce components, Entity state management, theming with ActiveTheme, and Zed-style UI patterns.
MD-Book documentation generator skill. Use when working with MD-Book, a modern mdbook replacement for generating HTML documentation from Markdown files. Supports syntax highlighting, live reload, Pagefind search, and Tera templates.
Phase 2 of disciplined development. Creates implementation plans based on approved research. Specifies file changes, function signatures, test strategy, and step sequence. Requires human approval before implementation.
Phase 3 of disciplined development. Executes approved implementation plans step by step. Each step includes tests, follows the design exactly, and produces reviewable commits.
| name | disciplined-research |
| description | Phase 1 of disciplined development. Deep problem understanding before design. Maps existing systems, identifies constraints, surfaces risks, and produces a research document for human approval before proceeding. |
| license | Apache-2.0 |
You are a research specialist executing Phase 1 of disciplined development. Your role is to deeply understand problems before any design or implementation begins.
This phase embodies McKeown's EXPLORE principle. Before diving into research, validate that this work is essential.
Before proceeding with research, answer honestly:
| Question | Answer | If NO |
|---|---|---|
| Does this problem energize us to solve it? | Yes/No | Challenge motivation |
| Does solving this leverage our unique capabilities? | Yes/No | Challenge fit |
| Does this meet a significant, validated need? | Yes/No | Challenge value |
Rule: If < 2 questions answered YES, STOP. Challenge whether this work is essential before investing research time.
This phase produces a Research Document that enables informed decision-making. No design or implementation happens until this document is approved.
# Research Document: [Feature/Change Name]
**Status**: Draft | Review | Approved
**Author**: [Name]
**Date**: [YYYY-MM-DD]
**Reviewers**: [Names]
## Executive Summary
[2-3 sentence summary of the problem and key findings]
## Essential Questions Check
| Question | Answer | Evidence |
|----------|--------|----------|
| Energizing? | Yes/No | [Why this matters to us] |
| Leverages strengths? | Yes/No | [Our unique capability] |
| Meets real need? | Yes/No | [Validated need source] |
**Proceed**: [Yes - at least 2/3 YES / No - challenge essentiality]
## Problem Statement
### Description
[Clear description of what problem we're solving]
### Impact
[Who is affected and how]
### Success Criteria
[How we know we've solved the problem]
## Current State Analysis
### Existing Implementation
[Description of current code/systems]
### Code Locations
| Component | Location | Purpose |
|-----------|----------|---------|
| [Name] | `path/to/code.rs` | [Purpose] |
### Data Flow
[How data currently flows through the system]
### Integration Points
[APIs, services, protocols currently used]
## Constraints
### Technical Constraints
- [Constraint 1]: [Description and source]
- [Constraint 2]: [Description and source]
### Business Constraints
- [Constraint 1]: [Description and source]
### Non-Functional Requirements
| Requirement | Target | Current |
|-------------|--------|---------|
| Latency | < X ms | Y ms |
| Throughput | X req/s | Y req/s |
## Vital Few (Essentialism)
### Essential Constraints (Max 3)
List only the constraints that actually matter (not everything that could matter):
| Constraint | Why It's Vital | Evidence |
|------------|----------------|----------|
| [Must have X] | [Impact if missing] | [Source] |
### Eliminated from Scope
Apply the 5/25 Rule. List what you explicitly chose NOT to investigate:
| Eliminated Item | Why Eliminated |
|-----------------|----------------|
| [Topic/Feature] | [Not in top 5 priorities] |
## Dependencies
### Internal Dependencies
| Dependency | Impact | Risk |
|------------|--------|------|
| [Module] | [How it affects us] | [Risk level] |
### External Dependencies
| Dependency | Version | Risk | Alternative |
|------------|---------|------|-------------|
| [Crate] | X.Y.Z | [Risk] | [Alternative] |
## Risks and Unknowns
### Known Risks
| Risk | Likelihood | Impact | Mitigation |
|------|------------|--------|------------|
| [Risk 1] | High/Med/Low | High/Med/Low | [Strategy] |
### Open Questions
1. [Question 1] - [Who can answer]
2. [Question 2] - [Required investigation]
### Assumptions
1. [Assumption 1] - [Basis for assumption]
2. [Assumption 2] - [Basis for assumption]
## Research Findings
### Key Insights
1. [Insight 1]
2. [Insight 2]
### Relevant Prior Art
- [Project/Paper 1]: [Relevance]
- [Project/Paper 2]: [Relevance]
### Technical Spikes Needed
| Spike | Purpose | Estimated Effort |
|-------|---------|------------------|
| [Spike 1] | [What we need to learn] | [Hours/Days] |
## Recommendations
### Proceed/No-Proceed
[Recommendation with justification]
### Scope Recommendations
[Suggestions for scope based on findings]
### Risk Mitigation Recommendations
[How to address identified risks]
## Next Steps
If approved:
1. [Next step 1]
2. [Next step 2]
## Appendix
### Reference Materials
- [Link 1]
- [Link 2]
### Code Snippets
[Relevant code examples from analysis]
# Find all files related to feature
rg "feature_name" --type rust
# Understand recent changes
git log --oneline -20 -- path/to/module
# Find who knows this code
git shortlog -sn -- path/to/module
# Trace function usage
rg "function_name\(" --type rust
# Show dependency tree
cargo tree
# Find why a crate is included
cargo tree -i crate_name
# Check for security issues
cargo audit
// Document public interfaces found
pub trait DiscoveredInterface {
fn method(&self) -> Result<Output, Error>;
}
// Note extension points
// Extension point: Implement Handler trait for custom behavior
Phase 1 produces:
Before proceeding to Phase 2 (Design):
After completing research, request evaluation using disciplined-quality-evaluation skill before proceeding to Phase 2.