MCPcopy Create free account

hub / github.com/amaancoderx/npxskillui / functions

Functions269 in github.com/amaancoderx/npxskillui

↓ 1 callersFunctionderiveUrlName
(url: string)
src/modes/url.ts:150
↓ 1 callersFunctiondescribeKeyframe
(kf: ExtractedKeyframe)
src/writers/animations-md.ts:279
↓ 1 callersFunctiondetectAnimations
(content: string)
src/extractors/components.ts:205
↓ 1 callersFunctiondetectAntiPatterns
( rawTokens: RawTokens, components: ComponentInfo[], shadows: ShadowToken[] )
src/normalizer.ts:831
↓ 1 callersFunctiondetectBase
(values: number[])
src/normalizer.ts:591
↓ 1 callersFunctiondetectColorSchemeFromCSS
* Detect color-scheme from CSS file content (not HTML). * Called per-CSS-file so we catch :root { color-scheme: light dark; } in stylesheets. * Guar
src/extractors/tokens/http-css.ts:258
↓ 1 callersFunctiondetectDOMComponents
(url: string)
src/extractors/ultra/components-dom.ts:14
↓ 1 callersFunctiondetectFontFormat
* Detect the font format from magic bytes.
src/font-resolver.ts:131
↓ 1 callersFunctiondetectFrameworks
(projectDir: string)
src/extractors/framework.ts:24
↓ 1 callersFunctiondetectHTMLComponents
(html: string, css: string)
src/extractors/tokens/http-css.ts:1281
↓ 1 callersFunctiondetectLightSchemeHeuristic
* Heuristic: if the top-frequency colors skew light (lightness > 0.6), * treat as a light-scheme site even without an explicit color-scheme declarati
src/normalizer.ts:90
↓ 1 callersFunctiondetectPageSections
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:652
↓ 1 callersFunctiondetectProjectLibraries
(projectDir: string)
src/extractors/components.ts:53
↓ 1 callersFunctiondetectStatePatterns
(content: string)
src/extractors/components.ts:260
↓ 1 callersFunctiondownloadFontFromSource
* Try to download a font directly from its source URL (for custom/proprietary fonts * not available on Google Fonts API). Returns the local file path
src/font-resolver.ts:144
↓ 1 callersFunctionembedReferenceFiles
* Embed all reference files + token files inline into SKILL.md so that * when Claude Code loads the skill via /skills, it has the full design * syst
src/writers/skill.ts:62
↓ 1 callersFunctionemptyAnimResult
()
src/modes/ultra.ts:272
↓ 1 callersFunctionescapeRegex
(s: string)
src/extractors/tokens/http-css.ts:1123
↓ 1 callersFunctionextractCSSClasses
(content: string)
src/extractors/components.ts:338
↓ 1 callersFunctionextractCSSTokens
(projectDir: string)
src/extractors/tokens/css.ts:9
↓ 1 callersFunctionextractCSSUrls
(html: string, baseUrl: string)
src/extractors/tokens/http-css.ts:153
↓ 1 callersFunctionextractClassNamesFromJS
(js: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:473
↓ 1 callersFunctionextractColorsFromJSModule
(js: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:434
↓ 1 callersFunctionextractColorsFromValue
(value: string, tokens: RawTokens)
src/extractors/tokens/css.ts:394
↓ 1 callersFunctionextractColorsFromValue
(value: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1256
↓ 1 callersFunctionextractComponentTokens
(comp: any, tokens: RawTokens)
src/modes/dir.ts:211
↓ 1 callersFunctionextractComponents
(projectDir: string)
src/extractors/components.ts:37
↓ 1 callersFunctionextractComputedTokens
(url: string, maxPages = 5)
src/extractors/tokens/computed.ts:8
↓ 1 callersFunctionextractContainerMaxWidth
* Extract container / max-width patterns.
src/extractors/tokens/css.ts:283
↓ 1 callersFunctionextractContainerWidth
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1183
↓ 1 callersFunctionextractDOMStructure
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:397
↓ 1 callersFunctionextractDarkModeBlocks
* Extract :root and .dark CSS variable blocks to detect light/dark mode pairs.
src/extractors/tokens/css.ts:206
↓ 1 callersFunctionextractDarkModeBlocks
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1018
↓ 1 callersFunctionextractDarkModeVars
* Build dark mode variable pairs from collected CSS variables. * Detects patterns like --background (in :root) vs --background (in .dark).
src/extractors/tokens/css.ts:383
↓ 1 callersFunctionextractFirstRealFont
* From a CSS font-family value string (possibly with fallbacks), * extract the first real, non-generic, non-system, non-emoji font name. * Used to r
src/extractors/tokens/http-css.ts:312
↓ 1 callersFunctionextractFontFace
(content: string, tokens: RawTokens, cssBaseUrl?: string)
src/extractors/tokens/http-css.ts:1077
↓ 1 callersFunctionextractFontLinks
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:377
↓ 1 callersFunctionextractFontsFromConfigText
* When jiti fails, try to extract font family names from the raw config text. * Only looks within fontFamily blocks to avoid false positives from con
src/extractors/tokens/tailwind.ts:285
↓ 1 callersFunctionextractFromCSS
(content: string, tokens: RawTokens)
src/extractors/tokens/css.ts:70
↓ 1 callersFunctionextractFromFile
(filePath: string, tokens: RawTokens)
src/extractors/tokens/tokens-file.ts:56
↓ 1 callersFunctionextractHttpCSSTokens
(url: string, maxPages = 3)
src/extractors/tokens/http-css.ts:16
↓ 1 callersFunctionextractInlineAttributeColors
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:196
↓ 1 callersFunctionextractInlineStyles
(html: string)
src/extractors/tokens/http-css.ts:187
↓ 1 callersFunctionextractJSXSnippet
(content: string)
src/extractors/components.ts:380
↓ 1 callersFunctionextractKeyframeAnimations
* Extract @keyframes animations from CSS.
src/extractors/tokens/css.ts:255
↓ 1 callersFunctionextractKeyframes
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1063
↓ 1 callersFunctionextractLayouts
(url: string)
src/extractors/ultra/layout.ts:15
↓ 1 callersFunctionextractMediaBreakpoints
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1136
↓ 1 callersFunctionextractMetaColors
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:327
↓ 1 callersFunctionextractPageLinks
(html: string, baseUrl: string, origin: string)
src/extractors/tokens/http-css.ts:824
↓ 1 callersFunctionextractProps
(content: string)
src/extractors/components.ts:396
↓ 1 callersFunctionextractSPAModules
(html: string, tokens: RawTokens, allCssContent: string[])
src/extractors/tokens/http-css.ts:408
↓ 1 callersFunctionextractSpacingValues
(value: string, tokens: RawTokens)
src/extractors/tokens/css.ts:418
↓ 1 callersFunctionextractSpacingValues
(value: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1268
↓ 1 callersFunctionextractTailwindPatterns
(classes: string[])
src/extractors/components.ts:277
↓ 1 callersFunctionextractTailwindTokens
(projectDir: string)
src/extractors/tokens/tailwind.ts:17
↓ 1 callersFunctionextractTokensFile
(projectDir: string)
src/extractors/tokens/tokens-file.ts:19
↓ 1 callersFunctionextractTransitionParts
(value: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:798
↓ 1 callersFunctionextractVariants
(content: string)
src/extractors/components.ts:301
↓ 1 callersFunctionextractVisualProperties
(comp: ComponentInfo)
src/writers/design-md.ts:348
↓ 1 callersFunctionextractWithRegex
(content: string, tokens: RawTokens)
src/extractors/tokens/tokens-file.ts:175
↓ 1 callersFunctionextractWithRegex
(content: string, tokens: RawTokens)
src/extractors/tokens/css.ts:300
↓ 1 callersFunctionextractWithRegex
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1194
↓ 1 callersFunctionextractZIndex
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1173
↓ 1 callersFunctionextractZIndexValues
* Extract z-index values used in the CSS.
src/extractors/tokens/css.ts:270
↓ 1 callersFunctionfetchFontMetadata
* Query Google Fonts API for a specific font family. * Returns download URLs for each weight variant (TTF format).
src/font-resolver.ts:41
↓ 1 callersFunctionfindBorderRadius
(profile: DesignProfile)
src/writers/design-md.ts:789
↓ 1 callersFunctionfindCSSFiles
(dir: string, depth = 0)
src/extractors/tokens/css.ts:47
↓ 1 callersFunctionfindTailwindConfig
(dir: string)
src/extractors/tokens/tailwind.ts:228
↓ 1 callersFunctionfingerprint
(el: Element)
src/extractors/ultra/components-dom.ts:32
↓ 1 callersFunctionflattenColors
( obj: Record<string, any>, prefix: string, out: RawTokens['colors'] )
src/extractors/tokens/tailwind.ts:236
↓ 1 callersFunctionformatCategory
(cat: string)
src/writers/components-md.ts:157
↓ 1 callersFunctiongenerateAgentPromptGuide
(profile: DesignProfile)
src/writers/design-md.ts:702
↓ 1 callersFunctiongenerateAnimationMotion
(profile: DesignProfile)
src/writers/design-md.ts:511
↓ 1 callersFunctiongenerateAnimationSection
(profile: DesignProfile)
src/writers/skill.ts:837
↓ 1 callersFunctiongenerateAnimationsMd
( anim: FullAnimationResult, profile: DesignProfile )
src/writers/animations-md.ts:17
↓ 1 callersFunctiongenerateAntiPatterns
( profile: DesignProfile, fonts: string[], traits: DesignProfile['designTraits'] )
src/writers/skill.ts:979
↓ 1 callersFunctiongenerateColorPalette
(profile: DesignProfile)
src/writers/design-md.ts:114
↓ 1 callersFunctiongenerateColorSystem
( profile: DesignProfile, bg: any, surface: any, accent: any, textPrimary: any, textMuted: any, border:
src/writers/skill.ts:408
↓ 1 callersFunctiongenerateComponentPatterns
( profile: DesignProfile, bg: any, surface: any, accent: any, textPrimary: any, textMuted: any, border:
src/writers/skill.ts:613
↓ 1 callersFunctiongenerateComponentStylings
(profile: DesignProfile)
src/writers/design-md.ts:272
↓ 1 callersFunctiongenerateComponentsMd
( domComponents: DOMComponent[], profile: DesignProfile )
src/writers/components-md.ts:8
↓ 1 callersFunctiongenerateDarkModeSection
(profile: DesignProfile)
src/writers/skill.ts:916
↓ 1 callersFunctiongenerateDepthElevation
(profile: DesignProfile)
src/writers/design-md.ts:449
↓ 1 callersFunctiongenerateDesignPhilosophy
( profile: DesignProfile, fonts: string[], primaryFont: string, traits: DesignProfile['designTraits']
src/writers/skill.ts:356
↓ 1 callersFunctiongenerateDosAndDonts
(profile: DesignProfile)
src/writers/design-md.ts:579
↓ 1 callersFunctiongenerateElevationSection
( profile: DesignProfile, traits: DesignProfile['designTraits'], surface: any, bg: any )
src/writers/skill.ts:936
↓ 1 callersFunctiongenerateHeader
(profile: DesignProfile, screenshotPath?: string | null)
src/writers/design-md.ts:27
↓ 1 callersFunctiongenerateInteractionsMd
( interactions: InteractionRecord[], profile: DesignProfile )
src/writers/interactions-md.ts:8
↓ 1 callersFunctiongenerateLayoutMd
( layouts: LayoutRecord[], profile: DesignProfile )
src/writers/layout-md.ts:8
↓ 1 callersFunctiongenerateLayoutPrinciples
(profile: DesignProfile)
src/writers/design-md.ts:388
↓ 1 callersFunctiongenerateQuickReference
( profile: DesignProfile, bg: any, surface: any, accent: any, textPrimary: any, textMuted: any, border:
src/writers/skill.ts:1039
↓ 1 callersFunctiongenerateResponsiveBehavior
(profile: DesignProfile)
src/writers/design-md.ts:673
↓ 1 callersFunctiongenerateSkill
( profile: DesignProfile, designMdContent: string, outputDir: string, screenshotPath?: string | null,
src/writers/skill.ts:14
↓ 1 callersFunctiongenerateSkillMd
(profile: DesignProfile, screenshotPath?: string | null, ultraResult?: FullAnimationResult | null)
src/writers/skill.ts:163
↓ 1 callersFunctiongenerateSpacingSection
(profile: DesignProfile, commonRadius: string)
src/writers/skill.ts:557
↓ 1 callersFunctiongenerateTypography
(profile: DesignProfile)
src/writers/design-md.ts:186
↓ 1 callersFunctiongenerateTypographySection
( profile: DesignProfile, fonts: string[], primaryFont: string )
src/writers/skill.ts:472
↓ 1 callersFunctiongenerateVisualGuideMd
( profile: DesignProfile, pages: import('../types-ultra').PageScreenshot[], sections: import('../types-u
src/modes/ultra.ts:115
↓ 1 callersFunctiongenerateVisualTheme
(profile: DesignProfile)
src/writers/design-md.ts:51
← previousnext →101–200 of 269, ranked by callers