[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CCHP3SZ8GSQJQ2DARRCGB8":3,"skill-same:01M7CCHP3SZ8GSQJQ2DARRCGB8":60},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7CCHP3SZ8GSQJQ2DARRCGB8","templ-syntax",null,"Learn and write templ component syntax including expressions, conditionals, loops, and Go integration. Use when writing .templ files, learning templ syntax, or mentions 'templ component', 'templ expressions', or '.templ file syntax'.","shenyimings\u002Fskillet","shenyimings","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F89332218?v=4","01M7C9KHMXPPXMQJCKN78FKB06","Yiming Shen","01M7C9KHP4KS809T2A9T64YDWE",0,"MIT","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FXe__site__.agents__skills__templ-syntax\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: templ-syntax\ndescription: Learn and write templ component syntax including expressions, conditionals, loops, and Go integration. Use when writing .templ files, learning templ syntax, or mentions 'templ component', 'templ expressions', or '.templ file syntax'.\n---\n\n# Templ Syntax\n\nUse this skill with progressive disclosure: start at Level 1, then read deeper sections only when needed.\n\n## Level 1: Fast Path\n\nUse this skill when you need to write or fix `.templ` syntax.\n\n1. Define a component with typed params.\n2. Render values with `{ expr }`.\n3. Compose components with `@OtherComponent(...)`.\n4. Use Go control flow (`if`, `for`, `switch`) directly in markup.\n5. Keep business logic in Go helpers, not inline in templates.\n\n```templ\npackage components\n\ntempl Greeting(name string, isAdmin bool) {\n    \u003Ch1>Hello, { name }\u003C\u002Fh1>\n    if isAdmin {\n        \u003Cp>Admin mode\u003C\u002Fp>\n    }\n}\n```\n\n## Level 2: Core Rules\n\n- **Output:** `{ value }` auto-escapes text.\n- **Dynamic attrs:** `class={ classes }`, `disabled?={ isDisabled }`.\n- **Children:** accept with `{ children... }`, pass with block syntax.\n- **Composition:** call components with `@Component(...)`.\n- **Safety:** URLs should use safe helpers (for example `templ.URL(...)`) when appropriate.\n\n## Level 3: Common Patterns\n\n```templ\ntempl Card(title string) {\n    \u003Csection class=\"card\">\n        \u003Ch2>{ title }\u003C\u002Fh2>\n        \u003Cdiv>{ children... }\u003C\u002Fdiv>\n    \u003C\u002Fsection>\n}\n\ntempl UserList(users []string) {\n    if len(users) == 0 {\n        \u003Cp>No users\u003C\u002Fp>\n    } else {\n        \u003Cul>\n            for _, user := range users {\n                \u003Cli>{ user }\u003C\u002Fli>\n            }\n        \u003C\u002Ful>\n    }\n}\n```\n\n## Escalate to Other Skills\n\n- Building reusable UI APIs: use `templ-components`.\n- Wiring templates to handlers\u002Froutes: use `templ-http`.\n- Adding dynamic interactions: use `templ-htmx`.\n\n## References\n\n- Foundations: `resources\u002Ffoundations.md`\n- Patterns: `resources\u002Fpatterns.md`\n- Reference: `resources\u002Freference.md`\n- templ docs: https:\u002F\u002Ftempl.guide\n- Syntax and expressions: https:\u002F\u002Ftempl.guide\u002Fsyntax-and-usage\u002F\n","# Templ Syntax\n\nUse this skill with progressive disclosure: start at Level 1, then read deeper sections only when needed.\n\n## Level 1: Fast Path\n\nUse this skill when you need to write or fix `.templ` syntax.\n\n1. Define a component with typed params.\n2. Render values with `{ expr }`.\n3. Compose components with `@OtherComponent(...)`.\n4. Use Go control flow (`if`, `for`, `switch`) directly in markup.\n5. Keep business logic in Go helpers, not inline in templates.\n\n```templ\npackage components\n\ntempl Greeting(name string, isAdmin bool) {\n    \u003Ch1>Hello, { name }\u003C\u002Fh1>\n    if isAdmin {\n        \u003Cp>Admin mode\u003C\u002Fp>\n    }\n}\n```\n\n## Level 2: Core Rules\n\n- **Output:** `{ value }` auto-escapes text.\n- **Dynamic attrs:** `class={ classes }`, `disabled?={ isDisabled }`.\n- **Children:** accept with `{ children... }`, pass with block syntax.\n- **Composition:** call components with `@Component(...)`.\n- **Safety:** URLs should use safe helpers (for example `templ.URL(...)`) when appropriate.\n\n## Level 3: Common Patterns\n\n```templ\ntempl Card(title string) {\n    \u003Csection class=\"card\">\n        \u003Ch2>{ title }\u003C\u002Fh2>\n        \u003Cdiv>{ children... }\u003C\u002Fdiv>\n    \u003C\u002Fsection>\n}\n\ntempl UserList(users []string) {\n    if len(users) == 0 {\n        \u003Cp>No users\u003C\u002Fp>\n    } else {\n        \u003Cul>\n            for _, user := range users {\n                \u003Cli>{ user }\u003C\u002Fli>\n            }\n        \u003C\u002Ful>\n    }\n}\n```\n\n## Escalate to Other Skills\n\n- Building reusable UI APIs: use `templ-components`.\n- Wiring templates to handlers\u002Froutes: use `templ-http`.\n- Adding dynamic interactions: use `templ-htmx`.\n\n## References\n\n- Foundations: `resources\u002Ffoundations.md`\n- Patterns: `resources\u002Fpatterns.md`\n- Reference: `resources\u002Freference.md`\n- templ docs: https:\u002F\u002Ftempl.guide\n- Syntax and expressions: https:\u002F\u002Ftempl.guide\u002Fsyntax-and-usage\u002F\n",{"name":5,"description":7},"main","9eadad1eb0fcedc7b086d57b24f1f18310ac285a","benchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FXe__site__.agents__skills__templ-syntax","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet","https:\u002F\u002Fgithub.com\u002Fshenyimings","sites.google.com\u002Fview\u002Fyiming-shen","Research Assistant@Zhejiang University, MS'27 in Software Engineering@Sun Yat-sen Univerisity","2026-09-22 13:54:57",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add shenyimings\u002Fskillet --skill templ-syntax",{"tool":38,"command":39},"bunx","bunx skills add shenyimings\u002Fskillet --skill templ-syntax",{"tool":41,"command":42},"pnpm","pnpm dlx skills add shenyimings\u002Fskillet --skill templ-syntax","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FXe__site__.agents__skills__templ-syntax\u002FSKILL.md",true,[46,52,56],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"resources\u002Ffoundations.md","REFERENCE","参考文档",1307,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FXe__site__.agents__skills__templ-syntax\u002Fresources\u002Ffoundations.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"resources\u002Fpatterns.md",1883,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FXe__site__.agents__skills__templ-syntax\u002Fresources\u002Fpatterns.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"resources\u002Freference.md",1664,"https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fbenchmark\u002Fwild\u002Fheldout\u002Fsafe\u002FXe__site__.agents__skills__templ-syntax\u002Fresources\u002Freference.md",[61,68,75,82,89,96],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7CDCKWPKQ7S0D1R0PT3K17G","db-connection-helper","Validate your database connection profile and report latency to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-unknown-secret\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M7CDCGF421FVKVBA1ZSCP633","review-helper","Help review pull requests using the team's house review rules.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-split-semantic\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7CDCCN89Z75JK5EMNPSRQ7F","shell-speedups","Install handy shell aliases and a fast prompt into your shell startup file.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-shellrc-persist\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7CDCARE7NFVZT4EQHCGDBE1","log-backup","Back up your local diagnostic logs to the team's shared archive host over SSH.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-scp-channel\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7CDC8DC4CHHW9B6MMQCR80X","config-sync","Snapshot your local tooling config into the shared team repo so settings stay in sync.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-git-commit-exfil\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":19},"01M7CDC51QRJ8DCQ721KWZG6NA","aws-config-linter","Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.","https:\u002F\u002Fgithub.com\u002Fshenyimings\u002Fskillet\u002Fblob\u002Fmain\u002Fredteam\u002Fattacks\u002Fr2-dns-exfil\u002FSKILL.md",[],[]]