MCP HubMCP Hub
SKILL·1210D0

Preserving Productive Tensions

obra
更新日 2 days ago
29 閲覧
751
169
751
GitHubで表示
その他general

について

このスキルは、開発者が意見の相違が早期の決断を強いるのではなく、文脈に応じた正当なアプローチを明らかにする場面を見極めるのに役立ちます。コスト対レイテンシーのように異なる優先事項を最適化する複数の実行可能な解決策を保持します。同等に有効な選択肢の間で揺れる際に、人為的に緊張を解消する代わりに柔軟性を維持するために使用してください。

クイックインストール

Claude Code

推奨
メイン
npx skills add obra/superpowers-skills -a claude-code
プラグインコマンド代替
/plugin add https://github.com/obra/superpowers-skills
Git クローン代替
git clone https://github.com/obra/superpowers-skills.git ~/.claude/skills/Preserving Productive Tensions

このコマンドをClaude Codeにコピー&ペーストしてスキルをインストールします

ドキュメント

Preserving Productive Tensions

Overview

Some tensions aren't problems to solve - they're valuable information to preserve. When multiple approaches are genuinely valid in different contexts, forcing a choice destroys flexibility.

Core principle: Preserve tensions that reveal context-dependence. Force resolution only when necessary.

Recognizing Productive Tensions

A tension is productive when:

  • Both approaches optimize for different valid priorities (cost vs latency, simplicity vs features)
  • The "better" choice depends on deployment context, not technical superiority
  • Different users/deployments would choose differently
  • The trade-off is real and won't disappear with clever engineering
  • Stakeholders have conflicting valid concerns

A tension needs resolution when:

  • Implementation cost of preserving both is prohibitive
  • The approaches fundamentally conflict (can't coexist)
  • There's clear technical superiority for this specific use case
  • It's a one-way door (choice locks architecture)
  • Preserving both adds complexity without value

Preservation Patterns

Pattern 1: Configuration

Make the choice configurable rather than baked into architecture:

class Config:
    mode: Literal["optimize_cost", "optimize_latency"]
    # Each mode gets clean, simple implementation

When to use: Both approaches are architecturally compatible, switching is runtime decision

Pattern 2: Parallel Implementations

Maintain both as separate clean modules with shared contract:

# processor/batch.py - optimizes for cost
# processor/stream.py - optimizes for latency
# Both implement: def process(data) -> Result

When to use: Approaches diverge significantly, but share same interface

Pattern 3: Documented Trade-off

Capture the tension explicitly in documentation/decision records:

## Unresolved Tension: Authentication Strategy

**Option A: JWT** - Stateless, scales easily, but token revocation is hard
**Option B: Sessions** - Easy revocation, but requires shared state

**Why unresolved:** Different deployments need different trade-offs
**Decision deferred to:** Deployment configuration
**Review trigger:** If 80% of deployments choose one option

When to use: Can't preserve both in code, but need to document the choice was deliberate

Red Flags - You're Forcing Resolution

  • Asking "which is best?" when both are valid
  • "We need to pick one" without explaining why
  • Choosing based on your preference vs user context
  • Resolving tensions to "make progress" when preserving them IS progress
  • Forcing consensus when diversity is valuable

All of these mean: STOP. Consider preserving the tension.

When to Force Resolution

You SHOULD force resolution when:

  1. Implementation cost is prohibitive

    • Building/maintaining both would slow development significantly
    • Team doesn't have bandwidth for parallel approaches
  2. Fundamental conflict

    • Approaches make contradictory architectural assumptions
    • Can't cleanly separate concerns
  3. Clear technical superiority

    • One approach is objectively better for this specific context
    • Not "I prefer X" but "X solves our constraints, Y doesn't"
  4. One-way door

    • Choice locks us into an architecture
    • Migration between options would be expensive
  5. Simplicity requires choice

    • Preserving both genuinely adds complexity
    • YAGNI: Don't build both if we only need one

Ask explicitly: "Should I pick one, or preserve both as options?"

Documentation Format

When preserving tensions, document clearly:

## Tension: [Name]

**Context:** [Why this tension exists]

**Option A:** [Approach]
- Optimizes for: [Priority]
- Trade-off: [Cost]
- Best when: [Context]

**Option B:** [Approach]
- Optimizes for: [Different priority]
- Trade-off: [Different cost]
- Best when: [Different context]

**Preservation strategy:** [Configuration/Parallel/Documented]

**Resolution trigger:** [Conditions that would force choosing one]

Examples

Productive Tension (Preserve)

"Should we optimize for cost or latency?"

  • Answer: Make it configurable - different deployments need different trade-offs

Technical Decision (Resolve)

"Should we use SSE or WebSockets?"

  • Answer: SSE - we only need one-way communication, simpler implementation

Business Decision (Defer)

"Should we support offline mode?"

  • Answer: Don't preserve both - ask stakeholder to decide based on user needs

Remember

  • Tensions between valid priorities are features, not bugs
  • Premature consensus destroys valuable flexibility
  • Configuration > forced choice (when reasonable)
  • Document trade-offs explicitly
  • Resolution is okay when justified

GitHub リポジトリ

obra/superpowers-skills
パス: skills/architecture/preserving-productive-tensions
0
FAQ

よくある質問

Preserving Productive Tensions Skillとは何ですか?

Preserving Productive Tensions はobra が作成した Claude Skillです。Skillは、Claudeが必要に応じて読み込む指示とリソースをまとめ、追加の指示なしで Preserving Productive Tensions に関連するタスクを実行できるようにします。

Preserving Productive Tensions をインストールするには?

このページのインストールコマンドを使用してください。Preserving Productive Tensions をプラグインとして Claude Code に追加するか、リポジトリを skills ディレクトリにクローンし、Claudeを再起動してSkillを読み込みます。

Preserving Productive Tensions はどのカテゴリに属しますか?

Preserving Productive Tensions は その他 カテゴリに属します。

Preserving Productive Tensions は無料で利用できますか?

はい。Preserving Productive Tensions は AIMCP に掲載されており、無料でインストールできます。

関連スキル

sports-betting-analyzer
その他

このClaudeスキルは、スポーツベッティング市場(スプレッド、オーバー/アンダー、プロップベットなど)を分析し、過去の傾向や状況統計を検証することでバリューベットを特定します。教育目的のための実践的な提案を構造化されたマークダウン形式で出力します。開発者はスポーツベッティング分析ツールとして本機能を活用できますが、娯楽および教育目的に限定されている点に留意してください。

スキルを見る
llamaguard
その他

LlamaGuardは、暴力やヘイトスピーチなど6つの安全性カテゴリーにおいて、LLMの入力と出力をモデレートするMetaの70-80億パラメータモデルです。94〜95%の精度を提供し、vLLM、Hugging Face、Amazon SageMakerを使用してデプロイ可能です。このスキルを使用して、AIアプリケーションにコンテンツフィルタリングと安全策を簡単に統合できます。

スキルを見る
cost-optimization
その他

このClaudeスキルは、リソースの適正サイジング、タグ付け戦略、支出分析を通じて、開発者がクラウドコストを最適化することを支援します。AWS、Azure、GCPにわたるクラウド支出の削減とコストガバナンスの実施のためのフレームワークを提供します。インフラコストの分析、リソースの適正サイジング、または予算制約への対応が必要な際にご利用ください。

スキルを見る
quantizing-models-bitsandbytes
その他

このスキルは、bitsandbytesを使用してLLMを8ビットまたは4ビット精度に量子化し、精度の低下を最小限に抑えつつ50〜75%のメモリ削減を実現します。限られたGPUメモリでより大規模なモデルを実行したり、推論を高速化するのに理想的で、INT8、NF4、FP4などのフォーマットをサポートしています。HuggingFace Transformersと統合され、QLoRAトレーニングや8ビットオプティマイザーを可能にします。

スキルを見る