agentleFS
nesnilnehcnesnilnehc/ai-cortex/skills/define-roadmap/SKILL.md

define-roadmap

Skill8 starsChanged 2 months agoMITView on GitHub

Design roadmap structure, populate source-backed content on a settled layout, or complete both stages; first-align existing plans while preserving business decisions and stable links, with optional local generation.

The file

Show its rules and text

We split this skill into the rules it gives an agent

30 rules. About 0 are common, 24 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈24

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every requirement-view row is a requirement or defect.

    line 13
  2. Very specific:

    Read project norms, goals, the existing roadmap and source requirement and defect records.

    line 24
  3. Distinctive:

    Structure only: run structure design and structural Self-Check, return the inspectable draft and stop.

    line 39
  4. Distinctive:

    Keep stage reports in the response/review record rather than the reader artifact.

    line 54
  5. Distinctive:

    When the request is adoption/compliance alignment of an existing plan, use the Spec's alignment contract before the creation procedure …

    line 58
  6. Distinctive:

    Do not translate “independent content” into a file for every field or object.

    line 85
  7. Very specific:

    Run structure/link/format review, report only that scope, and stop before population when the user requested confirmation.

    line 96
  8. Very specific:

    Read project norms, existing choices and linked planning/execution/release records, protecting concurrent edits.

    line 107
  9. Distinctive:

    When context conflicts or materially changes, retain current choices and present a focused reconsideration proposal rather than applying …

    line 118
  10. Distinctive:

    If an input is only a task or task group, resolve its parent requirement or defect.

    line 125
  11. Distinctive:

    Do not add or waive a project gate.

    line 137
  12. Distinctive:

    Put policy/closure definitions and selection/language evidence in the later planning-basis section, using a useful summary plus the …

    line 147
  13. Distinctive:

    Keep far-future work directional and unallocated when not decided.

    line 155
  14. Distinctive:

    Only requirements and defects are requirement entries.

    line 170
  15. Distinctive:

    Follow explicit project capacity decisions.

    line 176
  16. Very specific:

    Use python3 <skill-dir>/scripts/render-roadmap.py INPUT.json --check to validate temporary facts under the Spec, then pass --output-dir DIR …

    line 205
  17. Distinctive:

    Read the generator example.

    line 215
  18. Distinctive:

    If native rendering is unavailable, use supported image upload and retain source access.

    line 224
  19. Distinctive:

    Read the platform delivery guide.

    line 232
  20. Distinctive:

    Do not insert events as fake requirements.

    line 252
  21. Distinctive:

    Read existing history before overwrite and carry retained records forward.

    line 266
  22. Distinctive:

    Keep overview and priority arrangement in the main roadmap.

    line 274
  23. Distinctive:

    Default to one document for small plans.

    line 281
  24. Distinctive:

    Use schema 1.3 or later for optional iteration views.

    line 287
  25. Distinctive:

    Follow the selection contract.

    line 300
  26. Distinctive:

    Use the shared base plus selected modules instead of copying four complete templates.

    line 301
  27. Distinctive:

    Before writing roadmap-chain deliverables, apply the language contract.

    line 320
  28. Distinctive:

    Read the user instruction, consuming-project policy and existing artifact first.

    line 321
  29. Very specific:

    Use schema 1.6 with the retained selection.layout: topic-split for populated main-plus-five output.

    line 339
  30. Very specific:

    Only --eval records live decisions.

    line 349

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill: Define Roadmap

Purpose and scope

Turn project goals and existing requirements and defects into a readable plan. Every requirement-view row is a requirement or defect. Now / Next / Later express arrangement, not three mandatory strategic dossiers. Tasks, implementation steps, test procedures and release operations remain in their source documents.

This skill creates or restructures the roadmap. It does not create requirements, rescore priorities, break down tasks or approve execution. Use capture-work-items for missing requirement or defect records, promote-roadmap-items for tier changes, and update-roadmap for status and timing maintenance.

Inputs and output

Read project norms, goals, the existing roadmap and source requirement and defect records. Default output is docs/process-management/roadmap.md; preserve a project's established path. The output is a living roadmap with a dated summary, a compact Now/Next/Later view, optional iteration/version and schedule views, ordering rationale, material boundaries and links to detail. Load roadmap modeling for view structure and generator input; the quality rule owns evaluation criteria.

Procedure

Select the stage entry

Resolve the stage contract from the current request and prior authorization before reading business systems or writing content. Keep this inside the existing skill:

  • Structure only: run structure design and structural Self-Check, return the inspectable draft and stop. On an existing populated plan, repair only authorized organization and preserve facts; do not reset it to blank without a reset request.
  • Content on settled structure: resume at source inventory and content planning below. Reuse the confirmed roles, fields, navigation and destination; do not ask layout questions again. Verify relevant facts, distinguish them from unresolved business choices, and present options before replacing settled decisions.
  • Continuous structure and content: perform and validate structure design, then continue into authorized content planning without another confirmation. Stop only at a user-reserved boundary or a material unresolved choice; complete independent authorized work while that choice is pending.

Report structure acceptance separately from content acceptance using the Spec's criteria. Empty fields are valid in structure review. Unknown facts or undecided commitments in a content draft are gaps, never evidence of full content approval. Keep stage reports in the response/review record rather than the reader artifact.

Existing-project first alignment

When the request is adoption/compliance alignment of an existing plan, use the Spec's alignment contract before the creation procedure below. Read review findings, the actual plan and source records; do not assume missing roadmap.md means no plan. Inventory known business facts and stable IDs/URLs/anchors, classify structural fixes versus evidence gaps and decision changes, and apply only authorized repairs. Preserve existing scope/order/tiers/priorities, commitments and views; do not rerun initial selection, default tier advice or strategy creation. Existing authorization is sufficient for reversible structural repair; ask only for missing facts or separate business choices.

Repair in place and preserve anchor compatibility. Where requirements are missing, report registration gaps and route to capture; do not turn tasks into invented requirements or declare the whole requirement chain compliant. Keep unmappable states or absent planning fields explicit. Use manual Markdown/platform editing when the generator cannot preserve the original path, anchors or unknown fields. Compare before/after protected facts and links, then re-run review. Report repaired gaps, unchanged decisions, remaining evidence limitations and separately proposed actions. With no new gap, leave the plan unchanged. See the complete adoption example.

Settle structure before population

Apply the Spec's structure-first contract before creation or authorized redesign. Identify readers, entry point, enabled and omitted views, file responsibilities, headings, columns and navigation; use an existing choice when sufficient. Resolve material layout choices before drafting business content, without another approval ritual for already authorized choices. Do not translate “independent content” into a file for every field or object.

For a structure-only request, use the clean topic-split templates and authoring guide and paired example as an optional starting combination. Keep placeholders/empty tables; do not import prior business material, assign sample IDs, infer cadence or invent history. Retain the user's selected layout and omit unselected views. Generate the six-role blank combination with python3 <skill-dir>/scripts/render-roadmap.py --blank --output-dir DIR and optional --locale en|zh-CN; no business JSON is accepted. --blank --check checks the bundled structure without writes. For another layout, author it manually rather than inventing a tool option. Run structure/link/format review, report only that scope, and stop before population when the user requested confirmation. Subsequent business work resumes from the settled structure rather than reopening it.

For populated outputs, keep authoring instructions in the guide and source-backed reader explanations in the artifact. Existing template modules are composition instructions, not text to copy into deliverables. Name the reference and disclose differences whenever claiming template or example fidelity.

Creation and authorized restructuring

  1. Read project norms, existing choices and linked planning/execution/release records, protecting concurrent edits. Use the scenario selection guide and template combinations. Extract work mode/cadence, delivery mode, readers and constraints from evidence; bundle only unanswered questions that affect the recommendation. Do not ask known facts again. Propose a primary perspective, supporting/omitted views, single/split layout, rationale, source basis, uncertainty and maintenance cost. Recipes are starting advice, not mandatory framework rules. Honor an explicit choice or existing authorization; ask only unresolved product trade-offs. Retain the combination in existing norms/roadmap sources. Reuse established views/layout/destination during maintenance; new options alone trigger no interview or schema migration. When context conflicts or materially changes, retain current choices and present a focused reconsideration proposal rather than applying fresh defaults. Confirm a new destination only when not already explicit. Load roadmap-quality, the base template, and the closest complete scenario.
  2. Inventory requirements and defects with IDs, source paths, outcomes, priorities, approval states, execution evidence, project closure criteria and dependencies. Extract from existing sources before asking. If an input is only a task or task group, resolve its parent requirement or defect. Merge references to the same parent into one row. An independent defect may have its own row linked to the affected requirement. Never invent a parent or approval; report missing registration and hand off to capture-work-items.
  3. Preserve established priorities, pauses and capacity decisions. Arrange eligible records using priority, readiness and existing user decisions. State blockers separately from priority; missing prerequisites do not make a P0 item low priority.
  4. Fill the template with concise outcome rows. Keep approval, execution status and key conditions in separate columns. Map source evidence to exactly one execution label from the quality rule; report unresolved mappings outside the status cell without guessing. State or link the existing project closure criterion. Development completion, acceptance and production release remain distinct. Do not add or waive a project gate. Fill conditions only with the next material condition and its source link. For Now, expose completion conditions; for Next, material start conditions; for Later, re-evaluation triggers. Link to source acceptance criteria rather than reproducing them. Empty tiers are valid.
  5. Explain the direction and current arrangement concisely in the overview. Ordering rationale applies the existing priority policy and verified conditions; it does not create another policy or reassess settled priorities. Link an existing decision when sufficient. Surface material unknowns, especially unverified execution, before the rows. Include known near-term outcomes without repeating the inventory. Put policy/closure definitions and selection/language evidence in the later planning-basis section, using a useful summary plus the authority link, or a bare link when enough. Follow the Spec's document-family naming advice without creating mandatory children or renaming established URLs. Link exhaustive inventories, task lists and evidence. Add metrics or hypotheses only when they affect a real decision; do not fill sections or invent numbers to satisfy a template.
  6. For selected iteration views, collect cadence, goals, entry scope, owners, timeboxes and source/board links; derive version mapping from entry membership. Keep far-future work directional and unallocated when not decided. For selected version views, group source IDs by the existing delivery decision; retain unassigned work and unknown owners/windows visibly. For selected schedules, gather known spans, milestones, timing basis and dependencies; use relative weeks when the start date is unknown. Do not invent dates, auto-schedule resources or use a group status as evidence of member acceptance. See generation. Review against the quality rule. Summarize current priorities, subsequent work and key blockers from the main view alone. If that requires task lists or evidence reports, revise the main view; remove detail that does not change those answers.
  7. Apply the user's authorized scope. Ask only about unresolved product tradeoffs or missing facts that prevent a sound plan; do not repeat an existing authorization. Persist the dated roadmap and report changes and evidence limitations.

Boundaries

  • Only requirements and defects are requirement entries; version groups reference them, phases scope their work, and independent milestones relate to entries, versions or phases (or are global). Task IDs and task groups are not requirement entries.
  • Preserve source status and authorization; inclusion is not approval to implement or release.
  • Link one source of truth for detailed progress and acceptance.
  • State that backlog requirements and defects map to the roadmap and that items outside it are not done by default.
  • Follow explicit project capacity decisions; introduce no default quotas or item limits.
  • Template structure is presentation guidance, not a reason to pad content.

Self-Check

Apply these checks to the requested stage. For a structure-only scope, source-dependent business, execution, schedule and publication checks are not evaluated; passing the structural subset does not claim the populated-plan checks passed.

  • Stage entry, existing authorization and stage-specific acceptance were resolved; continuous work did not add an unnecessary confirmation, and content work reused settled structure.
  • Structure was settled before population; an explicit structure-only request retained empty business fields and stopped at its requested boundary.
  • Review scope and example differences are explicit; no author guidance leaked into the artifact and no unnecessary files were introduced.
  • For a populated plan, project norms, goals, source records, quality rule, template and example were read.
  • Every entry is a linked requirement or defect; parent references are consolidated.
  • Priority, approval, pauses, prerequisites and authorized capacity are preserved.
  • Tier precision is appropriate and completion or start conditions are recoverable.
  • The main view explains priorities, subsequent work and blockers without task detail.
  • Arrangement rationale explains policy application; policy is linked once, and plan/unknowns precede maintenance metadata under the Spec's reading hierarchy.
  • Approval and execution columns are separate; every execution cell has one fixed label.
  • Key conditions are brief and linked; closure criteria and source-backed status mappings were checked.
  • Detailed progress and evidence remain in their source documents.
  • Applicable quality criteria were checked; alignment with unresolved source facts reports limitations rather than a full pass, and no unverified fact was invented.
  • The requested change is persisted with its update date and authorization scope respected.
  • Selected views and destination are grounded in user choice; all selected views agree.
  • Tool validation, SVG inspection and destination receipts or limitations are reported.
  • First alignment preserved known business facts and stable links, repaired only authorized structure, and was re-reviewed without automatically running planning steps.

Local generation and delivery

Use python3 <skill-dir>/scripts/render-roadmap.py INPUT.json --check to validate temporary facts under the Spec, then pass --output-dir DIR and optionally --layout split (legacy default single; schema 1.4 reuses its saved layout) for the selected local destination. Use --overwrite only for confirmed replacement of reserved generated filenames. Never overwrite authoritative evidence or treat the temporary JSON as a second project plan. The generator emits Markdown and, when selected, SVG and dated Mermaid; inspect the SVG in a local browser or image-capable viewer. If Python is unavailable, prepare the same views manually and state that tool validation did not run. No runtime dependency installation is permitted.

Read the generator example. Preserve the user's source links relative to the chosen output path; the generator does not relocate project records. Copying a roadmap to a new directory requires rebasing relative links.

For a knowledge-base destination, discover available document read/write and image upload tools, map them to the selected operation, read the latest target before editing and preserve unrelated content. Verify Mermaid support with a small preview before relying on it. Check disclosure-element support as well; if unavailable, expand folded content or use authorized linked detail pages without hiding facts. If native rendering is unavailable, use supported image upload and retain source access. If upload/write is unavailable, report undelivered views and the local output location; do not silently switch destination or claim publication. External writes require the user's explicit destination/publication authorization. This capability performs one delivery, never continuous or bidirectional sync.

For remote authority or migration, apply the Spec's remote delivery and closeout. Read the platform delivery guide; for Yuque load its linked adapter only when that destination is selected. Preserve rich markup, fresh-read conflict checks and separate stored versus rendered acceptance, scoped to affected properties rather than every editor-generated ID. Reuse unaffected body/chart evidence for metadata-only edits and still-valid platform probe results. After publication, account for unique local facts/history and diagram sources before any authorized cleanup. Check recovery and inbound references; do not delete unrelated files or create another editable local plan. Report incomplete views and evidence.

Filled deliverable example

Complete Service Desk deliverables. This is a fictional completed output, not a template or authorization to change the adopting project.

Phase and milestone contract

Resolve roadmap concepts from the Roadmap Spec. A version groups deliverables; a phase spans work; a milestone marks an event. Collect phase scope, owner and exit condition, and milestone category, related IDs, owner, occurrence criterion, state and evidence when these views are useful. Do not insert events as fake requirements. Use JSON 1.1 or later for independent records; retain 1.0 and single-view compatibility. Give version spans and approval/release points separate IDs. Missing event dates remain unknown, never inferred.

Self-check: concepts, selected views and linked evidence agree with the source records.

Revision history maintenance

At initial creation or structural refresh, apply the revision contract. Resolve existing decision/history sources before writing. Keep the latest five summaries with before/after, reason, impact and details links; preserve older history at a resolving source before shortening the main view. An initial baseline may have no revisions. For a legacy roadmap, disclose adoption and unknown earlier history; do not fabricate old decisions. Use schema 1.2 or later when generating revision summaries. Read existing history before overwrite and carry retained records forward. The renderer presents supplied decisions; it does not discover or append them.

Self-check: material changes are traceable, retained links resolve, and repeated execution adds no duplicate revision.

Document layout and iterations

Apply the reading and ownership contract. Keep overview and priority arrangement in the main roadmap; group selected delivery views, phases and events under a delivery plan, followed by timeline, revisions and planning basis/sources. Policy, closure, view selection and language evidence remain recoverable there rather than occupying the first screen. Fold completed rows separately without changing their tier. Remove author guidance and repeated inventories from filled documents.

Default to one document for small plans. Split when readers, owners, update cadence or volume justify it; keep the main independently useful, with near-term delivery, key events/blockers and latest five revisions. Detail pages link back. Declare one editable authority per fact and generate/link summaries. Do not create mandatory iteration/version documents or a separate Gantt authority.

Use schema 1.3 or later for optional iteration views. Iteration goals/timeboxes organize work; versions group delivery. Carry-over is valid, and iteration end proves no acceptance or release. Keep tasks/daily assignments on linked execution boards. Single and split generation use the same facts; the latter reserves roadmap-delivery.md and roadmap-history.md alongside existing outputs. Read source history before replacement; verify all navigation/source links and stale-output cleanup within overwrite scope. For manually split iteration/version plans, respect established paths and ownership.

Self-check: the main alone explains priorities, blockers and delivery; selected iterations and child views agree, navigation resolves, and each fact has one authority.

Scenario selection and generation

Follow the selection contract. Use the shared base plus selected modules instead of copying four complete templates. The four recipes cover iteration products, continuous flow, staged delivery and learning pilots; custom combinations remain valid. For flow, link project workflow, board, WIP policy, service expectation and metrics; invent no numeric defaults.

The optional --recommend command consumes partial planning_context or an existing choice and prints advice/questions only. It does not inspect project files, ask the user interactively or apply a choice. Source discovery and tailoring remain this skill's work. Do not convert a proposal into approval. Legacy inputs retain their views without forced context backfill. Generate 1.4 only after a settled selection is sourced; its primary perspective and phase/event/flow views are explicit, and its saved layout is reused. A conflicting CLI layout requires updating the source decision first. Revision/history and destination safeguards remain in force.

Self-check: known facts were read first; missing questions were focused; recommendation and settled choice are distinct; existing choices were reused and source-backed.

Deliverable language

Before writing roadmap-chain deliverables, apply the language contract. Read the user instruction, consuming-project policy and existing artifact first; retain a settled choice across handoffs. For a new artifact infer only from consistent reader/document evidence; ask only unresolved gaps or winning-level conflicts. Conversation language and English templates alone do not select artifact language. Record the choice and source in existing norms/planning decisions; no new mandatory configuration. Localize all new prose and display labels consistently while preserving IDs, machine fields, canonical enums, source links and historical originals.

Prepare free-text names, goals, conditions, approval labels and revision summaries in the chosen language before rendering. Use schema 1.5 or later for English/Chinese localization; --resolve-language is read-only advice, not an automatic translator or interactive interview. See the workflow and paired examples.

Self-check: language evidence and retained choice are explicit; all new display prose is consistent, machine contracts are unchanged, and unavailable checks are reported.

Executable topic layout and conversation regression

Use schema 1.6 with the retained selection.layout: topic-split for populated main-plus-five output. Keep its established language record. The renderer fills the selected blank scaffold without changing headings or table columns. Inspect all six documents and schedule assets; do not treat a successful render as source verification. Follow the Spec's ownership manifest and overwrite boundaries before resetting or replacing generated output.

The regression guide separates deterministic scripted multi-turn replay from explicit live-model eval. Replay invokes the real renderer but does not prove model intent recognition. Only --eval records live decisions; failed/timeout/provider runs are failures, not skipped success. Neither test mode may publish or alter business sources.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.