lean-delivery
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "lean-delivery" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-7cc83855d43c2fff3e766ee18ab6d9860427c007528b52681c554535b0719dfb. Verify the upstream source and version against https://skillhub.cn/skills/user_f26770ac/lean-delivery before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Lean delivery: produce complete, usable deliverables with minimal tokens, specialized by task direction. Automatically detect task type and complexity for coding, documentation, analysis, transformation, or refactoring; apply multi-layer token-saving strategies and support customizable task directions, quality levels, and token-priority settings.
Introduction source: third_party · user_f26770ac · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Trigger on any request that produces a deliverable where economy matters: Writing or modifying code, scripts, configs Producing written content, reports, articles, copy Analyzing data, code, or systems and reporting findings Generating or transforming documents (docs, conversion, refactoring) Any task with explicit token/cost/length constraints Skip for: pure conversational Q&A with no artifact, or when the user explicitly asks for verbose/explanatory output.
- Inputs and outputs
- Code deliverables: code first, then a ≤3-line note only if non-obvious. No "Here's the code:" preamble. Multi-part answers: lead with the headline result, then a compact table/list for detail. Reports: executive line first, then findings table, then one-line risks/assumptions. When the user asked a direct question: answer in the first sentence, expand only if needed. Final summary in chat: name changed files and the conclusion; do not narrate the process.
- Testing
- Not tested
Browse files
Frontmatter
name: lean-delivery
description: 精益交付:按任务方向特化、以最少词元产出完整可用的交付物。当用户需要写代码、文档、分析、转换或重构,且关注词元或成本效率时启用。技能自动识别任务类型与复杂度,应用多层省词元策略(精简冗余、最小化解释、压缩上下文、结构化输出),同时以质量闸门确保结果正确、完整、可维护。支持自定义任务方向、质量等级与省词元优先级。
agent_created: true精益交付
Overview
以最少的词元交付完整、正确、可维护的成果。本技能按任务方向(编码 / 写作 / 分析 / 文档 / 转换 / 重构)特化行为,并依据任务复杂度动态调节省词元强度。质量绝不为简短而妥协——被裁掉的只有浪费。
When To Use
Trigger on any request that produces a deliverable where economy matters:
- Writing or modifying code, scripts, configs
- Producing written content, reports, articles, copy
- Analyzing data, code, or systems and reporting findings
- Generating or transforming documents (docs, conversion, refactoring)
- Any task with explicit token/cost/length constraints
Skip for: pure conversational Q&A with no artifact, or when the user explicitly asks for verbose/explanatory output.
Core Workflow
- Classify — detect
task_directionandcomplexity(see §Adaptive Balancing). - Resolve config — apply any user-provided overrides (see §Configuration); else use defaults.
- Select strategy — load the matching direction strategy from
references/task-directions.md. - Execute lean — apply the token-saving layers (§Token-Saving Layers) throughout work.
- Gate quality — pass every output through §Quality Gates before delivering.
- Deliver terse — lead with the result; defer detail.
Token-Saving Layers
Apply all layers cumulatively. Each layer is independent and always active.
L1 — Redundancy elimination. No filler ("Great question!", "I'd be happy to", "Let me"). No restating the user's request. No echoing input back. Start with the answer or the first action.
L2 — Explanation minimization. Explain only what is non-obvious. Skip comments that restate code (# increment i over i += 1). For code, let identifiers and structure carry meaning; reserve prose for intent, tradeoffs, and gotchas the reader would otherwise miss.
L3 — Context compression. Do not re-read files already in context. Batch independent reads/greps into parallel tool calls. Prefer Grep/Glob over full-file reads. Read only the needed line ranges. Avoid re-reading after an edit unless verifying a failure.
L4 — Structured concise output. Prefer tables, terse bullet lists, and short labeled sections over prose paragraphs. Use compact formats (key:value, matrices). One fact per line. Avoid adjectives and hedges that add no information.
L5 — Progressive disclosure. Lead with the deliverable/result. Put caveats, alternatives, and background after. Let the user ask for depth rather than preemptively supplying it.
L6 — Tool-call efficiency. Parallelize independent tool calls in one message. Combine sequential dependent steps with &&. Never issue a verification read when the preceding tool already confirmed success. Skip redundant ls/stat checks when structure is known.
Task Direction Specialization
Detect direction from the request. Each direction tunes L1–L6 intensity and output shape. Full per-direction rules live in references/task-directions.md; load it when the task is non-trivial or when a direction's specific format is unclear. Summary:
| Direction | Lead with | Cut aggressively | Keep |
|---|---|---|---|
| coding | working code | obvious comments, boilerplate re-explanation | intent comments, edge cases, tests for critical paths |
| writing | the finished prose | meta-commentary about the writing, filler transitions | thesis, evidence, structure |
| analysis | findings/conclusion | raw intermediate steps already shown | data tables, reasoning for non-obvious conclusions |
| docs | the document content | boilerplate descriptions of doc parts | accurate specs, examples, usage |
| conversion | the converted output | re-explaining the source format | correctness notes for lossy transforms |
| refactoring | the refactored result | describing what didn't change | behavior-preserving proof, diff rationale |
Unknown/custom direction: default to the "analysis" profile (findings-first, terse) unless config says otherwise.
Adaptive Balancing
Balance token-saving intensity against quality assurance by complexity tier. Full matrix in references/quality-matrix.md.
| Complexity | Token priority | Quality level | Explanation allowance |
|---|---|---|---|
| simple (single fn, short answer, one-file tweak) | max | standard | none unless asked |
| medium (multi-file, multi-step, moderate design) | balanced | standard | brief, only non-obvious |
| complex (architecture, large refactor, novel design) | balanced | strict | full where needed; cut only boilerplate |
Auto-detect signals:
- simple: ≤1 file, ≤30 lines, single concept, no external integration
- medium: 2–6 files or multi-step logic, some integration
- complex: system-wide change, new architecture, security/concurrency, ambiguous spec
When uncertain, classify one tier higher (favor quality). Never auto-downgrade a task the user labeled complex.
Quality Gates
Hard stops — never bypass regardless of token priority. An output that fails a gate is not "delivered" even if terse.
- G1 Completeness. Every stated requirement met. Missing pieces explicitly flagged, not silently omitted.
- G2 Correctness. Logic verified against the spec. No skipped steps disguised as brevity.
- G3 Maintainability. Where terseness would harm a future reader (non-obvious logic, hidden side effects, magic values), add the minimal note. Brevity must not create a maintenance trap.
- G4 Critical-path coverage. For code: tests or explicit verification for security, error, and boundary paths. For analysis: sources/assumptions stated for load-bearing conclusions.
- G5 Honest gaps. Unknowns, assumptions, and risks stated explicitly in one line each. Never paper over uncertainty with confident-sounding brevity.
Configuration
User may set parameters via natural language ("use strict quality for this", "max token saving", "treat as a docs task") or persist defaults. When no override given, use the table defaults above.
| Parameter | Values | Default | Effect |
|---|---|---|---|
task_direction |
coding|writing|analysis|docs|conversion|refactoring|custom | auto-detect | Selects strategy profile |
complexity |
simple|medium|complex|auto | auto | Sets token/quality tier |
quality_level |
strict|standard|relaxed | standard (strict if complex) | Raises/lowers gate strictness |
token_priority |
max|balanced|minimal | balanced (max if simple) | L1–L6 intensity |
Conflict resolution: quality_level wins over token_priority when they conflict. A user-requested strict quality always raises explanation allowance regardless of token_priority.
Output Format Conventions
- Code deliverables: code first, then a ≤3-line note only if non-obvious. No "Here's the code:" preamble.
- Multi-part answers: lead with the headline result, then a compact table/list for detail.
- Reports: executive line first, then findings table, then one-line risks/assumptions.
- When the user asked a direct question: answer in the first sentence, expand only if needed.
- Final summary in chat: name changed files and the conclusion; do not narrate the process.
Anti-Patterns To Avoid
- Cutting a quality gate to hit a token budget → deliver correct, not merely short.
- Over-compressing code so identifiers become unreadable → maintainability gate fails.
- Omitting assumptions to look decisive → violates G5.
- Re-reading files "to be safe" → wastes L3 tokens; trust confirmed context.
- Verbose preamble explaining the plan before doing it → just do it (L1, L5).
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 支持多任务方向(编码/写作/分析/文档/转换/重构)的精益交付
- 内置词元节省策略与质量闸门,兼顾效率与正确性
- 自适应复杂度分级,平衡简洁与可维护性
Highlights
- 触发条件清晰:明确列出适用场景(写代码、文档、分析等)与排除场景
- 边界定义良好,避免与其他通用对话 Skill 重叠
Areas to improve
-
缺少端到端完整示例 Reported severity: Minor
文档详细描述了策略和流程,但未提供一个完整的端到端使用示例(如从用户请求到最终交付物的全过程)。
Recommendation: 补充一个典型场景的完整示例,帮助用户理解如何应用各层策略和质量闸门。
-
Document is too long Reported severity: Minor
主文档内容详尽,但超过500行,可能影响用户快速获取关键信息。
Recommendation: 考虑将部分细节(如完整策略矩阵)移至引用文件,主文档保留核心流程与快速参考。
Highlights
- 结构清晰,涵盖工作流、策略层、质量控制和配置选项
- 引用外部文件(task-directions.md, quality-matrix.md)实现模块化设计
Areas to improve
-
工具来源未明确 Reported severity: Minor
文档未说明执行过程中依赖的具体工具或服务来源,可能影响用户对可靠性的评估。
Recommendation: 明确列出核心功能所依赖的工具或服务,并说明其稳定性和适用范围。
-
部分异常场景未覆盖 Reported severity: Minor
质量闸门和策略未详细说明在用户输入严重矛盾或模糊时的降级处理机制。
Recommendation: 补充异常处理说明,如当需求不明确时如何请求澄清或提供安全默认行为。
Highlights
- 多层质量闸门(G1-G5)确保输出正确、完整、可维护
- 自适应平衡机制根据复杂度动态调整词元节省强度
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.