From Foldspace: Add to Your App
Turn one product idea into a clear plan for one or more related Foldspace actions before any code. Use when the user has a rough idea like "invite a teammate" or "create an invoice", needs to define what the action should do, needs inputs and behavior written down, or wants an action planned before coding. Not for discovering many ideas or writing handler code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/foldspace-codebase-plugin:foldspace-plan-actionThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill once one action idea is chosen. The goal is a Foldspace-ready
Use this skill once one action idea is chosen. The goal is a Foldspace-ready action plan the user approves before coding.
The plan usually defines one action. If the workflow targets product objects by human-friendly labels but the app needs stable internal IDs, this skill may plan two related actions: a reusable resolver action plus the primary action.
foldspace-get-started -> foldspace-setup-agent -> foldspace-discover-actions -> foldspace-plan-action -> foldspace-build-action -> foldspace-verify-actions.
You are here: step 3 — plan one action.
Prerequisites: One selected action idea or workflow. If no action idea is
selected, use foldspace-discover-actions first.
Skipped a step? Ask what is already complete and route the user to the earliest incomplete prerequisite.
As you build the plan, explain these to the user in plain language so they understand what they are approving and could plan an action themselves:
For product objects referenced internally by stable IDs, prefer splitting lookup from primary execution:
Use this for common entities such as accounts, projects, tickets, invoices, users, orders, assets, workspaces, and similar product objects. Do not collapse a reusable lookup into a one-off primary action when future actions are likely to need the same ID.
If the user does not know what action they want, route to
foldspace-discover-actions first.
If the user wants to implement immediately but no schema or approved behavior exists, stop and produce the action plan for approval first. Planning before building prevents wasted code and keeps the agent's behavior predictable.
Do not implement handler code in this skill. Hand off an approved plan to
foldspace-build-action.
Always read action-design.md before finalizing the plan. Use it to preserve
outcome, current flow, AI-enabled flow, success metric, business KPI, and exit
criteria context, and to keep the action bounded, product-grounded, loop-safe,
and distinct from nearby actions.
Use this skill when the user already has a general idea, for example:
If the user does not know what action they want, use foldspace-discover-actions
first. If the action already has an approved schema and behavior, use
foldspace-build-action.
Clarify the desired outcome.
Scan relevant frontend context.
Choose the action modality.
action-design.md.Design the action shape.
Design the return shape.
success and safe error fields for failure cases.Present the plan for approval.
foldspace-build-action."## Foldspace Action Plan
### Action
- ID:
- Name:
- Description:
- Modality:
- When the agent should use it:
- User role:
- Outcome:
### Product Flow
- Current flow:
- AI-enabled flow:
- Exit criteria:
- Success metric:
- Business KPI:
### Parameters
- `param_name` (type, required/optional): description
### Return Shape
```json
{
"success": true
}
```
### UX Behavior
Text-Only, Chatterblock, or Shared State behavior in product terms.
### Resolver Split
- Resolver action needed: yes/no
- Resolver action ID:
- Primary action ID:
- Why this split helps:
### Implementation Notes
- Likely files:
- Existing components/APIs to reuse:
- Error handling notes:
### Next Step
Ask for approval before implementation.
Recommended next-step routing: After a plan is approved, recommend
foldspace-build-action with the approved action ID, schema, modality, and
implementation notes. If discovery surfaced several actions, plan and build them
one at a time.
Always end with:
Summary:
- Completed: <what was planned>
- Concepts: <Foldspace terms introduced, e.g. action plan, action ID, return shape, resolver action>
- If you did this yourself: write down the action ID, its inputs, and the small bit of data it returns before touching code.
- Next step: <one recommended `foldspace-*` skill with concrete inputs>
- Blockers: <missing approval, unclear inputs, or None>
npx claudepluginhub eucera/mcp-plugins --plugin foldspace-codebase-pluginCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.