[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72Y80RPZW7N6TCKXMDBCP2F":3,"skill-same:01M72Y80RPZW7N6TCKXMDBCP2F":109},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":6,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M72Y80RPZW7N6TCKXMDBCP2F","building-components",null,"Guide for building modern, accessible, and composable UI components. Use when building new components, implementing accessibility, creating composable APIs, setting up design tokens, publishing to npm\u002Fregistry, or writing component documentation.","marcioaltoe\u002Fskills","marcioaltoe","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F1562865?v=4","01M72Y3750J2CG00P0H2AHDRSZ","Marcio Altoé","01M72Y37642F46H36R4E4S7BNA",0,"MIT","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: building-components\ndescription: Guide for building modern, accessible, and composable UI components. Use when building new components, implementing accessibility, creating composable APIs, setting up design tokens, publishing to npm\u002Fregistry, or writing component documentation.\n---\n\n# Building Components\n\n## When to use this skill\n\nUse when the user is:\n\n- Building new UI components (primitives, components, blocks, templates)\n- Implementing accessibility features (ARIA, keyboard navigation, focus management)\n- Creating composable component APIs (slots, render props, controlled\u002Funcontrolled state)\n- Setting up design tokens and theming systems\n- Publishing components to npm or a registry\n- Writing component documentation\n- Implementing polymorphism or as-child patterns\n- Working with data attributes for styling\u002Fstate\n\n## References\n\n- [definitions.mdx](.\u002Freferences\u002Fdefinitions.mdx) - Artifact taxonomy (primitives, components, blocks, templates)\n- [principles.mdx](.\u002Freferences\u002Fprinciples.mdx) - Core principles for component design\n- [accessibility.mdx](.\u002Freferences\u002Faccessibility.mdx) - ARIA, keyboard navigation, WCAG compliance\n- [composition.mdx](.\u002Freferences\u002Fcomposition.mdx) - Composable component patterns\n- [as-child.mdx](.\u002Freferences\u002Fas-child.mdx) - The as-child pattern for element polymorphism\n- [polymorphism.mdx](.\u002Freferences\u002Fpolymorphism.mdx) - Polymorphic component patterns\n- [types.mdx](.\u002Freferences\u002Ftypes.mdx) - TypeScript typing patterns for components\n- [state.mdx](.\u002Freferences\u002Fstate.mdx) - Controlled vs uncontrolled state management\n- [data-attributes.mdx](.\u002Freferences\u002Fdata-attributes.mdx) - Using data attributes for styling and state\n- [design-tokens.mdx](.\u002Freferences\u002Fdesign-tokens.mdx) - Design token systems and theming\n- [styling.mdx](.\u002Freferences\u002Fstyling.mdx) - Component styling approaches\n- [registry.mdx](.\u002Freferences\u002Fregistry.mdx) - shadcn-style registry distribution\n- [npm.mdx](.\u002Freferences\u002Fnpm.mdx) - Publishing components to npm\n- [marketplaces.mdx](.\u002Freferences\u002Fmarketplaces.mdx) - Component marketplace distribution\n- [docs.mdx](.\u002Freferences\u002Fdocs.mdx) - Writing component documentation\n","# Building Components\n\n## When to use this skill\n\nUse when the user is:\n\n- Building new UI components (primitives, components, blocks, templates)\n- Implementing accessibility features (ARIA, keyboard navigation, focus management)\n- Creating composable component APIs (slots, render props, controlled\u002Funcontrolled state)\n- Setting up design tokens and theming systems\n- Publishing components to npm or a registry\n- Writing component documentation\n- Implementing polymorphism or as-child patterns\n- Working with data attributes for styling\u002Fstate\n\n## References\n\n- [definitions.mdx](.\u002Freferences\u002Fdefinitions.mdx) - Artifact taxonomy (primitives, components, blocks, templates)\n- [principles.mdx](.\u002Freferences\u002Fprinciples.mdx) - Core principles for component design\n- [accessibility.mdx](.\u002Freferences\u002Faccessibility.mdx) - ARIA, keyboard navigation, WCAG compliance\n- [composition.mdx](.\u002Freferences\u002Fcomposition.mdx) - Composable component patterns\n- [as-child.mdx](.\u002Freferences\u002Fas-child.mdx) - The as-child pattern for element polymorphism\n- [polymorphism.mdx](.\u002Freferences\u002Fpolymorphism.mdx) - Polymorphic component patterns\n- [types.mdx](.\u002Freferences\u002Ftypes.mdx) - TypeScript typing patterns for components\n- [state.mdx](.\u002Freferences\u002Fstate.mdx) - Controlled vs uncontrolled state management\n- [data-attributes.mdx](.\u002Freferences\u002Fdata-attributes.mdx) - Using data attributes for styling and state\n- [design-tokens.mdx](.\u002Freferences\u002Fdesign-tokens.mdx) - Design token systems and theming\n- [styling.mdx](.\u002Freferences\u002Fstyling.mdx) - Component styling approaches\n- [registry.mdx](.\u002Freferences\u002Fregistry.mdx) - shadcn-style registry distribution\n- [npm.mdx](.\u002Freferences\u002Fnpm.mdx) - Publishing components to npm\n- [marketplaces.mdx](.\u002Freferences\u002Fmarketplaces.mdx) - Component marketplace distribution\n- [docs.mdx](.\u002Freferences\u002Fdocs.mdx) - Writing component documentation\n",{"name":5,"description":7},"main","dea450cfd9df78b5cf721964ef178a75cea55cbb","skills\u002F05-implementation-loop\u002Fbuilding-components",2,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills","https:\u002F\u002Fmarcioaltoe.github.io\u002Fskills\u002F","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe","Senior Software Engineer · Backend, Systems & AI","2026-11-14 18:29:56",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add marcioaltoe\u002Fskills --skill building-components",{"tool":39,"command":40},"bunx","bunx skills add marcioaltoe\u002Fskills --skill building-components",{"tool":42,"command":43},"pnpm","pnpm dlx skills add marcioaltoe\u002Fskills --skill building-components","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002FSKILL.md",true,[47,53,57,61,65,69,73,77,81,85,89,93,97,101,105],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Faccessibility.mdx","REFERENCE","参考文档",18821,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Faccessibility.mdx",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fas-child.mdx",7204,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fas-child.mdx",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fcomposition.mdx",7227,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fcomposition.mdx",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Fdata-attributes.mdx",11938,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fdata-attributes.mdx",{"path":66,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":67,"sourceHtmlUrl":68},"references\u002Fdefinitions.mdx",10689,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fdefinitions.mdx",{"path":70,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fdesign-tokens.mdx",2273,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fdesign-tokens.mdx",{"path":74,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fdocs.mdx",6341,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fdocs.mdx",{"path":78,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":79,"sourceHtmlUrl":80},"references\u002Fmarketplaces.mdx",5947,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fmarketplaces.mdx",{"path":82,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fnpm.mdx",5459,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fnpm.mdx",{"path":86,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Fpolymorphism.mdx",13916,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fpolymorphism.mdx",{"path":90,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fprinciples.mdx",4228,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fprinciples.mdx",{"path":94,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fregistry.mdx",6543,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fregistry.mdx",{"path":98,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":99,"sourceHtmlUrl":100},"references\u002Fstate.mdx",3283,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fstate.mdx",{"path":102,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":103,"sourceHtmlUrl":104},"references\u002Fstyling.mdx",9000,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Fstyling.mdx",{"path":106,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":107,"sourceHtmlUrl":108},"references\u002Ftypes.mdx",5851,"https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F05-implementation-loop\u002Fbuilding-components\u002Freferences\u002Ftypes.mdx",[110,118,125,132,139,146],{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":116,"publishedAt":117},"01M72YNVSF4JTTQG3YTR9QNT4Z","startup-validator","Comprehensive startup idea validation and market analysis tool. Use when users need to evaluate a startup idea, assess market fit, analyze competition, validate problem-solution fit, or determine market positioning. Triggers include requests to \"validate my startup idea\", \"analyze market opportunity\", \"check if there's demand for\", \"research competition for\", \"evaluate business idea\", or \"see if my idea is viable\". Provides data-driven analysis using web search, market frameworks, competitive research, and positioning recommendations.","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F10-marketing\u002Fstartup-validator\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":117},"01M72YNN34B4MYKEX1X6BB1NS1","positioning-icp","When the user wants to define their ideal customer profile, position an AI product, build messaging architecture, or validate product-market fit. Also use when the user mentions 'ICP,' 'ideal customer profile,' 'positioning,' 'PMF,' 'product-market fit,' 'messaging,' 'buyer persona,' 'enrichment signals,' 'market positioning,' or 'competitive positioning.' This skill covers market positioning, ICP definition, messaging architecture, and PMF validation for AI-native products. Do NOT use for technical implementation, code review, or software architecture.","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F10-marketing\u002Fpositioning-icp\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":117},"01M72YNG8XJ4RHRB5DQMCY9C1N","copywriting","When the user wants to write or rewrite page copy (homepage, landing, pricing, feature), or asks which headline, promise, or message to lead with. Diagnoses the input first (blank brief, real voice, or point edit) and changes only what it calls for. Claims must be supportable; a declined claim names the evidence that would unlock it. No AI tells like 'it's not X, it's Y' or 'no X, no Y, no Z'. For editing, see copy-editing. For emails, see emails. For the offer, see offers.","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F10-marketing\u002Fcopywriting\u002FSKILL.md",[],[],{"skillNo":133,"name":134,"nameZh":6,"description":135,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":136,"categories":137,"keywords":138,"publishedAt":117},"01M72YNBF4JMQ4VCFHTW0WS6SD","business-storyteller","Transforms technical work into persuasive business-language documents for non-technical stakeholders, including internal announcements, approval proposals, incident explainers, technical-debt cases, product explainers, and investor or partner memos. Use when the user asks to present technical work to the company, explain software to business teams, write a business case, make an approval document, or convert a technical artifact into stakeholder communication in the requested language. Do not use for READMEs, specs, ADRs, external marketing pages, or customer-facing sales copy.","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F10-marketing\u002Fbusiness-storyteller\u002FSKILL.md",[],[],{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":117},"01M72YN8NQ6QR0GHX2A8YW2K4T","brand-storytelling","Help users craft compelling brand narratives. Use when someone is defining brand strategy, writing company positioning, creating pitch narratives, developing messaging frameworks, or trying to make their company story more memorable.","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F10-marketing\u002Fbrand-storytelling\u002FSKILL.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":150,"licenseFileUrl":151,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":117},"01M72YN3CJH7CKPF4AXNY79Q9S","skill-creator","Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F09-learning-loop\u002Fskill-creator\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fmarcioaltoe\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002F09-learning-loop\u002Fskill-creator\u002FSKILL.md",[],[]]