develop▌
subframeapp/subframe · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
Implement Subframe designs with business logic into your codebase.
- ›Fetches designs via MCP from Subframe by URL, page ID, or name, then syncs required components locally
- ›Detects project state and guides you through either full Subframe integration or using designs as inspiration in existing non-Subframe projects
- ›Handles component syncing, page creation in the correct directory structure, and preservation of existing business logic when updating designs
- ›Provides patterns for adding
Implement Subframe designs in the codebase. Fetch the design via MCP, sync components, and add business logic.
MCP Authentication
If you cannot find the get_page_info tool (or any Subframe MCP tools), the MCP server likely needs to be authenticated. Ask the user to authenticate the Subframe MCP server. If the user is using Claude Code, instruct them to run /mcp to view and authenticate their MCP servers, and then say "done" when they're finished.
Detect Project State
Before starting, check for package.json and .subframe/ folder in the current directory:
| Condition | Action |
|---|---|
No package.json |
Run /subframe:setup first — there's no project to implement into yet. |
Has package.json AND has .subframe/ folder |
Proceed with the workflow below. |
Has package.json but NO .subframe/ folder |
Ask the user (see below). |
Existing non-Subframe project
If the current directory has a package.json but no .subframe/ folder, ask the user which approach they prefer:
- Use the design as inspiration — Fetch the design via MCP for reference, but implement the page using the existing styles, components, and patterns already in the repo. Translate the Subframe design's layout and structure into whatever UI framework the project already uses (e.g., existing component library, CSS modules, styled-components). Do NOT install Subframe or sync components. Skip to Inspiration Workflow.
- Use Subframe styles and components — Install Subframe into the project so the design renders pixel-perfect with Subframe's generated code. Run
/subframe:setupfirst, then continue with the Workflow below.
Workflow
- Fetch the design - Use
get_page_infowith the URL, ID, or name. - Sync components if needed - Only if components don't exist locally
- Create the page - Put it in the right place per codebase patterns
- Add business logic - Data fetching, forms, events, loading/error states
Inspiration Workflow
Use this workflow when the user chose to use the design as inspiration in an existing non-Subframe project.
- Fetch the design - Use
get_page_infowith the URL, ID, or name to get the design's layout and structure. Use other available Subframe MCP tools as needed to get additional context (e.g.,get_component_infoto understand a component's props,get_themeto check theme values). - Study existing patterns - Look at the project's existing components, styles, and conventions
- Create the page - Implement the design using the project's existing UI framework, mapping Subframe components to their equivalents in the codebase (e.g., Subframe
Button→ the project's own button component) - Add business logic - Data fetching, forms, events, loading/error states
Fetching Designs
// By URL
get_page_info({ url: "https://app.subframe.com/PROJECT_ID/design/PAGE_ID/edit" })
// By ID (e.g., from /subframe:design)
get_page_info({ id: "PAGE_ID", projectId: "PROJECT_ID" })
// By name
get_page_info({ name: "Settings Page", projectId: "PROJECT_ID" })
// List all pages first if needed
list_pages({ projectId: "PROJECT_ID" })
Get the projectId from .subframe/sync.json. If .subframe/sync.json doesn't exist or doesn't contain a projectId, call list_projects to get the available projects. Each project includes a projectId, name, teamId, and teamName.
- One project: Use it automatically.
- Multiple projects: Always ask the user which project to use. Present each project with its
teamNameto disambiguate. If the user already mentioned a specific team or project name, match it against theteamNameandnamefields — but still confirm before proceeding. Never silently pick a project when multiple exist.
Syncing Components
Sync components when they don't exist locally. You can sync specific components by name:
npx @subframe/cli@latest sync Button Alert TextField
Or sync all components:
npx @subframe/cli@latest sync --all
When to sync:
- Components don't exist locally → Sync those specific components before implementing
- Components already exist → Don't sync automatically. If the user wants the latest versions, they'll ask.
Never modify synced component files - they get overwritten. Create wrapper components if you need to add logic.
Sync Disable
If you must modify a synced component file directly, add // @subframe/sync-disable to the top of the file:
// @subframe/sync-disable
import * as React from "react"
// ... rest of component
This prevents the file from being overwritten on future syncs.
Updating a sync-disabled component:
If the user wants to update a component that has sync-disable, the sync command will skip it. To get the latest version:
- Use
get_component_infoto fetch the latest code from Subframe - Manually merge the changes with the local modifications
Adding Business Logic
Subframe generates presentational code with placeholder data. You add:
Data fetching:
const { data, isLoading, error } = useQuery(...)
if (isLoading) return <Skeleton />
if (error) return <Alert variant="error">{error.message}</Alert>
return <PageComponent {...data} />
Form handling:
const handleSubmit = async (e: FormEvent) => {
e.preventDefault()
await submitForm(formData)
}
Event handlers:
<Button onClick={handleClick}>Submit</Button>
<Card actionSlot={<IconButton onClick={handleDelete} />} />
Updating Existing Pages
When a design changes:
- Fetch the updated design
- Update layout/structure from new design
- Preserve existing hooks, handlers, and state management
- Sync any new components
When diffing the updated design against the existing code, if there are design changes beyond what the user asked you to design (e.g., layout tweaks, new elements, removed sections), call those out and ask whether to include them.
MCP Tools Reference
| Tool | Purpose | Key Parameters |
|---|---|---|
get_page_info |
Fetch page code | url, id, or name; projectId |
get_component_info |
Fetch component code | url, id, or name; projectId |
list_pages |
List all pages | projectId |
list_components |
List all components | projectId |
get_theme |
Get Tailwind config | projectId, cssType |
How to use develop on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add develop
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches develop from GitHub repository subframeapp/subframe and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate develop. Access the skill through slash commands (e.g., /develop) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.4★★★★★48 reviews- ★★★★★Tariq Haddad· Dec 8, 2024
develop has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Harper Haddad· Dec 4, 2024
Useful defaults in develop — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★Neel Mehta· Nov 27, 2024
Solid pick for teams standardizing on skills: develop is focused, and the summary matches what you get after install.
- ★★★★★Chinedu Tandon· Nov 23, 2024
We added develop from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Mei Li· Nov 7, 2024
develop reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Chen Sethi· Nov 3, 2024
I recommend develop for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Harper Lopez· Oct 26, 2024
I recommend develop for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
- ★★★★★Chen Choi· Oct 22, 2024
develop reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Naina Torres· Oct 18, 2024
We added develop from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Chinedu Shah· Oct 14, 2024
Solid pick for teams standardizing on skills: develop is focused, and the summary matches what you get after install.
showing 1-10 of 48