[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F606XSJTZKB7G3JKANSS97":3,"skill-same:01M7F606XSJTZKB7G3JKANSS97":61},{"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":39,"commitSha":40,"skillDirectory":41,"forksCount":14,"repositoryHtmlUrl":42,"repositoryHomepageUrl":6,"ownerHtmlUrl":43,"ownerBlogUrl":44,"ownerDescription":45,"updatedAt":46,"install":47,"resources":60},"01M7F606XSJTZKB7G3JKANSS97","search-rule-engineering",null,"Build and verify web search extraction rules.","chaorenex1\u002Fhermes-home-content","chaorenex1","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F23194925?v=4","01M7F5NA1D1D02R2MEMYQN2NZT","chan chan","01M7F5NA20KTHMTY2015CYM1TZ",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fsearch-rule-engineering\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\r\nname: search-rule-engineering\r\ndescription: Build and verify web search extraction rules.\r\nversion: 1.0.0\r\nauthor: Masía\r\nlicense: MIT\r\nplatforms: [linux, macos, windows]\r\nmetadata:\r\n  hermes:\r\n    tags: [Search, Extraction, Browser Automation, Verification]\r\n    related_skills: [web-ai-search]\r\n---\r\n\r\n# Search Rule Engineering\r\n\r\nBuild or repair CSS-backed rules for search-result and content extraction. The governing principle is evidence: persist only selectors that were exercised against the requested origin and returned the intended semantic block.\r\n\r\n## When to Use\r\n\r\n- A search engine rule returns empty, partial, or malformed result blocks.\r\n- Direct crawling reaches robot verification and needs browser-backed inspection.\r\n- A URL redirects to another origin or returns only a JavaScript application shell.\r\n- A stored rule must be classified as directly runnable, browser-fallback-only, or unsuitable for CSS extraction.\r\n\r\nDo not use this skill for choosing search terms, summarizing search results, or bypassing access controls.\r\n\r\n## Rule-Type Boundary\r\n\r\nIdentify the required rule type before learning anything:\r\n\r\n- `content`: selects one or more complete core-content containers for later parsing.\r\n- `search_results`: selects repeated result records with the fields expected by the search planner.\r\n\r\nA valid whole-page `content` selector does not prove that a structured `search_results` rule exists. Report the persisted type explicitly and never describe one as the other.\r\n\r\n## Failure Classification\r\n\r\nClassify the observed page before changing selectors:\r\n\r\n1. **Selector boundary defect** — the expected results are present, but candidate selectors capture fragments. Prefer a stable whole result container over brittle leaf combinations.\r\n2. **Robot verification** — the crawler is blocked, while the user's browser can load semantic results. A rule may be browser-fallback-only after browser-side validation.\r\n3. **Transport failure** — neither crawler nor browser obtains the page. Do not infer a selector.\r\n4. **Origin identity mismatch** — the requested engine redirects to another origin or homepage. Do not save the destination DOM under the requested engine.\r\n5. **Dynamic shell** — the initial document contains controls but not result data. CSS-only extraction is unsuitable unless a rendered browser trial captures the completed result region.\r\n\r\n## Procedure\r\n\r\n1. **Freeze the target.** Record the exact URL, origin, path, query intent, language, and expected rule type. Completion criterion: the trial cannot silently switch domains or result verticals.\r\n2. **Inspect without selectors.** Use the rule engine's selector-free crawl first. Check final URL, title, challenge\u002Ferror markers, and whether semantic results are in the returned document. Completion criterion: the failure class above is known.\r\n3. **Use browser fallback when required.** Navigate to the exact URL, confirm the expected page is loaded, then inspect bounded candidates with `document.querySelectorAll(...)`. Do not inspect cookies, storage, or unrelated page state. Completion criterion: the candidate is non-empty and contains the expected title, URL, and snippet or complete core content.\r\n4. **Choose the semantic boundary.** Prefer the smallest stable selector that contains the complete intended unit. If repeated result blocks cannot be proven, store a whole-container `content` rule rather than pretending it is structured `search_results` extraction.\r\n5. **Trial before persistence.** Run the candidate selector against the requested URL. Reject empty output, challenge pages, support\u002Ferror pages, wrong-origin content, and pre-render shells. Completion criterion: selected blocks are semantically correct.\r\n6. **Persist safely.** Create or update through the rule API, preserving origin\u002Fpath scope and optimistic versioning. Mark whether execution is direct or browser-fallback-only.\r\n7. **Re-run the stored rule.** Verification must exercise the persisted version, not just the browser expression. Report rule ID, version, rule type, selector, and execution mode. Completion criterion: the stored rule returns non-empty intended content or has a separately verified browser fallback obligation.\r\n\r\n## Routing Guidance\r\n\r\n- Prefer a directly executable static\u002FHTML rule as the primary engine.\r\n- Use independently verified browser-fallback rules only when direct crawling is challenged.\r\n- Remove engines from the active pool when no positive trial exists; absence of a rule is safer than a speculative selector.\r\n- Route computation tools and heavily dynamic applications through dedicated adapters rather than general web-result extraction.\r\n\r\n## Pitfalls\r\n\r\n- Do not combine individually plausible leaf selectors if none returns a complete result unit.\r\n- Do not treat a browser-visible page as proof that the headless rule works; record fallback mode explicitly.\r\n- Do not persist a rule after `crawl_failed` when browser validation also failed.\r\n- Do not save a redirect destination's selectors under the requested origin.\r\n- Do not mistake a dynamic client shell for computed result content.\r\n- Do not claim structured result extraction from a whole-page content rule.\r\n- Do not repeat the same blocked request unchanged; change the URL variant, route, or inspection method once, then stop without a positive trial.\r\n\r\n## Verification Checklist\r\n\r\n- Exact requested origin\u002Fpath retained\r\n- No CAPTCHA, verification, support, or error page selected\r\n- Selector returns complete semantic blocks\r\n- Stored rule was re-executed\r\n- Rule type reported accurately\r\n- Direct versus browser-fallback mode recorded\r\n- No speculative rule persisted for an unverified page\r\n\r\nValidated examples and selector-shape notes are in `references\u002Fverified-search-result-containers.md` (re-homed to the `web-retrieval-resilience` umbrella); revalidate them against the current DOM before reuse.\r\n","# Search Rule Engineering\r\n\r\nBuild or repair CSS-backed rules for search-result and content extraction. The governing principle is evidence: persist only selectors that were exercised against the requested origin and returned the intended semantic block.\r\n\r\n## When to Use\r\n\r\n- A search engine rule returns empty, partial, or malformed result blocks.\r\n- Direct crawling reaches robot verification and needs browser-backed inspection.\r\n- A URL redirects to another origin or returns only a JavaScript application shell.\r\n- A stored rule must be classified as directly runnable, browser-fallback-only, or unsuitable for CSS extraction.\r\n\r\nDo not use this skill for choosing search terms, summarizing search results, or bypassing access controls.\r\n\r\n## Rule-Type Boundary\r\n\r\nIdentify the required rule type before learning anything:\r\n\r\n- `content`: selects one or more complete core-content containers for later parsing.\r\n- `search_results`: selects repeated result records with the fields expected by the search planner.\r\n\r\nA valid whole-page `content` selector does not prove that a structured `search_results` rule exists. Report the persisted type explicitly and never describe one as the other.\r\n\r\n## Failure Classification\r\n\r\nClassify the observed page before changing selectors:\r\n\r\n1. **Selector boundary defect** — the expected results are present, but candidate selectors capture fragments. Prefer a stable whole result container over brittle leaf combinations.\r\n2. **Robot verification** — the crawler is blocked, while the user's browser can load semantic results. A rule may be browser-fallback-only after browser-side validation.\r\n3. **Transport failure** — neither crawler nor browser obtains the page. Do not infer a selector.\r\n4. **Origin identity mismatch** — the requested engine redirects to another origin or homepage. Do not save the destination DOM under the requested engine.\r\n5. **Dynamic shell** — the initial document contains controls but not result data. CSS-only extraction is unsuitable unless a rendered browser trial captures the completed result region.\r\n\r\n## Procedure\r\n\r\n1. **Freeze the target.** Record the exact URL, origin, path, query intent, language, and expected rule type. Completion criterion: the trial cannot silently switch domains or result verticals.\r\n2. **Inspect without selectors.** Use the rule engine's selector-free crawl first. Check final URL, title, challenge\u002Ferror markers, and whether semantic results are in the returned document. Completion criterion: the failure class above is known.\r\n3. **Use browser fallback when required.** Navigate to the exact URL, confirm the expected page is loaded, then inspect bounded candidates with `document.querySelectorAll(...)`. Do not inspect cookies, storage, or unrelated page state. Completion criterion: the candidate is non-empty and contains the expected title, URL, and snippet or complete core content.\r\n4. **Choose the semantic boundary.** Prefer the smallest stable selector that contains the complete intended unit. If repeated result blocks cannot be proven, store a whole-container `content` rule rather than pretending it is structured `search_results` extraction.\r\n5. **Trial before persistence.** Run the candidate selector against the requested URL. Reject empty output, challenge pages, support\u002Ferror pages, wrong-origin content, and pre-render shells. Completion criterion: selected blocks are semantically correct.\r\n6. **Persist safely.** Create or update through the rule API, preserving origin\u002Fpath scope and optimistic versioning. Mark whether execution is direct or browser-fallback-only.\r\n7. **Re-run the stored rule.** Verification must exercise the persisted version, not just the browser expression. Report rule ID, version, rule type, selector, and execution mode. Completion criterion: the stored rule returns non-empty intended content or has a separately verified browser fallback obligation.\r\n\r\n## Routing Guidance\r\n\r\n- Prefer a directly executable static\u002FHTML rule as the primary engine.\r\n- Use independently verified browser-fallback rules only when direct crawling is challenged.\r\n- Remove engines from the active pool when no positive trial exists; absence of a rule is safer than a speculative selector.\r\n- Route computation tools and heavily dynamic applications through dedicated adapters rather than general web-result extraction.\r\n\r\n## Pitfalls\r\n\r\n- Do not combine individually plausible leaf selectors if none returns a complete result unit.\r\n- Do not treat a browser-visible page as proof that the headless rule works; record fallback mode explicitly.\r\n- Do not persist a rule after `crawl_failed` when browser validation also failed.\r\n- Do not save a redirect destination's selectors under the requested origin.\r\n- Do not mistake a dynamic client shell for computed result content.\r\n- Do not claim structured result extraction from a whole-page content rule.\r\n- Do not repeat the same blocked request unchanged; change the URL variant, route, or inspection method once, then stop without a positive trial.\r\n\r\n## Verification Checklist\r\n\r\n- Exact requested origin\u002Fpath retained\r\n- No CAPTCHA, verification, support, or error page selected\r\n- Selector returns complete semantic blocks\r\n- Stored rule was re-executed\r\n- Rule type reported accurately\r\n- Direct versus browser-fallback mode recorded\r\n- No speculative rule persisted for an unverified page\r\n\r\nValidated examples and selector-shape notes are in `references\u002Fverified-search-result-containers.md` (re-homed to the `web-retrieval-resilience` umbrella); revalidate them against the current DOM before reuse.\r\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":35,"description":7},"Masía","1.0.0",{"hermes":27},{"tags":28,"related_skills":33},[29,30,31,32],"Search","Extraction","Browser Automation","Verification",[34],"web-ai-search",[36,37,38],"linux","macos","windows","main","a3f3199bb87ec3c91248f68a39d88527e1847ae9","skills\u002F.archive\u002Fsearch-rule-engineering","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content","https:\u002F\u002Fgithub.com\u002Fchaorenex1","https:\u002F\u002Fblog.aduib.com","A programmer whose only hobby in life is coding","2026-10-20 00:34:32",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add chaorenex1\u002Fhermes-home-content --skill search-rule-engineering",{"tool":53,"command":54},"bunx","bunx skills add chaorenex1\u002Fhermes-home-content --skill search-rule-engineering",{"tool":56,"command":57},"pnpm","pnpm dlx skills add chaorenex1\u002Fhermes-home-content --skill search-rule-engineering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002F.archive\u002Fsearch-rule-engineering\u002FSKILL.md",true,[],[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7F8GF32YD5MBQW2TGSRH1YP","web-retrieval-resilience","Web tools fail or search rules break: repair or fall back.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fweb-retrieval-resilience\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7F8FP46QESQMCZ1KBT3TW3R","blocked-page-recovery","Use when a fetch fails: 403\u002F429, paywall, WAF, bot wall.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fweb\u002Fblocked-page-recovery\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7F8ER6VXHBNVRQBZS7X08SE","verification-loop","Run a six-phase verification of a Claude Code session's work — build, type check, lint, tests with coverage, security grep, and diff review — then produce a PASS\u002FFAIL verification report. Use when verifying work after completing a feature or refactor, before creating a PR, or when quality gates must pass.","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Fverification-loop\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7F8E4BQJ38KVQVM3MT20PYV","unreal-world-builder","开放世界与环境专家——精通 UE5 World Partition、Landscape、程序化植被、HLOD 和大规模关卡流式加载，打造无缝开放世界体验","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-world-builder\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7F8D747SQW2FTP7GBSX38BR","unreal-technical-artist","Unreal Engine 视觉管线专家——精通材质编辑器、Niagara 特效、程序化内容生成和 UE5 项目的美术到引擎管线","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-technical-artist\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7F8CKHYJVZVBTN0321J88T2","unreal-systems-engineer","性能与混合架构专家——精通 C++\u002FBlueprint 边界、Nanite 几何体、Lumen GI 和 Gameplay Ability System，面向 AAA 级 Unreal Engine 项目","https:\u002F\u002Fgithub.com\u002Fchaorenex1\u002Fhermes-home-content\u002Fblob\u002Fmain\u002Fskills\u002Funreal-engine\u002Funreal-systems-engineer\u002FSKILL.md",[],[]]