xiaohongshu
xiaohongshu
create-lwc-tab
Creates a new Lightning Web Component with a tab and flexipage for display. Use when you need to create a new standalone page/tab with an LWC component.
Full skill instructions
Creates a new Lightning Web Component along with the necessary tab and flexipage metadata to make it accessible as a standalone page.
$ARGUMENTS should be the component name in camelCase (e.g., pledgeList)
Create directory: force-app/main/default/lwc/{componentName}/
{componentName}.js:
import { LightningElement } from 'lwc';
export default class ComponentName extends LightningElement {
// Component logic
}
{componentName}.html:
<template>
<!-- Component template -->
</template>
{componentName}.js-meta.xml:
<?xml version="1.0" encoding="UTF-8"?>
<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
<apiVersion>62.0</apiVersion>
<isExposed>true</isExposed>
<targets>
<target>lightning__Tab</target>
<target>lightning__AppPage</target>
<target>lightning__HomePage</target>
</targets>
</LightningComponentBundle>
Create: force-app/main/default/tabs/{TabName}.tab-meta.xml
<?xml version="1.0" encoding="UTF-8"?>
<CustomTab xmlns="http://soap.sforce.com/2006/04/metadata">
<label>Tab Label</label>
<lwcComponent>{componentName}</lwcComponent>
<motif>Custom70: Handsaw</motif>
</CustomTab>
Create: force-app/main/default/flexipages/{Page_Name}.flexipage-meta.xml
Important: Component instances MUST have an <identifier> element or deployment fails.
<?xml version="1.0" encoding="UTF-8"?>
<FlexiPage xmlns="http://soap.sforce.com/2006/04/metadata">
<flexiPageRegions>
<itemInstances>
<componentInstance>
<componentName>c:{componentName}</componentName>
<identifier>{componentName}1</identifier>
</componentInstance>
</itemInstances>
<name>main</name>
<type>Region</type>
</flexiPageRegions>
<masterLabel>Page Label</masterLabel>
<template>
<name>flexipage:defaultAppHomeTemplate</name>
</template>
<type>AppPage</type>
</FlexiPage>
sf project deploy start \
--source-dir force-app/main/default/lwc/{componentName} \
--source-dir force-app/main/default/flexipages/{Page_Name}.flexipage-meta.xml \
--target-org lubavitchrv_partial \
--wait 10
New flexipages require activation before appearing in App Launcher. Use the activate-lightning-page skill if needed.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience