Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问clear审计未展示

prompt-complexity-scorer提示复杂性评分器

Agent Skill

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

总安装

436

周安装

18

GitHub Stars

公开资料未说明

下载量

143
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:prompt-complexity-scorer(提示复杂性评分器)
来源仓库:https://github.com/codyswanngt/lisa
仓库路径:skills/prompt-complexity-scorer
安装命令:
npx skills add codyswanngt/lisa --skill "prompt-complexity-scorer"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add codyswanngt/lisa --skill "prompt-complexity-scorer"

简介

用于辅助提示词复杂性评估,支持系统指令和工作流模板的优化。

  • 适用于提示词工程和复杂度控制场景,支持评分和改进建议。
  • 可通过 npx skills add codyswanngt/lisa --skill "prompt-complexity-scorer" 安装使用。
  • 使用时需保留真实业务约束,避免将示例当作硬规则。
  • 建议结合原始文档了解评分维度和优化策略。

SKILL.md

Prompt Complexity Scorer

This skill evaluates user prompts to determine if they require planning before implementation.

Scoring Criteria

Score each prompt on a 1-10 scale based on these factors:

FactorLow (1-3)Medium (4-6)High (7-10)
ScopeSingle file/functionMultiple files/moduleMultiple systems/services
ClaritySpecific, well-definedSome ambiguityVague, open-ended
DependenciesNone or obviousSome coordinationMultiple unknown deps
UnknownsNoneSome research neededSignificant discovery
RiskLow/reversibleModerateHigh/architectural

Score Calculation

  1. Evaluate each factor independently
  2. Average the factor scores
  3. Round to nearest integer

Behavior by Score

Score 1-4: Continue Normally

Do not mention the scoring. Proceed with the request immediately.

Score 5-10: Suggest Project

Pause and ask the user:

This request scores [X]/10 on complexity. I suggest creating a project to track this work properly.

Would you like me to create `projects/<date>-<suggested-name>/` with a brief.md?

Where <date> is today's date in YYYY-MM-DD format and <suggested-name> is a kebab-case name derived from the request (e.g., "2026-01-24-add-websockets", "2026-01-24-refactor-auth-system").

Project Setup

When creating a project, create the directory structure and brief.md:

# Get today's date
DATE=$(date +%Y-%m-%d)
mkdir -p projects/${DATE}-<suggested-name>/tasks
# <Title derived from prompt>

## Original Request

<User's exact prompt/request>

## Goals

<Bullet points summarizing what needs to be accomplished>

## Notes

<Any additional context or constraints mentioned>

After creating the project, inform the user:

Project created at `projects/<date>-<suggested-name>/`.

You can now:
- Run `/project:bootstrap @projects/<date>-<suggested-name>` for full research and planning
- Or continue with the request and tasks will be tracked in this project

IMPORTANT: After creating the project, set the active project context by creating a marker file:

echo "${DATE}-<suggested-name>" > .claude-active-project

This enables automatic task syncing to the project directory.

Examples

Example 1: Simple Request (Score 1)

Prompt: "Fix the typo in the error message on line 45 of user.service.ts"

Factors:

  • Scope: 1 (single line)
  • Clarity: 1 (exact location specified)
  • Dependencies: 1 (none)
  • Unknowns: 1 (none)
  • Risk: 1 (trivial change)

Score: 1 → Continue normally

Example 2: Complex Request (Score 7)

Prompt: "Add WebSocket support to this project"

Factors:

  • Scope: 8 (new system, multiple files)
  • Clarity: 6 (what kind of WebSocket? real-time features?)
  • Dependencies: 7 (infrastructure, client changes)
  • Unknowns: 7 (architecture decisions needed)
  • Risk: 7 (architectural change)

Score: 7 → Suggest creating projects/YYYY-MM-DD-add-websockets/

Example 3: Medium Request (Score 3)

Prompt: "Add a new field 'nickname' to the User entity"

Factors:

  • Scope: 4 (entity, migration, possibly resolvers)
  • Clarity: 2 (clear requirement)
  • Dependencies: 3 (migration, schema)
  • Unknowns: 2 (standard pattern)
  • Risk: 3 (database change but reversible)

Score: 3 → Continue normally

Example 4: Nebulous Request (Score 8)

Prompt: "Make the app faster"

Factors:

  • Scope: 9 (entire application)
  • Clarity: 9 (completely vague)
  • Dependencies: 8 (unknown until investigated)
  • Unknowns: 9 (what's slow? why?)
  • Risk: 6 (depends on changes)

Score: 8 → Suggest creating projects/YYYY-MM-DD-performance-optimization/

Important Notes

  • This evaluation should be quick and silent for low-complexity requests
  • Never mention the scoring system for scores 1-4
  • For borderline cases (score 4-5), lean toward continuing normally
  • The goal is to catch truly complex/nebulous requests that benefit from planning

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Claude Code

27.83%
按下载量换算40

windsurf

25.85%
按下载量换算37

trae

18.14%
按下载量换算26

OpenCode

13.15%
按下载量换算19

Codex

8.79%
按下载量换算13

Antigravity

3.96%
按下载量换算6

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills