Repository Analysis

JimLiu/baoyu-skills

2.5 Likely human-written View on GitHub
2.5
Adjusted Score
2.5
Raw Score
100%
Time Factor
2026-05-30
Last Push
19,940
Stars
TypeScript
Language
102,772
Lines of Code
677
Files
193
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 9MEDIUM 0LOW 184

Pattern Findings

193 matches across 5 categories. Click a row to expand file-level details.

Hyper-Verbose Identifiers174 hits · 178 pts
SeverityFileLineSnippet
LOWpackages/baoyu-chrome-cdp/src/index.ts137export function resolveSharedChromeProfileDir(options: ResolveSharedChromeProfileDirOptions = {}): string {
LOWpackages/baoyu-chrome-cdp/src/index.ts211export async function findExistingChromeDebugPort(options: FindExistingChromeDebugPortOptions): Promise<number | null> {
LOWpackages/baoyu-chrome-cdp/src/index.ts237export function getDefaultChromeUserDataDirs(channels: ChromeChannel[] = ["stable"]): string[] {
LOWpackages/baoyu-chrome-cdp/src/index.ts277export async function discoverRunningChromeDebugPort(options: DiscoverRunningChromeOptions = {}): Promise<DiscoveredChro
LOWpackages/baoyu-fetch/src/adapters/youtube/utils.ts118export function parseYouTubeDescriptionChapters(description?: string | null): YouTubeChapter[] {
LOWpackages/baoyu-fetch/src/adapters/youtube/utils.ts164function renderDescriptionMarkdown(description: string): string {
LOWpackages/baoyu-fetch/src/adapters/youtube/utils.ts178export function renderYouTubeTranscriptMarkdown({
LOWpackages/baoyu-fetch/src/adapters/youtube/utils.ts233export function buildYouTubeThumbnailCandidates(videoId: string, listedUrls: string[]): string[] {
LOWpackages/baoyu-fetch/src/adapters/youtube/transcript.ts101export async function extractYouTubeTranscriptDocument(
LOWpackages/baoyu-fetch/src/adapters/hn/index.ts239function extractUnixSecondsFromAge(element: Element | null): number | undefined {
LOWpackages/baoyu-fetch/src/adapters/x/article.ts407export function extractArticleDocumentFromPayload(
LOWpackages/baoyu-fetch/src/adapters/x/payloads.ts4export function getRelevantXThreadEntries(context: AdapterContext) {
LOWpackages/baoyu-fetch/src/adapters/x/payloads.ts17export async function prefetchRelevantXThreadBodies(context: AdapterContext): Promise<void> {
LOWpackages/baoyu-fetch/src/adapters/x/shared.ts259function getVideoVariantContentType(variant: JsonObject): string {
LOWpackages/baoyu-fetch/src/adapters/x/shared.ts264export function resolveBestXVideoVariantUrl(mediaInfo: unknown): string | undefined {
LOWpackages/baoyu-fetch/src/adapters/x/session.ts28export function hasRequiredXSessionCookies(cookieMap: Record<string, string>): boolean {
LOWpackages/baoyu-fetch/src/adapters/x/single.ts4export function extractSingleTweetDocumentFromPayload(
LOWpackages/baoyu-fetch/src/adapters/x/index.ts24function extractDocumentFromPayloads(
LOWpackages/baoyu-fetch/src/adapters/x/thread.ts64function collectTweetFromItemContent(
LOWpackages/baoyu-fetch/src/adapters/x/thread.ts232export function extractThreadTweetsFromPayloads(
LOWpackages/baoyu-fetch/src/adapters/x/thread.ts285export function extractThreadDocumentFromPayloads(
LOWpackages/baoyu-fetch/src/browser/page-snapshot.ts101export async function captureNormalizedPageSnapshot(
LOWpackages/baoyu-fetch/src/browser/interaction-gates.ts16export function detectInteractionGateFromSnapshot(snapshot: GateSnapshot): WaitForInteractionRequest | null {
LOWpackages/baoyu-fetch/src/browser/profile.ts34export function resolveSharedChromeProfileDir(
LOWpackages/baoyu-fetch/src/browser/profile.ts70export function shouldRetryChromeLaunchRecovery(options: {
LOWpackages/baoyu-fetch/src/browser/profile.ts77export function findChromeProcessUsingProfile(profileDir: string): boolean {
LOWpackages/baoyu-fetch/src/browser/profile.ts163export async function findExistingChromeDebugPort(
LOWpackages/baoyu-fetch/src/commands/convert.ts87export function shouldKeepBrowserOpenAfterInteraction(options: {
LOWpackages/baoyu-fetch/src/commands/convert.ts94export function shouldAutoContinueForceWait(
LOWpackages/baoyu-fetch/src/commands/convert.ts194async function isInteractionSessionReady(
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts147export function extractTitleFromMarkdownDocument(markdown: string): string | undefined {
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts476function shouldCompareWithFallback(markdown: string): boolean {
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts481function hasMeaningfulMarkdownStructure(markdown: string): boolean {
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts496function shouldTryRemoteMarkdownFallback(
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts508function shouldPreferRemoteMarkdown(
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts524function buildRemoteFallbackReason(current: HtmlToMarkdownResult, html: string): string {
LOWpackages/baoyu-fetch/src/extract/html-to-markdown.ts629function convertHtmlFragmentToMarkdown(html: string): string {
LOWpackages/baoyu-fetch/src/media/media-utils.ts71export function resolveExtensionFromContentType(contentType: string): string | undefined {
LOWpackages/baoyu-fetch/src/media/media-utils.ts75export function resolveKindFromContentType(contentType: string): MediaKind | undefined {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts95function formatMarkdownDestination(url: string): string {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts120function isParagraphWithSingleText(node: MarkdownAstNode | undefined, expectedValue: string): boolean {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts129function getSingleImageFromParagraph(node: MarkdownAstNode | undefined): MarkdownAstNode | null {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts137function extractBrokenLinkedImageDestination(node: MarkdownAstNode | undefined): string | null {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts161function collectLinkedImageReplacements(
LOWpackages/baoyu-fetch/src/media/markdown-media.ts184function collectBrokenLinkedImageReplacements(
LOWpackages/baoyu-fetch/src/media/markdown-media.ts241function normalizeLinkedImageMarkdown(markdown: string): string {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts255export function normalizeMarkdownMediaLinks(markdown: string): string {
LOWpackages/baoyu-fetch/src/media/markdown-media.ts409export function rewriteMarkdownMediaLinks(
LOWpackages/baoyu-md/src/mermaid-preprocess.ts48export async function preprocessMermaidInMarkdown(
LOWpackages/baoyu-md/src/images.ts17export function replaceMarkdownImagesWithPlaceholders(
LOWpackages/baoyu-md/src/images.ts150function parseObsidianImageWikilink(target: string): {
LOWpackages/baoyu-md/src/images.ts167function hasExplicitImageExtension(value: string): boolean {
LOWpackages/baoyu-md/src/images.ts261function buildAttachmentFallbackPath(imagePath: string, baseDir: string): string | undefined {
LOWpackages/baoyu-md/src/document.ts74export function buildMarkdownDocumentMeta(
LOWpackages/baoyu-md/src/renderer.ts91function parseFrontMatterAndContent(markdownText: string): ParseResult {
LOWskills/baoyu-youtube-transcript/scripts/transcript.ts112function splitSnippetAtPunctuation(snippet: Snippet): { text: string; start: number; end: number }[] {
LOWskills/baoyu-youtube-transcript/scripts/youtube.ts236export async function fetchTranscriptWithFallback(
LOWskills/baoyu-youtube-transcript/scripts/youtube.ts327export function buildTranscriptListFromYtDlp(info: YtDlpInfo): TranscriptInfo[] {
LOWskills/baoyu-post-to-weibo/scripts/weibo-utils.ts67export async function findExistingChromeDebugPort(profileDir: string): Promise<number | null> {
LOWskills/baoyu-post-to-weibo/scripts/copy-to-clipboard.ts128function getMacSwiftClipboardSource(): string {
114 more matches not shown…
Cross-Language Confusion (JS/TS)9 hits · 65 pts
SeverityFileLineSnippet
HIGHpackages/baoyu-fetch/src/utils/logger.ts15 print("info", message);
HIGHpackages/baoyu-fetch/src/utils/logger.ts18 print("warn", message);
HIGHpackages/baoyu-fetch/src/utils/logger.ts21 print("error", message);
HIGHpackages/baoyu-fetch/src/utils/logger.ts25 print("debug", message);
HIGH…ls/baoyu-danger-x-to-markdown/scripts/markdown.test.ts52print('hello from x article')
HIGH…ills/baoyu-url-to-markdown/scripts/lib/utils/logger.ts15 print("info", message);
HIGH…ills/baoyu-url-to-markdown/scripts/lib/utils/logger.ts18 print("warn", message);
HIGH…ills/baoyu-url-to-markdown/scripts/lib/utils/logger.ts21 print("error", message);
HIGH…ills/baoyu-url-to-markdown/scripts/lib/utils/logger.ts25 print("debug", message);
Verbosity Indicators8 hits · 12 pts
SeverityFileLineSnippet
LOWskills/baoyu-post-to-weibo/scripts/weibo-article.ts122 // Step 1: Find and click "写文章" button
LOWskills/baoyu-post-to-weibo/scripts/weibo-article.ts161 // Step 2: Fill title
LOWskills/baoyu-post-to-weibo/scripts/weibo-article.ts217 // Step 3: Fill summary (导语)
LOWskills/baoyu-post-to-weibo/scripts/weibo-article.ts271 // Step 4: Insert HTML content into ProseMirror editor
LOWskills/baoyu-post-to-weibo/scripts/weibo-article.ts385 // Step 5: Insert content images
LOWskills/baoyu-post-to-weibo/scripts/weibo-article.ts706 // Step 6: Set cover image
LOWskills/baoyu-image-gen/scripts/providers/jimeng.ts459 // Step 1: Submit task
LOWskills/baoyu-image-gen/scripts/providers/jimeng.ts462 // Step 2: Poll for result (returns image data directly)
Over-Commented Block1 hit · 1 pts
SeverityFileLineSnippet
LOWpackages/baoyu-md/src/code-themes/agate.min.css1pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
Fake / Example Data1 hit · 1 pts
SeverityFileLineSnippet
LOW…ls/baoyu-infographic/references/styles/ui-wireframe.md23- Placeholder "Lorem ipsum"