AGENT SKILL

to-icebox

Transforms a stream of thoughts, rough conversation, or scattered ideas into a structured feature request document. Use when someone says "icebox this".

License 许可
MIT
最近更新
2026-11-07
Stars
★ 0
Forks
0

01 前言 Front Matter

name
to-icebox
description
Transforms a stream of thoughts, rough conversation, or scattered ideas into a structured feature request document. Use when someone says "icebox this".

02 资源文件 2

03 SKILL.md 正文

To Icebox Skill

Converts unstructured input: Conversations, bullet dumps, voice-to-text, or rough notes into a clean, agent-readable feature request document. Output format is defined in 'assets/template.md'. See references/example-icebox.md for worked output samples.

Transformation Workflow

  1. Read all input first Do not start writing until the full input is absorbed. Identify the domain, scope, and whether this is a new project or a change to an existing system.
  2. Draft the title and description These set the frame for everything else, get them right befroe everything else.
  3. Extract and group features Cluster related ideas into named capability groups under Core Features.
  4. Classify remaining content into Design Requirements, Technical Constraints, the adaptive last section, and Anchors.
  5. Apply omission rules Drop any section with nothing meaningful to say.
  6. Output the document use the format in 'assets/template.md'. No preamble, no explanation - just the document.

Section Rules

Lift-out test. Every bullet should still make sense when copied into a backlog, ticket, or planning note without the surrounding paragraph. If a line depends on hidden context, rewrite it until it stands alone.

Single-claim rule. Each bullet should carry one requirement or design claim. Split combined ideas unless they are inseparable parts of one behavior.

Title - '# Name - Context'

The title has two parts separated by -:

Name: The product, feature, workflow, or initiative being described. Keep it concrete and noun-led.

Context: The platform, host system, or delivery frame that tells the reader what kind of thing this is.

Extraction heuristic: Choose the most stable noun phrase for the Name, then append the clearest scope-setting phrase for the Context. Prefer Product - Platform, Feature - Existing System, or Workflow - Team Context. Do not use a vague problem statement as the title.

Description - 1-2 sentences below the title

Purpose: Establish what is being built or changed and why it matters before the detailed requirements begin.

Rules:

  • Keep this to 1-2 sentences.
  • State the outcome, not the implementation plan.
  • Fold in the strongest value proposition or user benefit if it is apparent.
  • Mention the primary platform or operating environment if that sharpens scope.

Extraction heuristic: Rewrite the messiest opening notes into a short product brief. Use the most repeated intent signals from the source material and remove speculative wording, hedges, and unresolved debates.

Core Features

Structure

## Core Features

### Capaability Group Name
- **Feature Name**: What it does and any key behavior.

Rules:

  • Group features by capability area, not by chronology or author.
  • Prefer 3-6 capability groups when the source material is broad; fewer is better when the request is narrow.
  • Give each group a short noun phrase such as Editor & Preview, Authentication, or Reporting.
  • Start each bullet with a strong feature label and follow with the behavior that matters.
  • Keep behaviors user-facing or system-facing; cut delivery chatter, ownership notes, and implementation sequencing.
  • Preserve important defaults, modes, toggles, data flows, and edge-case behaviors when they are explicitly requested.

Extraction heuristic: Scan for recurring verbs and nouns, cluster them into natural capability areas, then rewrite each cluster as a small set of crisp bullets. If a bullet sounds like a task list item instead of a product behavior, it likely belongs elsewhere or should be dropped.

Plan-grade smells (cut on sight): code blocks, literal queries (SQL/NRQL/SPL/HCL), file.ext:line citations, resource counts, version-pinned snippets, runbook step bodies, exact command invocations.


Design Requirements

Purpose: Captures the how it should feel or be structured - distinct from what it does.

This section covers either (or both):

  • UI/UX: Visual language, layout, interaction patterns, accessibility, theme support, typography.
  • Architectural design: System design decisions, data flow, integration patterns, service boundaries - especially relevant for backend-focused requests.

Rules:

  • Only include this section when the source material says something meaningful about how the solution should feel, be structured, or interact with adjacent systems.
  • Capture enduring design intent, not low-level implementation notes.
  • Use flat bullets in the same **Label**: Detail. style as the example output.
  • Include accessibility, responsiveness, theming, information architecture, and system-boundary guidance when explicitly implied.
  • Keep feature behavior in Core Features; this section is for quality, shape, and interaction patterns.

Extraction heuristic: Look for adjectives, comparisons, visual references, architecture preferences, and integration patterns. If a statement changes the experience or the system shape without defining a new feature, it belongs here.


Technical Constraints

Purpose: Record the hard rules the implementation must respect: frameworks, languages, deployment targets, interoperability requirements, formatting rules, or mandated libraries.

Include when:

  • The input names a required framework, runtime, platform, language, package, protocol, storage system, or build target.
  • The input sets compatibility, packaging, hosting, or integration boundaries.
  • The input imposes source layout or coding-convention rules important to the build or handoff.

Do not include:

  • Nice-to-have preferences that do not constrain implementation.
  • Restatements of core features.
  • Team process, staffing, timelines, budgets, or phased rollout notes.

Rules, not values: Prefer implementation rules over unexplained lists. If the source names a library, say what it is for. Keep versions only when the source makes them material.

Format:

  • Use flat bullets for single constraints.
  • Use a labeled parent bullet with nested bullets only when grouping libraries, plugins, or related packages improves readability.
  • Preserve exact product or package names where accuracy matters.

Extraction heuristic: Pull out every statement that would invalidate an implementation approach if ignored. If removing the statement would still leave many valid implementations, it is probably not a technical constraint.


Adaptive Last Section

The final section adapts based on what the input implies about the project's state.

Case A - New Project or radical structural change: Use ## Project Structure when the user is describing a net-new app, a major replatform, or a requested directory or component layout. Capture only the structural shape that helps the next agent orient itself.

Case B - Feature on an existing system, or no structural decisions implied: Use a narrow heading such as ## Existing System Notes, ## Integration Notes, or ## Delivery Context when the source material mainly describes constraints of an existing environment rather than a new structure.

Not for: open questions, pre-flight checklists, TBD-before-step-N notes, or execution sequencing. Those are plan-grade and belong downstream.

Rules for both cases:

  • This section never competes with Core Features for length or importance.
  • Hard cap: 4-6 bullets or a single short code block for project structure.
  • If there is genuinely nothing to say, omit the section entirely.
  • Prefer bullets unless an explicit directory or component tree is the clearest representation.

Extraction heuristic: Ask whether the input implies a net-new shape, an existing host system, or no structural guidance at all. Use the smallest section that preserves that context.


Anchors

Purpose: Preserve exact identifiers, names, slugs, routes, env keys, bundle IDs, or other canonical values that downstream work must not accidentally rename.

Rules:

  • Use the three-column table from the example: Key | Value | Notes.
  • Only include stable values that are easy to copy incorrectly but important to preserve exactly.
  • Prefer one row per anchor.
  • Keep notes short and source-oriented, for example where the value must be applied.
  • Omit the section if there are no trustworthy anchors.

Extraction heuristic: Pull literals that act as contracts. Good anchors include identifiers, route paths, package names, external system keys, filename conventions, and config values explicitly called out by the source material.


Omission Rules

Drop a section entirely if:

Section Omit When..
Description The title already carries enough context and no meaningful summary can be stated beyond repetition.
Core Features Never omit if there is any substantive product or system behavior in the source material.
Design Requirements The input contains no meaningful experience, presentation, interaction, or structural guidance beyond features and constraints.
Technical Constraints No hard implementation rules, platform mandates, or library/runtime requirements are present.
Adaptive Last Section The input does not imply a useful project shape, system note, or integration context.
Anchors There are no exact identifiers or literals worth preserving.

Output Behavior

  • Use the format and placeholder style shown in assets/template.md.
  • Preserve Markdown heading levels and section ordering.
  • Omit empty optional sections instead of leaving placeholder text behind.
  • Do not include analysis, rationale, or meta commentary about how the document was produced.
  • Normalize rough notes into clean prose, but do not invent requirements that are unsupported by the input.
  • When the source is contradictory, choose the most constrained interpretation that still fits the repeated signals.

File Output

Write the finished document to disk rather than printing it to the conversation.

Default output path: docs/icebox/<filename>.md

Filename derivation: Use the Name portion of the title (the part before the -), lowercased, spaces replaced with hyphens. Strip special characters.

If the destination folder does not exist: Create it before writing the document.

04 同仓库更多 Skills