[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6H81NRAR2BAR0ZTEK0VZ2WY":3,"skill-same:01M6H81NRAR2BAR0ZTEK0VZ2WY":76},{"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":41,"linkOnly":42,"markdownContent":43,"markdownBody":44,"frontMatter":45,"refName":48,"commitSha":49,"skillDirectory":50,"forksCount":14,"repositoryHtmlUrl":51,"repositoryHomepageUrl":6,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6H81NRAR2BAR0ZTEK0VZ2WY","goquery-parsing",null,"Builds robust, maintainable Go HTML parsers with goquery — stable CSS selectors, typed structs, and parsers that survive minor markup changes. TRIGGER — load BEFORE writing the parser, not after: raw HTML or a .html file is in context and structured data is wanted out of it; goquery is imported or `Find(`\u002F`Attr(`\u002F`Each(` is being written; the prompt names goquery, scraper, parser, extract, scrape, crawl, or selector alongside HTML or a page. Trigger on plain requests — \"pull the prices off this page\", \"get these fields out of this markup\", \"turn this listing into structs\" — the user will not name goquery; the HTML plus a Go repo is the trigger. SKIP when the extraction target is JSON or an API response rather than markup, or when the project is not Go.","O-Marsters-1997\u002Fmy-claude-code","O-Marsters-1997","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72571979?v=4","01M6H800V7V9BSXYZKDM0JXTJ2","Olly Marsters","01M6H800ZYDJR42TNRH0E6ZVZ7",0,"MIT","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fcode\u002Fgoquery-parsing\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"goquery parsing","parsing","write","listing","when","prices","get","project","crawl","html","context","edit","writing","read","parser","parsers","Bash","scrape","api","data","go","css","2026-11-10 10:12:30",false,"---\nname: goquery-parsing\ndescription: >\n  Builds robust, maintainable Go HTML parsers with goquery — stable CSS selectors, typed structs,\n  and parsers that survive minor markup changes.\n  TRIGGER — load BEFORE writing the parser, not after: raw HTML or a .html file is in context and\n  structured data is wanted out of it; goquery is imported or `Find(`\u002F`Attr(`\u002F`Each(` is being\n  written; the prompt names goquery, scraper, parser, extract, scrape, crawl, or selector\n  alongside HTML or a page. Trigger on plain requests — \"pull the prices off this page\", \"get\n  these fields out of this markup\", \"turn this listing into structs\" — the user will not name\n  goquery; the HTML plus a Go repo is the trigger.\n  SKIP when the extraction target is JSON or an API response rather than markup, or when the\n  project is not Go.\nallowed-tools: Read, Write, Edit, Bash(go:*), Bash(gofmt:*), Bash(goimports:*)\n---\n\n# goquery-parsing\n\nGenerate Go parsers from HTML snapshots. The goal is code that extracts the right data\nreliably and keeps working when a page gets restyled or minor markup is shuffled.\n\nFor the full API method signatures, see `references\u002Fapi.md`.\n\n---\n\n## Workflow\n\n1. **Read the HTML** — scan the full snapshot before writing a single selector\n2. **Name the target data** — define the Go struct that will hold the output\n3. **Pick stable selectors** — see the hierarchy below\n4. **Write the parser** — follow the code structure below\n5. **Verify** — compile, test against the snapshot, check edge cases\n\n---\n\n## Selector Stability Hierarchy\n\nA selector is only as durable as the thing it targets. From most to least stable:\n\n| Tier | Examples | Why it lasts |\n|------|----------|--------------|\n| **1 — Semantic data attributes** | `[data-product-id]`, `[data-testid=\"price\"]` | Set explicitly for machine consumption; survive redesigns |\n| **2 — IDs** | `#main-content`, `#search-results` | Unique; high cost to change |\n| **3 — ARIA \u002F role attributes** | `[role=\"main\"]`, `[aria-label=\"price\"]` | Accessibility-driven; stable across CSS refactors |\n| **4 — Semantic HTML elements** | `article`, `time[datetime]`, `address`, `main`, `nav` | Tag semantics don't change with styling |\n| **5 — Meaningful class names** | `.product-title`, `.job-listing`, `.price-amount` | Component names outlast utility classes |\n| **6 — Structural attribute combos** | `a[href^=\"\u002Fproduct\u002F\"]`, `img[alt]`, `input[name=\"q\"]` | Content-based; not style-dependent |\n| **7 — Tag + structure (last resort)** | `article h2`, `ul.results > li` | Fragile to layout changes; use only when tiers 1–6 yield nothing |\n\n**Avoid:**\n- Utility\u002Fpositional classes: `mt-4`, `flex`, `col-md-6`, `text-sm` — they change constantly\n- `:nth-child()` on variable-length lists — inserted ads or banners break the index\n- Deep descendant chains (more than 3 levels) — brittle to layout refactors\n- Chained traversals: `.Next().Next().Find()` — index arithmetic dressed as code\n\nWhen the HTML offers nothing better than tier 7, note it with a comment explaining which\nattribute to watch for if the page is ever cleaned up.\n\n---\n\n## Code Structure\n\n### Define the output struct first\n\nName the struct after the entity, not the page. Fields should be the minimal set the caller\nactually needs — leave optional\u002Fnullable fields as empty strings rather than pointers unless\npresence vs absence genuinely matters to the caller.\n\n```go\ntype Product struct {\n    Name        string\n    Price       string\n    URL         string\n    ImageURL    string\n    Description string \u002F\u002F empty when absent — caller checks len()\n}\n```\n\n### Parse function signature\n\nAccept `io.Reader` so the caller controls the source (file, HTTP response, string, test fixture).\nReturn a descriptive error rather than silently returning an empty slice.\n\n```go\nfunc ParseProducts(r io.Reader) ([]Product, error) {\n    doc, err := goquery.NewDocumentFromReader(r)\n    if err != nil {\n        return nil, fmt.Errorf(\"parsing HTML: %w\", err)\n    }\n\n    var products []Product\n    doc.Find(\"[data-product-id]\").Each(func(_ int, s *goquery.Selection) {\n        products = append(products, extractProduct(s))\n    })\n\n    if len(products) == 0 {\n        return nil, fmt.Errorf(\"no products found: selector may need updating\")\n    }\n    return products, nil\n}\n```\n\n### Extract helpers for repeated patterns\n\nWhen the same field appears across multiple types, or when a single field needs >1 line to\nextract, pull it into a small helper. `extractProduct` is a receiver-free function that takes\na `*goquery.Selection` and returns the struct:\n\n```go\nfunc extractProduct(s *goquery.Selection) Product {\n    return Product{\n        Name:     text(s, \"[data-product-name]\"),\n        Price:    text(s, \".price-amount\"),\n        URL:      s.Find(\"a[href]\").AttrOr(\"href\", \"\"),\n        ImageURL: s.Find(\"img\").AttrOr(\"src\", \"\"),\n    }\n}\n\n\u002F\u002F text finds the first matching element and returns trimmed text content.\nfunc text(s *goquery.Selection, selector string) string {\n    return strings.TrimSpace(s.Find(selector).First().Text())\n}\n```\n\n### Single-item parsers\n\nWhen extracting one record from a page (e.g., an article detail), `Find().First()` returns\na zero-length selection if nothing matched — check with `.Length()`:\n\n```go\nfunc ParseArticle(r io.Reader) (Article, error) {\n    doc, err := goquery.NewDocumentFromReader(r)\n    if err != nil {\n        return Article{}, fmt.Errorf(\"parsing HTML: %w\", err)\n    }\n\n    titleSel := doc.Find(\"h1[data-article-title], article > h1\").First()\n    if titleSel.Length() == 0 {\n        return Article{}, fmt.Errorf(\"article title not found\")\n    }\n\n    return Article{\n        Title:  strings.TrimSpace(titleSel.Text()),\n        Author: text(doc.Selection, \"[rel=author]\"),\n        Date:   doc.Find(\"time[datetime]\").First().AttrOr(\"datetime\", \"\"),\n        Body:   extractBody(doc),\n    }, nil\n}\n```\n\n---\n\n## Key Extraction Patterns\n\n### Text content\n\nAlways `strings.TrimSpace()` — HTML text nodes typically contain leading\u002Ftrailing whitespace\nand newlines from indentation.\n\n```go\ntitle := strings.TrimSpace(s.Find(\"h1\").Text())\n```\n\nFor multi-paragraph body text, collect paragraphs individually:\n\n```go\nvar paragraphs []string\ns.Find(\"p\").Each(func(_ int, p *goquery.Selection) {\n    if t := strings.TrimSpace(p.Text()); t != \"\" {\n        paragraphs = append(paragraphs, t)\n    }\n})\nbody := strings.Join(paragraphs, \"\\n\\n\")\n```\n\n### Attributes\n\n`Attr` returns `(string, bool)` — use the bool when presence matters:\n\n```go\nhref, exists := s.Attr(\"href\")\nif !exists {\n    return \u002F\u002F skip elements without a link\n}\n```\n\nUse `AttrOr` when absence is acceptable and you have a sensible default:\n\n```go\nimgURL := s.Find(\"img\").AttrOr(\"src\", \"\")\n```\n\n### Dates and times\n\nPrefer `datetime` attribute on `\u003Ctime>` elements — it's machine-readable and consistent:\n\n```go\ndate := doc.Find(\"time[datetime]\").AttrOr(\"datetime\", \"\")\n```\n\nFall back to visible text only when `datetime` is absent.\n\n### Links\n\nResolve relative URLs after extraction — goquery returns raw `href` values:\n\n```go\nhref := s.Find(\"a\").AttrOr(\"href\", \"\")\nif href != \"\" && !strings.HasPrefix(href, \"http\") {\n    href = baseURL + href\n}\n```\n\n### Tables\n\nRow-by-row extraction; skip the header row:\n\n```go\ndoc.Find(\"table tbody tr\").Each(func(i int, row *goquery.Selection) {\n    cells := row.Find(\"td\")\n    if cells.Length() \u003C 3 {\n        return \u002F\u002F malformed row — skip\n    }\n    records = append(records, Record{\n        Name:  strings.TrimSpace(cells.Eq(0).Text()),\n        Value: strings.TrimSpace(cells.Eq(1).Text()),\n        Date:  strings.TrimSpace(cells.Eq(2).Text()),\n    })\n})\n```\n\n---\n\n## Fallback Selectors\n\nWhen a primary selector is uncertain, chain alternatives with a comma — goquery tries all:\n\n```go\ndoc.Find(\"[data-price], .price-amount, .product-price, span.price\")\n```\n\nOr try selectors in priority order and take the first that matches:\n\n```go\npriceSel := doc.Find(\"[data-price]\")\nif priceSel.Length() == 0 {\n    priceSel = doc.Find(\".price-amount\")\n}\nprice := strings.TrimSpace(priceSel.First().Text())\n```\n\n---\n\n## Self-Check (minimal test)\n\nLeave a runnable check in a `_test.go` file that reads the HTML snapshot and asserts the key\nfields are non-empty. The test should fail if a future page change breaks the selectors:\n\n```go\nfunc TestParseProducts(t *testing.T) {\n    f, err := os.Open(\"testdata\u002Fproducts.html\")\n    if err != nil {\n        t.Fatal(err)\n    }\n    defer f.Close()\n\n    got, err := ParseProducts(f)\n    if err != nil {\n        t.Fatal(err)\n    }\n    if len(got) == 0 {\n        t.Fatal(\"expected products, got none\")\n    }\n    first := got[0]\n    if first.Name == \"\" {\n        t.Error(\"product name is empty\")\n    }\n    if first.Price == \"\" {\n        t.Error(\"product price is empty\")\n    }\n}\n```\n\nSave the HTML snapshot to `testdata\u002F` so the test is self-contained.\n\n---\n\n## Import Block\n\n```go\nimport (\n    \"fmt\"\n    \"io\"\n    \"strings\"\n\n    \"github.com\u002FPuerkitoBio\u002Fgoquery\"\n)\n```\n\n---\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---------|-----|\n| `.Text()` on a multi-element selection | `.First().Text()` or `.Eq(i).Text()` — `.Text()` on many nodes concatenates all text |\n| Ignoring `Attr` bool | Use `AttrOr` or check the bool — missing attrs return `\"\"` regardless |\n| Selector targets a container, not the value | Scope with `.Find()` inside `Each` rather than selecting text containers globally |\n| Selecting by presentational class | Find a `data-*` or semantic anchor; note the fragility if none exists |\n| Returning empty slice on zero results | Return an error — silent empty is harder to debug than an explicit message |\n| Fetching URLs inside the parser | Parser takes `io.Reader`, caller fetches — keeps the parser testable without HTTP |\n","# goquery-parsing\n\nGenerate Go parsers from HTML snapshots. The goal is code that extracts the right data\nreliably and keeps working when a page gets restyled or minor markup is shuffled.\n\nFor the full API method signatures, see `references\u002Fapi.md`.\n\n---\n\n## Workflow\n\n1. **Read the HTML** — scan the full snapshot before writing a single selector\n2. **Name the target data** — define the Go struct that will hold the output\n3. **Pick stable selectors** — see the hierarchy below\n4. **Write the parser** — follow the code structure below\n5. **Verify** — compile, test against the snapshot, check edge cases\n\n---\n\n## Selector Stability Hierarchy\n\nA selector is only as durable as the thing it targets. From most to least stable:\n\n| Tier | Examples | Why it lasts |\n|------|----------|--------------|\n| **1 — Semantic data attributes** | `[data-product-id]`, `[data-testid=\"price\"]` | Set explicitly for machine consumption; survive redesigns |\n| **2 — IDs** | `#main-content`, `#search-results` | Unique; high cost to change |\n| **3 — ARIA \u002F role attributes** | `[role=\"main\"]`, `[aria-label=\"price\"]` | Accessibility-driven; stable across CSS refactors |\n| **4 — Semantic HTML elements** | `article`, `time[datetime]`, `address`, `main`, `nav` | Tag semantics don't change with styling |\n| **5 — Meaningful class names** | `.product-title`, `.job-listing`, `.price-amount` | Component names outlast utility classes |\n| **6 — Structural attribute combos** | `a[href^=\"\u002Fproduct\u002F\"]`, `img[alt]`, `input[name=\"q\"]` | Content-based; not style-dependent |\n| **7 — Tag + structure (last resort)** | `article h2`, `ul.results > li` | Fragile to layout changes; use only when tiers 1–6 yield nothing |\n\n**Avoid:**\n- Utility\u002Fpositional classes: `mt-4`, `flex`, `col-md-6`, `text-sm` — they change constantly\n- `:nth-child()` on variable-length lists — inserted ads or banners break the index\n- Deep descendant chains (more than 3 levels) — brittle to layout refactors\n- Chained traversals: `.Next().Next().Find()` — index arithmetic dressed as code\n\nWhen the HTML offers nothing better than tier 7, note it with a comment explaining which\nattribute to watch for if the page is ever cleaned up.\n\n---\n\n## Code Structure\n\n### Define the output struct first\n\nName the struct after the entity, not the page. Fields should be the minimal set the caller\nactually needs — leave optional\u002Fnullable fields as empty strings rather than pointers unless\npresence vs absence genuinely matters to the caller.\n\n```go\ntype Product struct {\n    Name        string\n    Price       string\n    URL         string\n    ImageURL    string\n    Description string \u002F\u002F empty when absent — caller checks len()\n}\n```\n\n### Parse function signature\n\nAccept `io.Reader` so the caller controls the source (file, HTTP response, string, test fixture).\nReturn a descriptive error rather than silently returning an empty slice.\n\n```go\nfunc ParseProducts(r io.Reader) ([]Product, error) {\n    doc, err := goquery.NewDocumentFromReader(r)\n    if err != nil {\n        return nil, fmt.Errorf(\"parsing HTML: %w\", err)\n    }\n\n    var products []Product\n    doc.Find(\"[data-product-id]\").Each(func(_ int, s *goquery.Selection) {\n        products = append(products, extractProduct(s))\n    })\n\n    if len(products) == 0 {\n        return nil, fmt.Errorf(\"no products found: selector may need updating\")\n    }\n    return products, nil\n}\n```\n\n### Extract helpers for repeated patterns\n\nWhen the same field appears across multiple types, or when a single field needs >1 line to\nextract, pull it into a small helper. `extractProduct` is a receiver-free function that takes\na `*goquery.Selection` and returns the struct:\n\n```go\nfunc extractProduct(s *goquery.Selection) Product {\n    return Product{\n        Name:     text(s, \"[data-product-name]\"),\n        Price:    text(s, \".price-amount\"),\n        URL:      s.Find(\"a[href]\").AttrOr(\"href\", \"\"),\n        ImageURL: s.Find(\"img\").AttrOr(\"src\", \"\"),\n    }\n}\n\n\u002F\u002F text finds the first matching element and returns trimmed text content.\nfunc text(s *goquery.Selection, selector string) string {\n    return strings.TrimSpace(s.Find(selector).First().Text())\n}\n```\n\n### Single-item parsers\n\nWhen extracting one record from a page (e.g., an article detail), `Find().First()` returns\na zero-length selection if nothing matched — check with `.Length()`:\n\n```go\nfunc ParseArticle(r io.Reader) (Article, error) {\n    doc, err := goquery.NewDocumentFromReader(r)\n    if err != nil {\n        return Article{}, fmt.Errorf(\"parsing HTML: %w\", err)\n    }\n\n    titleSel := doc.Find(\"h1[data-article-title], article > h1\").First()\n    if titleSel.Length() == 0 {\n        return Article{}, fmt.Errorf(\"article title not found\")\n    }\n\n    return Article{\n        Title:  strings.TrimSpace(titleSel.Text()),\n        Author: text(doc.Selection, \"[rel=author]\"),\n        Date:   doc.Find(\"time[datetime]\").First().AttrOr(\"datetime\", \"\"),\n        Body:   extractBody(doc),\n    }, nil\n}\n```\n\n---\n\n## Key Extraction Patterns\n\n### Text content\n\nAlways `strings.TrimSpace()` — HTML text nodes typically contain leading\u002Ftrailing whitespace\nand newlines from indentation.\n\n```go\ntitle := strings.TrimSpace(s.Find(\"h1\").Text())\n```\n\nFor multi-paragraph body text, collect paragraphs individually:\n\n```go\nvar paragraphs []string\ns.Find(\"p\").Each(func(_ int, p *goquery.Selection) {\n    if t := strings.TrimSpace(p.Text()); t != \"\" {\n        paragraphs = append(paragraphs, t)\n    }\n})\nbody := strings.Join(paragraphs, \"\\n\\n\")\n```\n\n### Attributes\n\n`Attr` returns `(string, bool)` — use the bool when presence matters:\n\n```go\nhref, exists := s.Attr(\"href\")\nif !exists {\n    return \u002F\u002F skip elements without a link\n}\n```\n\nUse `AttrOr` when absence is acceptable and you have a sensible default:\n\n```go\nimgURL := s.Find(\"img\").AttrOr(\"src\", \"\")\n```\n\n### Dates and times\n\nPrefer `datetime` attribute on `\u003Ctime>` elements — it's machine-readable and consistent:\n\n```go\ndate := doc.Find(\"time[datetime]\").AttrOr(\"datetime\", \"\")\n```\n\nFall back to visible text only when `datetime` is absent.\n\n### Links\n\nResolve relative URLs after extraction — goquery returns raw `href` values:\n\n```go\nhref := s.Find(\"a\").AttrOr(\"href\", \"\")\nif href != \"\" && !strings.HasPrefix(href, \"http\") {\n    href = baseURL + href\n}\n```\n\n### Tables\n\nRow-by-row extraction; skip the header row:\n\n```go\ndoc.Find(\"table tbody tr\").Each(func(i int, row *goquery.Selection) {\n    cells := row.Find(\"td\")\n    if cells.Length() \u003C 3 {\n        return \u002F\u002F malformed row — skip\n    }\n    records = append(records, Record{\n        Name:  strings.TrimSpace(cells.Eq(0).Text()),\n        Value: strings.TrimSpace(cells.Eq(1).Text()),\n        Date:  strings.TrimSpace(cells.Eq(2).Text()),\n    })\n})\n```\n\n---\n\n## Fallback Selectors\n\nWhen a primary selector is uncertain, chain alternatives with a comma — goquery tries all:\n\n```go\ndoc.Find(\"[data-price], .price-amount, .product-price, span.price\")\n```\n\nOr try selectors in priority order and take the first that matches:\n\n```go\npriceSel := doc.Find(\"[data-price]\")\nif priceSel.Length() == 0 {\n    priceSel = doc.Find(\".price-amount\")\n}\nprice := strings.TrimSpace(priceSel.First().Text())\n```\n\n---\n\n## Self-Check (minimal test)\n\nLeave a runnable check in a `_test.go` file that reads the HTML snapshot and asserts the key\nfields are non-empty. The test should fail if a future page change breaks the selectors:\n\n```go\nfunc TestParseProducts(t *testing.T) {\n    f, err := os.Open(\"testdata\u002Fproducts.html\")\n    if err != nil {\n        t.Fatal(err)\n    }\n    defer f.Close()\n\n    got, err := ParseProducts(f)\n    if err != nil {\n        t.Fatal(err)\n    }\n    if len(got) == 0 {\n        t.Fatal(\"expected products, got none\")\n    }\n    first := got[0]\n    if first.Name == \"\" {\n        t.Error(\"product name is empty\")\n    }\n    if first.Price == \"\" {\n        t.Error(\"product price is empty\")\n    }\n}\n```\n\nSave the HTML snapshot to `testdata\u002F` so the test is self-contained.\n\n---\n\n## Import Block\n\n```go\nimport (\n    \"fmt\"\n    \"io\"\n    \"strings\"\n\n    \"github.com\u002FPuerkitoBio\u002Fgoquery\"\n)\n```\n\n---\n\n## Common Mistakes\n\n| Mistake | Fix |\n|---------|-----|\n| `.Text()` on a multi-element selection | `.First().Text()` or `.Eq(i).Text()` — `.Text()` on many nodes concatenates all text |\n| Ignoring `Attr` bool | Use `AttrOr` or check the bool — missing attrs return `\"\"` regardless |\n| Selector targets a container, not the value | Scope with `.Find()` inside `Each` rather than selecting text containers globally |\n| Selecting by presentational class | Find a `data-*` or semantic anchor; note the fragility if none exists |\n| Returning empty slice on zero results | Return an error — silent empty is harder to debug than an explicit message |\n| Fetching URLs inside the parser | Parser takes `io.Reader`, caller fetches — keeps the parser testable without HTTP |\n",{"name":5,"description":46,"allowed-tools":47},"Builds robust, maintainable Go HTML parsers with goquery — stable CSS selectors, typed structs, and parsers that survive minor markup changes. TRIGGER — load BEFORE writing the parser, not after: raw HTML or a .html file is in context and structured data is wanted out of it; goquery is imported or `Find(`\u002F`Attr(`\u002F`Each(` is being written; the prompt names goquery, scraper, parser, extract, scrape, crawl, or selector alongside HTML or a page. Trigger on plain requests — \"pull the prices off this page\", \"get these fields out of this markup\", \"turn this listing into structs\" — the user will not name goquery; the HTML plus a Go repo is the trigger. SKIP when the extraction target is JSON or an API response rather than markup, or when the project is not Go.\n","Read, Write, Edit, Bash(go:*), Bash(gofmt:*), Bash(goimports:*)","main","aede9f7bc29a2d9127fa7ce29682c242596c7759","skills\u002Fcode\u002Fgoquery-parsing","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997","https:\u002F\u002Fpersonal-portfolio-v2-phi.vercel.app","Go & TypeScript developer building tooling for AI-assisted development: git worktree workflows, Claude Code skills and agent orchestration.","2026-11-11 22:26:34",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add O-Marsters-1997\u002Fmy-claude-code --skill goquery-parsing",{"tool":62,"command":63},"bunx","bunx skills add O-Marsters-1997\u002Fmy-claude-code --skill goquery-parsing",{"tool":65,"command":66},"pnpm","pnpm dlx skills add O-Marsters-1997\u002Fmy-claude-code --skill goquery-parsing","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fcode\u002Fgoquery-parsing\u002FSKILL.md",true,[70],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fapi.md","REFERENCE","参考文档",5693,"https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fcode\u002Fgoquery-parsing\u002Freferences\u002Fapi.md",[77,85,93,100,128,151],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":84},"01M764MB6ZP6T0E7X8XCQ2SDNQ","obsidian-develop","Build, prototype, extend, debug and review Obsidian community plugins against a live vault: inspect the running app's UI, DOM, console and plugin state, prototype in the runtime, then verify each change with a build, reload and check loop. Use whenever the user is working on an Obsidian plugin, even when they just say \"add a command\", \"make a sidebar view\", \"my settings tab is blank\", \"why isn't my view updating\" or \"get this ready for the community directory\"; when they ask about the plugin API (obsidian.d.ts, Workspace, leaves, Vault, MetadataCache, FileManager, views, modals, settings tabs, CodeMirror 6 editor extensions, markdown post-processors, events); or when they want a running Obsidian instance's DOM, CSS, console or plugins inspected. Not for general note-taking, Obsidian Markdown syntax, themes without a plugin, or managing vault content (use ingest, to-vault or vault-recall for those).","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fobsidian-develop\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":92},"01M745F5J4Z2W32G4QXESCN5PM","vault-recall","Answer the user's conceptual or technical question using their Obsidian vault as well as general knowledge. Use when the user asks a question (not a task) whose topic appears in the vault MOC digest from session start. Not for task instructions, not mid-task, and not for writing to the vault (that is to-vault).","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fvault-recall\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":92},"01M745EW5W0A7K9016Z54A4KG2","ingest","Ingest one external source (an article, course lesson, doc, PDF or URL) into the user's Obsidian vault: save the original to raw\u002F, then build wiki\u002F pages per the vault's § Ingest. Use when the user types \u002Fingest, or says \"ingest this\", \"add this source to my wiki\", \"put this article\u002Flesson in the vault as a wiki page\". Works from any repo. Routing rule: someone else's words go to wiki\u002F (this skill); the user's own learnings and decisions go to notes\u002F (\u002Fto-vault).","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fproductivity\u002Fingest\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":41},"01M6H88J6TYRV9T8RKWW569YM8","to-tickets","Breaks a source into independently-grabbable GitHub tickets. For a code feature the source is the plan (`docs\u002Fplans\u002F\u003Cfeature>.md`, from \u002Fto-plan) and every new or changed symbol lands in exactly one ticket, its signatures copied into the ticket body; a non-code feature is cut from the PRD's slices. Cuts tickets for one feature per run. If a code feature has no approved plan, offers \u002Fto-plan instead of cutting from prose. In a repo that runs command-centre, also emits `[[task]]` blocks into its config; in a plain treepad repo, emits a Batch Manifest instead so the tickets materialise as stacked worktrees.","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fto-tickets\u002FSKILL.md",[],[107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127],"to tickets","tickets","feature","as","new","for","repo","signatures","ticket","true","plans","manifest","code","task","batch","plan","github","command","run","worktrees","cut",{"skillNo":129,"name":130,"nameZh":6,"description":131,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":132,"categories":133,"keywords":134,"publishedAt":41},"01M6H88E98X9KGGYBGSVDS1E8H","to-seams","Records an agreed-but-unlanded cross-repo interface as a seam: the file a consumer's agent gets pasted into its prompt as ground truth, plus the `[[seam]]` block command-centre reads for the retirement pointer. Use when two repos need to build against an interface neither has landed yet — \"record a seam for X\", \"we agreed on this schema, seam it\", \"add a seam so Y can build against Z's new field\". Halts for approval before writing either file.","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fto-seams\u002FSKILL.md",[],[135,31,136,23,111,137,138,139,140,141,142,143,144,110,145,124,146,112,113,147,148,149,116,150],"to seams","can","neither","it","but","file","prompt","either","use","schema","record","build","records","block","repos","interface",{"skillNo":152,"name":153,"nameZh":6,"description":154,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":41},"01M6H889PSQM2E1ATS2JC10QRV","to-roadmap","Prioritises settled features into a Now \u002F Next \u002F Later kanban board, rendered as a self-contained .\u002Fideas\u002Froadmap.html. Each card is a feature, not a ticket — one card later becomes several tickets via \u002Fto-prd -> \u002Fto-plan -> \u002Fto-tickets. Boards the features in .\u002Fdocs\u002Fapproach.md, or the \"## Accepted ideas\" in .\u002Fideas\u002FCONTEXT.md when there is no approach doc. The approach doc is settled truth: this assigns tiers and reasons about ordering, it never re-litigates what was decided.","https:\u002F\u002Fgithub.com\u002FO-Marsters-1997\u002Fmy-claude-code\u002Fblob\u002Fmain\u002Fskills\u002Fworkflow\u002Fto-roadmap\u002FSKILL.md",[],[158,159,160,110,161,109,162,163,164,115,116,165,166,122,167,168,169,108,170,171,23,172],"to roadmap","roadmap","about","never","ideas","re","card","now","self","later","via","next","board","doc","features"]