Token导航 LogoToken导航TokenDH.com
研究检索external-servicegithub未标认证来源可访问clear审计提醒

ln-230-story-prioritizerln 230 故事优先顺序

Agent Skill

ln-230-story-prioritizer 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

6,561

周安装

268

GitHub Stars

437

下载量

2,101
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:ln-230-story-prioritizer(ln 230 故事优先顺序)
来源仓库:https://github.com/levnikolaevich/claude-code-skills
仓库路径:skills/ln-230-story-prioritizer
安装命令:
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-230-story-prioritizer
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/levnikolaevich/claude-code-skills --skill ln-230-story-prioritizer

简介

ln-230-story-prioritizer 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词或任务场景快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 核验具体用法。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Paths: File paths (shared/, references/, ../ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If shared/ is missing, fetch files via WebFetch from https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}.

Story Prioritizer

Type: L3 Worker Category: 2XX Planning

Evaluate Stories using RICE scoring with market research. Generate consolidated prioritization table for Epic.

Purpose & Scope

  • Prioritize Stories AFTER ln-220 creates them
  • Triage all Stories cheaply before doing deep research
  • Research market size and competition only where it changes prioritization confidence
  • Calculate RICE score for each Story
  • Generate prioritization table (P0/P1/P2/P3)
  • Output: docs/market/[epic-slug]/prioritization.md

When to Use

Use this skill when:

  • Stories created by ln-220, need business prioritization
  • Planning sprint with limited capacity (which Stories first?)
  • Stakeholder review requires data-driven priorities
  • Evaluating feature ROI before implementation

Do NOT use when:

  • Epic has no Stories yet (run ln-220 first)
  • Stories are purely technical (infrastructure, refactoring)
  • Prioritization already exists in docs/market/

Input Parameters

ParameterRequiredDescriptionDefault
epicYesEpic ID or "Epic N" format-
storiesNoSpecific Story IDs to prioritizeAll in Epic
depthNoResearch depth (quick/standard/deep)"standard"

depth options:

  • quick - 2-3 min/Story, 1 WebSearch per type
  • standard - 5-7 min/Story, 2-3 WebSearches per type
  • deep - 8-10 min/Story, comprehensive research

Output Structure

docs/market/[epic-slug]/
└── prioritization.md    # Consolidated table + RICE details + sources

Runtime Contract

MANDATORY READ: Load shared/references/planning_worker_runtime_contract.md, shared/references/coordinator_summary_contract.md

Runtime family: planning-worker-runtime

Identifier:

  • epic-{epicId}

Phases:

  1. PHASE_0_CONFIG
  2. PHASE_1_DISCOVERY
  3. PHASE_2_LOAD_STORY_METADATA
  4. PHASE_3_ANALYZE_STORIES
  5. PHASE_4_GENERATE_PRIORITIZATION
  6. PHASE_5_WRITE_SUMMARY
  7. PHASE_6_SELF_CHECK

Summary contract:

  • summary_kind=story-prioritization-worker
  • payload includes epic_id, depth, stories_analyzed, priority_distribution, top_story_ids, prioritization_path, warnings
  • managed mode writes to caller-provided summaryArtifactPath
  • default managed artifact path pattern: .hex-skills/runtime-artifacts/runs/{parent_run_id}/story-prioritization-worker/ln-230--{identifier}.json

Table columns (from user requirements):

PriorityCustomer ProblemFeatureSolutionRationaleImpactMarketSourcesCompetition
P0User pain pointStory titleTechnical approachWhy importantBusiness impact$XB[Link]Blue 1-3 / Red 4-5

Inputs

InputRequiredSourceDescription
epicIdYesargs, kanban, userEpic to process

Resolution: Epic Resolution Chain. Status filter: Active (planned/started)

Tools Config

MANDATORY READ: Load shared/references/environment_state_contract.md, shared/references/storage_mode_detection.md, shared/references/input_resolution_pattern.md

Extract: task_provider = Task Management → Provider

Research Tools

ToolPurposeExample Query
WebSearchMarket size, competitors"[domain] market size {current_year}"
mcp__RefIndustry reports"[domain] market analysis report"
Task providerLoad StoriesIF linear: list_issues / ELSE: Glob story.md
GlobCheck existing"docs/market/[epic]/*"

Workflow

Phase 1: Discovery (2 min)

Objective: Validate input and prepare context.

Process:

  1. Resolve epicId: Run Epic Resolution Chain per guide.
  2. Load Epic details:

- IF task_provider == "linear": get_project(query=epicId) - ELSE IF task_provider == "github": gh issue view {epicId} -R {REPO} --json number,title,body - ELSE: Read("docs/tasks/epics/epic-{N}-*/epic.md") - Extract: Epic ID, title, description

  1. Auto-discover configuration:

- Read docs/tasks/kanban_board.md for Team ID - Slugify Epic title for output path

  1. Check existing prioritization: Glob: docs/market/[epic-slug]/prioritization.md

- If exists: Ask "Update existing or create new?" - If new: Continue

  1. Create output directory: mkdir -p docs/market/[epic-slug]/

Output: Epic metadata, output path, existing check result


Phase 2: Load Stories Metadata (3 min)

Objective: Build Story queue with metadata only and prepare rough scoring inputs for all Stories.

Process:

  1. Query Stories from Epic: IF task_provider == "linear": list_issues(project=Epic.id, label="user-story") ELSE IF task_provider == "github": gh api /repos/{O}/{R}/issues/{epic_num}/sub_issues --jq '.[].number' → for each: gh issue view {num} -R {REPO} --json number,title,state,labels → filter: label "user-story" ELSE (file mode): Glob("docs/tasks/epics/epic-{N}-*/stories/*/story.md")
  2. Extract metadata only:

- Story ID, title, status - minimal Epic context if available - DO NOT load full descriptions yet

  1. Filter Stories:

- Exclude: Done, Cancelled, Archived - Include: Backlog, Todo, In Progress

  1. Build processing queue:

- Order by: existing priority (if any), then by ID - Count: N Stories to process

Output: Story queue (ID + title + minimal context), ~50-80 tokens/Story


Phase 3: Two-Pass Story Analysis

Objective: Score all Stories cheaply first, then spend deep research only on candidates where it changes the decision.

Critical: Keep maximum context to one full Story at a time even during deep research.

Pass A: Cheap Triage For All Stories

For each Story, load only enough detail to estimate:

  • customer problem
  • rough solution shape
  • likely reach
  • likely impact
  • likely effort
  • initial confidence tier

Step 3.1: Load Story Description

IF task_provider == "linear":

get_issue(id=storyId, includeRelations=false)

ELSE IF task_provider == "github":

gh issue view {storyId} -R {REPO} --json number,title,body,state,labels

ELSE (file mode):

Read("docs/tasks/epics/epic-{N}-*/stories/us{NNN}-*/story.md")

Extract from Story:

  • Feature: Story title
  • Customer Problem: From "So that [value]" + Context section
  • Solution: From Technical Notes (implementation approach)
  • Rationale: From AC + Success Criteria

Step 3.2: Build rough RICE estimate

Use Story + Epic context to assign:

  • rough Reach
  • rough Impact
  • rough Effort
  • initial Confidence

Mark one of:

  • full_research_required
  • rough_estimate_ok
  • borderline_needs_review

Send to Pass B only if:

  • candidate looks P0/P1 on rough score
  • confidence is low
  • Story is near a priority threshold
  • Story has strategic or market-sensitive uncertainty

Pass B: Selective Deep Research

Only for Stories selected in Pass A, run full external research.

Step 3.3: Research Market Size

WebSearch queries (based on depth):

"[customer problem domain] market size TAM {current_year}"
"[feature type] industry market forecast"

mcp__Ref query:

"[domain] market analysis Gartner Statista"

Extract:

  • Market size: $XB (with unit: B=Billion, M=Million)
  • Growth rate: X% CAGR
  • Sources: URL + date

Confidence mapping:

  • Industry report (Gartner, Statista) → Confidence 0.9-1.0
  • News article → Confidence 0.7-0.8
  • Blog/Forum → Confidence 0.5-0.6

Step 3.4: Research Competition

WebSearch queries:

"[feature] competitors alternatives {current_year}"
"[solution approach] market leaders"

Count competitors and classify:

Competitors FoundCompetition IndexOcean Type
01Blue Ocean
1-22Emerging
3-53Growing
6-104Mature
>105Red Ocean

Step 3.5: Calculate final RICE Score

RICE = (Reach x Impact x Confidence) / Effort

Reach (1-10): Users affected per quarter

ScoreUsersIndicators
1-2<500Niche, single persona
3-4500-2KDepartment-level
5-62K-5KOrganization-wide
7-85K-10KMulti-org
9-10>10KPlatform-wide

Impact (0.25-3.0): Business value

ScoreLevelIndicators
0.25MinimalNice-to-have
0.5LowQoL improvement
1.0MediumEfficiency gain
2.0HighRevenue driver
3.0MassiveStrategic differentiator

Confidence (0.5-1.0): Data quality (from Step 3.2)

Data Confidence Assessment:

For each RICE factor, assess data confidence level:

ConfidenceCriteriaScore Modifier
HIGHMultiple authoritative sources (Gartner, Statista, SEC filings)Factor used as-is
MEDIUM1-2 sources, mixed quality (blog + report)Factor ±25% range shown
LOWNo sources, team estimate onlyFactor ±50% range shown

Output: Show confidence per factor in prioritization table + RICE range (optimistic/pessimistic) to make uncertainty explicit.

Effort (1-10): Person-months

ScoreTimeStory Indicators
1-2<2 weeks3 AC, simple CRUD
3-42-4 weeks4 AC, integration
5-61-2 months5 AC, complex logic
7-82-3 monthsExternal dependencies
9-103+ monthsNew infrastructure

Step 3.6: Determine Priority

PriorityRICE ThresholdCompetition Override
P0 (Critical)>= 30OR Competition = 1 (Blue Ocean monopoly)
P1 (High)>= 15OR Competition <= 2 (Emerging market)
P2 (Medium)>= 5-
P3 (Low)< 5Competition = 5 (Red Ocean) forces P3

Step 3.7: Store and Clear

  • Append row to in-memory results table
  • Mark whether row is full-research or rough-estimate
  • Clear Story description from context
  • Move to next Story in queue

Output per Story: Complete row for prioritization table with confidence tier


Phase 4: Generate Prioritization Table (5 min)

Objective: Create consolidated markdown output.

Process:

  1. Sort results:

- Primary: Priority (P0 → P3) - Secondary: RICE score (descending)

  1. Generate markdown:

- Use template from references/prioritization_template.md - Fill: Priority Summary, Main Table, RICE Details, Sources - Explicitly show whether each Story used full research or rough estimate

  1. Save file: Write: docs/market/[epic-slug]/prioritization.md

Output: Saved prioritization.md


Phase 5: Summary & Next Steps (1 min)

Objective: Display results and recommendations.

Output format:

## Prioritization Complete

**Epic:** [Epic N - Name]
**Stories analyzed:** X
**Time elapsed:** Y minutes

### Priority Distribution:
- P0 (Critical): X Stories - Implement ASAP
- P1 (High): X Stories - Next sprint
- P2 (Medium): X Stories - Backlog
- P3 (Low): X Stories - Consider deferring

### Top 3 Priorities:
1. [Story Title] - RICE: X, Market: $XB, Competition: Blue/Red

### Saved to:
docs/market/[epic-slug]/prioritization.md

### Next Steps:
1. Review table with stakeholders
2. Run ln-300 for P0/P1 Stories first
3. Consider cutting P3 Stories

Time-Box Constraints

DepthPer-StoryTotal (10 Stories)
quick2-3 min20-30 min
standard5-7 min50-70 min
deep8-10 min80-100 min

Time management rules:

  • If Story exceeds time budget: keep rough estimate, mark lower confidence
  • If total exceeds budget: reserve deep research only for high-potential or borderline Stories
  • Parallel WebSearch where possible (market + competition)

Token Efficiency

Loading pattern:

  • Phase 2: Metadata only (~50 tokens/Story)
  • Phase 3: Full description ONE BY ONE (~3,000-5,000 tokens/Story)
  • After each Story: Clear description, keep only result row (~100 tokens)

Memory management:

  • Sequential processing (not parallel)
  • Maximum context: 1 Story description at a time
  • Results accumulate as compact table rows

Integration with Ecosystem

Position in workflow:

ln-210 (Scope → Epics)
     ↓
ln-220 (Epic → Stories)
     ↓
ln-230 (RICE per Story → prioritization table) ← THIS SKILL
     ↓
ln-300 (Story → Tasks)

Dependencies:

  • WebSearch, mcp__Ref (market research)
  • Task provider: Linear MCP or file mode (load Epic, Stories)
  • Glob, Write, Bash (file operations)

Downstream usage:

  • Sprint planning uses P0/P1 to select Stories
  • ln-300 processes Stories in priority order
  • Stakeholders review before implementation

Structured worker output:

  • return the prioritization summary envelope even in standalone mode
  • write the same JSON artifact when summaryArtifactPath is provided

Critical Rules

  1. Triage first - do cheap scoring across all Stories before deep research
  2. Source all deep-research data - every Market number needs source + date
  3. Prefer recent data - last 2 years, warn if older
  4. Cross-reference when depth justifies it - use 2+ sources for market-sensitive Stories
  5. Time-box strictly - keep rough estimates when deeper research will not change the decision
  6. Confidence levels - mark High/Medium/Low and whether score is rough or full-research
  7. No speculation - only sourced claims, note "[No data]" gaps
  8. One Story at a time - token efficiency critical
  9. Preserve language - if user asks in Russian, respond in Russian

Definition of Done

  • Epic validated (Linear or file mode)
  • All Stories loaded through metadata-first queue
  • Pass A rough triage completed for all Stories
  • Deep research limited to high-potential or low-confidence Stories
  • RICE score calculated for each Story
  • Competition index assigned (1-5)
  • Priority assigned (P0/P1/P2/P3)
  • Confidence tier and research depth visible in output
  • Table sorted by Priority + RICE
  • File saved to docs/market/[epic-slug]/prioritization.md
  • Summary with top priorities and next steps
  • Structured story-prioritization-worker summary returned
  • Summary artifact written when summaryArtifactPath is provided
  • Total time within budget

Example Usage

Basic usage:

ln-230-story-prioritizer epic="Epic 7"

With parameters:

ln-230-story-prioritizer epic="Epic 7: Translation API" depth="deep"

Specific Stories:

ln-230-story-prioritizer epic="Epic 7" stories="US001,US002,US003"

Example output (docs/market/translation-api/prioritization.md):

PriorityCustomer ProblemFeatureSolutionRationaleImpactMarketSourcesCompetition
P0"Repeat translations cost GPU"Translation MemoryRedis cache, 5ms lookup70-90% GPU cost reductionHigh$2B+M&M3
P0"Can't translate PDF"PDF SupportPDF parsing + layoutEnterprise blockerHigh$10B+Eden5
P1"Need video subtitles"SRT/VTT SupportTiming preservationBlue Ocean opportunityMedium$5.7BGMI2

Phase 6: Meta-Analysis

MANDATORY READ: Load shared/references/meta_analysis_protocol.md

Skill type: planning-worker. Run after all phases complete. Output to chat using the planning-worker format.

Reference Files

  • MANDATORY READ: Load shared/references/environment_state_contract.md
  • MANDATORY READ: Load shared/references/storage_mode_detection.md
  • MANDATORY READ: Load shared/references/research_tool_fallback.md
FilePurpose
prioritization_template.mdOutput markdown template
rice_scoring_guide.mdRICE factor scales and examples
research_queries.mdWebSearch query templates by domain
competition_index.mdBlue/Red Ocean classification rules

Version: 2.0.0 Last Updated: 2026-04-05

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Claude Code

31.97%
按下载量换算672

Gemini CLI

21.76%
按下载量换算457

Codex

19.84%
按下载量换算417

OpenCode

12.04%
按下载量换算253

Antigravity

7.5%
按下载量换算158

windsurf

3.44%
按下载量换算72

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills