agentleFS
DojoGenesisDojoGenesis/openclaw-plugin/skills/planning-with-files/SKILL.md

planning-with-files

Skill0 starsChanged 9 months agoMITView on GitHub

Route file-based planning tasks intelligently to specialized modes. Use when creating plans from uploaded specs, docs, code, or research. Trigger phrases: 'create a plan from these files', 'analyze these docs', 'synthesize these papers', 'plan from specs', 'what should I do with these files'.

67 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use react-best-practices, huashu-design and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • OpenAISkill

    react-best-practices

    React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

    Also in 5 projects that use this

  • XIYBHKSkill

    huashu-design

    花叔Design(Huashu-Design)——用HTML做高保真原型、交互Demo、幻灯片、动画、设计变体探索+设计方向顾问+专家评审的一体化设计能力。HTML是工具不是媒介,根据任务embody不同专家(UX设计师/动画师/幻灯片设计师/原型师),避免web design tropes。触发词:做原型、设计Demo、交互原型、HTML演示、动画Demo、设计变体、hi-fi设计、UI mockup、prototype、设计探索、做个HTML页面、做个可视化、app原型、iOS原型、移动应用mockup、导出MP4、导出GIF、60fps视频、设计风格、设计方向、设计哲学、配色方案、视觉风格、推荐风格、选个风格、做个好看的、评审、好不好看、review this design。**主干能力**:Junior Designer工作流(先给假设+reasoning+placeholder再迭代)、反AI slop清单、React+Babel最佳实践、Tweaks变体切换、Speaker Notes演示、Starter Components(幻灯片外壳/变体画布/动画引擎/设备边框)、App原型专属守则(默认从Wikimedia/Met/Unsplash取真图、每台iPhone包AppPhone状态管理器可交互、交付前跑Playwright点击测试)、Playwright验证、HTML动画→MP4/GIF视频导出(25fps基础 + 60fps插帧 + palette优化GIF + 6首场景化BGM + 自动fade)。**需求模糊时的Fallback**:设计方向顾问模式——从5流派×20种设计哲学(Pentagram信息建筑/Field.io运动诗学/Kenya Hara东方极简/Sagmeister实验先锋等)推荐3个差异化方向,展示24个预制showcase(8场景×3风格),并行生成3个视觉Demo让用户选。**交付后可选**:专家级5维度评审(哲学一致性/视觉层级/细节执行/功能性/创新性各打10分+修复清单)。

    Also in 3 projects that use this

  • VercelSkill

    vercel-deploy

    Deploy applications and websites to Vercel with a claimable preview. Use when the user requests deployment actions like "deploy my app", "deploy and give me the link", "push this live", or "create a preview deployment". No authentication required - returns preview URL and claimable deployment link.

    Also in 3 projects that use this

  • AnthropicSkill

    web-artifacts-builder

    Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

    Also in 6 projects that use this

  • JetBrainsSkill

    webapp-testing

    Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

    Also in 12 projects that use this

  • JetBrainsSkill

    slack-gif-creator

    Knowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack.

    Also in 6 projects that use this

  • +2 more from JetBrains

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 63 edited versions we read keep these.

  • 6

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Analyze Files: Read all uploaded files to understand their type, content, and quantity.

    line 43
  2. Distinctive:

    Apply Routing Logic: Use the routing table below to select the appropriate mode.

    line 45
  3. Distinctive:

    Gather Feedback: Ask if the selected mode was appropriate and log feedback for future routing improvements.

    line 70
  4. Distinctive:

    User Override: If the skill selects the wrong mode, you can always explicitly invoke the correct skill.

    line 78
  5. Distinctive:

    Solution: Always state which mode was selected and why before delivering results.

    line 109
  6. Distinctive:

    When running inside the Dojo Genesis plugin:

    line 133

“Common” is measured: kept by at least 6 in 10 of the 63 edited versions of this file we could read. “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

OpenClaw Integration: This skill is invoked by the Dojo Genesis plugin via /dojo run planning-with-files. The agent receives project context automatically via the before_agent_start hook. Use dojo_get_context for full state, dojo_save_artifact to persist outputs, and dojo_update_state to record phase transitions and decisions.

Planning with Files (Meta-Skill)

Version: 1.0
Created: 2026-02-08
Author: Manus AI
Purpose: To provide a unified interface for all file-based planning workflows while maintaining the specialized quality of each mode.


I. The Philosophy: One Entry, Many Paths

This skill acts as an intelligent router, analyzing the user's request and uploaded files to determine the most appropriate specialized workflow. It embodies the principle of intent-based routing, ensuring that the right tool is used for the right job without requiring the user to know the names of the individual skills.


II. When to Use This Skill

  • When you need to create a plan from uploaded files (specs, docs, code, research).
  • When you want to write a specification for a new feature or refactoring task.
  • When you need to synthesize multiple research files into actionable insights.
  • When you have files and a planning goal, but you're not sure which skill to use.

III. The Workflow

This is a 3-step workflow for routing and executing file-based planning tasks.

Step 1: File and Intent Analysis

Goal: Determine which mode is most appropriate for the user's request.

  1. Analyze Files: Read all uploaded files to understand their type, content, and quantity.
  2. Analyze Intent: Analyze the user's request for keywords and intent signals.
  3. Apply Routing Logic: Use the routing table below to select the appropriate mode.

Routing Table:

File Types & QuantityUser Intent KeywordsSelected Mode
1-2 files (any type)"plan", "refactor", "next steps"context-ingestion
Spec, requirements doc"spec", "zenflow", "prompt"specification-driven-development
3+ research files (PDFs)"synthesize", "research", "patterns"research-synthesis
Ambiguous(default)context-ingestion

Step 2: Mode Routing and Execution

Goal: Hand off the task to the selected specialized mode and monitor execution.

  1. Invoke Skill: Load the selected skill's workflow (context-ingestion, specification-driven-development, or research-synthesis).
  2. Pass Context: Pass the original files and request to the selected skill.
  3. Monitor Execution: Track the progress of the specialized skill.

Step 3: Delivery and Feedback

Goal: Deliver the results to the user and gather feedback for routing improvement.

  1. Present Output: Deliver the output file(s) from the specialized skill.
  2. Explain Routing: Briefly explain why the mode was selected (e.g., "I used the research synthesis engine because you uploaded multiple research papers.").
  3. Gather Feedback: Ask if the selected mode was appropriate and log feedback for future routing improvements.

IV. Best Practices

  • Trust the Router: The routing logic is designed to select the best mode for the job. Let the skill do its work.
  • Provide Clear Intent: The more specific your request, the better the routing will be (e.g., "synthesize these papers" is better than "look at these files").
  • User Override: If the skill selects the wrong mode, you can always explicitly invoke the correct skill.

V. Quality Checklist

  • Have you uploaded all relevant files for the planning task?
  • Have you provided a clear request with intent keywords (plan, spec, synthesize)?
  • Have you reviewed the output to ensure it matches your expectations?
  • Have you provided feedback on the routing decision if it was incorrect?

VI. Common Pitfalls

Underspecified Intent

Problem: Vague requests like "look at these files" force the router to guess. Guessing defaults to context-ingestion, which may not be what you wanted.

Solution: Include an intent keyword: "plan from these files," "synthesize these papers," or "spec this feature." One word changes the routing.

Mixing File Types Without Context

Problem: Uploading a spec, three research papers, and a code file together. The router sees conflicting signals and can't determine which workflow you need.

Solution: Either group files by purpose (research together, specs together) or state your intent explicitly. The router handles ambiguity, but clarity is faster.

Skipping the Routing Explanation

Problem: Jumping straight to the output without telling the user which mode was selected. If the mode was wrong, the user won't know until the output is off.

Solution: Always state which mode was selected and why before delivering results. One sentence is enough: "I routed this to research-synthesis because you uploaded 4 research PDFs."


VII. Example

Context: A user uploads two files — a backend architecture doc and a product brief — and says "help me plan the frontend for this."

Routing decision: The word "plan" + 2 files → context-ingestion. But "frontend" + "backend architecture doc" is a stronger signal for frontend-from-backend. The router selects frontend-from-backend based on the file type override.

Outcome: A frontend specification grounded in the actual backend endpoints, data models, and auth patterns from the uploaded architecture doc.


VIII. Related Skills

  • context-ingestion — Default routing target for general planning from files
  • research-synthesis — Target for multi-paper synthesis
  • release-specification — Target when files indicate a spec-writing workflow
  • frontend-from-backend — Target when backend architecture docs are present with frontend intent

OpenClaw Tool Integration

When running inside the Dojo Genesis plugin:

  1. Start by calling dojo_get_context to retrieve full project state, history, and artifacts
  2. During the skill, follow the workflow steps documented above
  3. Save outputs using dojo_save_artifact with the artifacts output directory
  4. Update project state by calling dojo_update_state to record skill completion and any phase transitions

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.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

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.