Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/amaancoderx/npxskillui
/ functions
Functions
269 in github.com/amaancoderx/npxskillui
⨍
Functions
269
◇
Types & classes
41
↓ 1 callers
Function
deriveUrlName
(url: string)
src/modes/url.ts:150
↓ 1 callers
Function
describeKeyframe
(kf: ExtractedKeyframe)
src/writers/animations-md.ts:279
↓ 1 callers
Function
detectAnimations
(content: string)
src/extractors/components.ts:205
↓ 1 callers
Function
detectAntiPatterns
( rawTokens: RawTokens, components: ComponentInfo[], shadows: ShadowToken[] )
src/normalizer.ts:831
↓ 1 callers
Function
detectBase
(values: number[])
src/normalizer.ts:591
↓ 1 callers
Function
detectColorSchemeFromCSS
* 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 callers
Function
detectDOMComponents
(url: string)
src/extractors/ultra/components-dom.ts:14
↓ 1 callers
Function
detectFontFormat
* Detect the font format from magic bytes.
src/font-resolver.ts:131
↓ 1 callers
Function
detectFrameworks
(projectDir: string)
src/extractors/framework.ts:24
↓ 1 callers
Function
detectHTMLComponents
(html: string, css: string)
src/extractors/tokens/http-css.ts:1281
↓ 1 callers
Function
detectLightSchemeHeuristic
* 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 callers
Function
detectPageSections
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:652
↓ 1 callers
Function
detectProjectLibraries
(projectDir: string)
src/extractors/components.ts:53
↓ 1 callers
Function
detectStatePatterns
(content: string)
src/extractors/components.ts:260
↓ 1 callers
Function
downloadFontFromSource
* 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 callers
Function
embedReferenceFiles
* 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 callers
Function
emptyAnimResult
()
src/modes/ultra.ts:272
↓ 1 callers
Function
escapeRegex
(s: string)
src/extractors/tokens/http-css.ts:1123
↓ 1 callers
Function
extractCSSClasses
(content: string)
src/extractors/components.ts:338
↓ 1 callers
Function
extractCSSTokens
(projectDir: string)
src/extractors/tokens/css.ts:9
↓ 1 callers
Function
extractCSSUrls
(html: string, baseUrl: string)
src/extractors/tokens/http-css.ts:153
↓ 1 callers
Function
extractClassNamesFromJS
(js: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:473
↓ 1 callers
Function
extractColorsFromJSModule
(js: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:434
↓ 1 callers
Function
extractColorsFromValue
(value: string, tokens: RawTokens)
src/extractors/tokens/css.ts:394
↓ 1 callers
Function
extractColorsFromValue
(value: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1256
↓ 1 callers
Function
extractComponentTokens
(comp: any, tokens: RawTokens)
src/modes/dir.ts:211
↓ 1 callers
Function
extractComponents
(projectDir: string)
src/extractors/components.ts:37
↓ 1 callers
Function
extractComputedTokens
(url: string, maxPages = 5)
src/extractors/tokens/computed.ts:8
↓ 1 callers
Function
extractContainerMaxWidth
* Extract container / max-width patterns.
src/extractors/tokens/css.ts:283
↓ 1 callers
Function
extractContainerWidth
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1183
↓ 1 callers
Function
extractDOMStructure
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:397
↓ 1 callers
Function
extractDarkModeBlocks
* Extract :root and .dark CSS variable blocks to detect light/dark mode pairs.
src/extractors/tokens/css.ts:206
↓ 1 callers
Function
extractDarkModeBlocks
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1018
↓ 1 callers
Function
extractDarkModeVars
* 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 callers
Function
extractFirstRealFont
* 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 callers
Function
extractFontFace
(content: string, tokens: RawTokens, cssBaseUrl?: string)
src/extractors/tokens/http-css.ts:1077
↓ 1 callers
Function
extractFontLinks
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:377
↓ 1 callers
Function
extractFontsFromConfigText
* 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 callers
Function
extractFromCSS
(content: string, tokens: RawTokens)
src/extractors/tokens/css.ts:70
↓ 1 callers
Function
extractFromFile
(filePath: string, tokens: RawTokens)
src/extractors/tokens/tokens-file.ts:56
↓ 1 callers
Function
extractHttpCSSTokens
(url: string, maxPages = 3)
src/extractors/tokens/http-css.ts:16
↓ 1 callers
Function
extractInlineAttributeColors
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:196
↓ 1 callers
Function
extractInlineStyles
(html: string)
src/extractors/tokens/http-css.ts:187
↓ 1 callers
Function
extractJSXSnippet
(content: string)
src/extractors/components.ts:380
↓ 1 callers
Function
extractKeyframeAnimations
* Extract @keyframes animations from CSS.
src/extractors/tokens/css.ts:255
↓ 1 callers
Function
extractKeyframes
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1063
↓ 1 callers
Function
extractLayouts
(url: string)
src/extractors/ultra/layout.ts:15
↓ 1 callers
Function
extractMediaBreakpoints
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1136
↓ 1 callers
Function
extractMetaColors
(html: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:327
↓ 1 callers
Function
extractPageLinks
(html: string, baseUrl: string, origin: string)
src/extractors/tokens/http-css.ts:824
↓ 1 callers
Function
extractProps
(content: string)
src/extractors/components.ts:396
↓ 1 callers
Function
extractSPAModules
(html: string, tokens: RawTokens, allCssContent: string[])
src/extractors/tokens/http-css.ts:408
↓ 1 callers
Function
extractSpacingValues
(value: string, tokens: RawTokens)
src/extractors/tokens/css.ts:418
↓ 1 callers
Function
extractSpacingValues
(value: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1268
↓ 1 callers
Function
extractTailwindPatterns
(classes: string[])
src/extractors/components.ts:277
↓ 1 callers
Function
extractTailwindTokens
(projectDir: string)
src/extractors/tokens/tailwind.ts:17
↓ 1 callers
Function
extractTokensFile
(projectDir: string)
src/extractors/tokens/tokens-file.ts:19
↓ 1 callers
Function
extractTransitionParts
(value: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:798
↓ 1 callers
Function
extractVariants
(content: string)
src/extractors/components.ts:301
↓ 1 callers
Function
extractVisualProperties
(comp: ComponentInfo)
src/writers/design-md.ts:348
↓ 1 callers
Function
extractWithRegex
(content: string, tokens: RawTokens)
src/extractors/tokens/tokens-file.ts:175
↓ 1 callers
Function
extractWithRegex
(content: string, tokens: RawTokens)
src/extractors/tokens/css.ts:300
↓ 1 callers
Function
extractWithRegex
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1194
↓ 1 callers
Function
extractZIndex
(content: string, tokens: RawTokens)
src/extractors/tokens/http-css.ts:1173
↓ 1 callers
Function
extractZIndexValues
* Extract z-index values used in the CSS.
src/extractors/tokens/css.ts:270
↓ 1 callers
Function
fetchFontMetadata
* Query Google Fonts API for a specific font family. * Returns download URLs for each weight variant (TTF format).
src/font-resolver.ts:41
↓ 1 callers
Function
findBorderRadius
(profile: DesignProfile)
src/writers/design-md.ts:789
↓ 1 callers
Function
findCSSFiles
(dir: string, depth = 0)
src/extractors/tokens/css.ts:47
↓ 1 callers
Function
findTailwindConfig
(dir: string)
src/extractors/tokens/tailwind.ts:228
↓ 1 callers
Function
fingerprint
(el: Element)
src/extractors/ultra/components-dom.ts:32
↓ 1 callers
Function
flattenColors
( obj: Record<string, any>, prefix: string, out: RawTokens['colors'] )
src/extractors/tokens/tailwind.ts:236
↓ 1 callers
Function
formatCategory
(cat: string)
src/writers/components-md.ts:157
↓ 1 callers
Function
generateAgentPromptGuide
(profile: DesignProfile)
src/writers/design-md.ts:702
↓ 1 callers
Function
generateAnimationMotion
(profile: DesignProfile)
src/writers/design-md.ts:511
↓ 1 callers
Function
generateAnimationSection
(profile: DesignProfile)
src/writers/skill.ts:837
↓ 1 callers
Function
generateAnimationsMd
( anim: FullAnimationResult, profile: DesignProfile )
src/writers/animations-md.ts:17
↓ 1 callers
Function
generateAntiPatterns
( profile: DesignProfile, fonts: string[], traits: DesignProfile['designTraits'] )
src/writers/skill.ts:979
↓ 1 callers
Function
generateColorPalette
(profile: DesignProfile)
src/writers/design-md.ts:114
↓ 1 callers
Function
generateColorSystem
( profile: DesignProfile, bg: any, surface: any, accent: any, textPrimary: any, textMuted: any, border:
src/writers/skill.ts:408
↓ 1 callers
Function
generateComponentPatterns
( profile: DesignProfile, bg: any, surface: any, accent: any, textPrimary: any, textMuted: any, border:
src/writers/skill.ts:613
↓ 1 callers
Function
generateComponentStylings
(profile: DesignProfile)
src/writers/design-md.ts:272
↓ 1 callers
Function
generateComponentsMd
( domComponents: DOMComponent[], profile: DesignProfile )
src/writers/components-md.ts:8
↓ 1 callers
Function
generateDarkModeSection
(profile: DesignProfile)
src/writers/skill.ts:916
↓ 1 callers
Function
generateDepthElevation
(profile: DesignProfile)
src/writers/design-md.ts:449
↓ 1 callers
Function
generateDesignPhilosophy
( profile: DesignProfile, fonts: string[], primaryFont: string, traits: DesignProfile['designTraits']
src/writers/skill.ts:356
↓ 1 callers
Function
generateDosAndDonts
(profile: DesignProfile)
src/writers/design-md.ts:579
↓ 1 callers
Function
generateElevationSection
( profile: DesignProfile, traits: DesignProfile['designTraits'], surface: any, bg: any )
src/writers/skill.ts:936
↓ 1 callers
Function
generateHeader
(profile: DesignProfile, screenshotPath?: string | null)
src/writers/design-md.ts:27
↓ 1 callers
Function
generateInteractionsMd
( interactions: InteractionRecord[], profile: DesignProfile )
src/writers/interactions-md.ts:8
↓ 1 callers
Function
generateLayoutMd
( layouts: LayoutRecord[], profile: DesignProfile )
src/writers/layout-md.ts:8
↓ 1 callers
Function
generateLayoutPrinciples
(profile: DesignProfile)
src/writers/design-md.ts:388
↓ 1 callers
Function
generateQuickReference
( profile: DesignProfile, bg: any, surface: any, accent: any, textPrimary: any, textMuted: any, border:
src/writers/skill.ts:1039
↓ 1 callers
Function
generateResponsiveBehavior
(profile: DesignProfile)
src/writers/design-md.ts:673
↓ 1 callers
Function
generateSkill
( profile: DesignProfile, designMdContent: string, outputDir: string, screenshotPath?: string | null,
src/writers/skill.ts:14
↓ 1 callers
Function
generateSkillMd
(profile: DesignProfile, screenshotPath?: string | null, ultraResult?: FullAnimationResult | null)
src/writers/skill.ts:163
↓ 1 callers
Function
generateSpacingSection
(profile: DesignProfile, commonRadius: string)
src/writers/skill.ts:557
↓ 1 callers
Function
generateTypography
(profile: DesignProfile)
src/writers/design-md.ts:186
↓ 1 callers
Function
generateTypographySection
( profile: DesignProfile, fonts: string[], primaryFont: string )
src/writers/skill.ts:472
↓ 1 callers
Function
generateVisualGuideMd
( profile: DesignProfile, pages: import('../types-ultra').PageScreenshot[], sections: import('../types-u
src/modes/ultra.ts:115
↓ 1 callers
Function
generateVisualTheme
(profile: DesignProfile)
src/writers/design-md.ts:51
← previous
next →
101–200 of 269, ranked by callers