[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADD6JP30VW1EBGPTVHD874":3,"skill-same:01M6ADD6JP30VW1EBGPTVHD874":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":17,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6ADD6JP30VW1EBGPTVHD874","console-rendering","Go 控制台渲染","Instructions for using the struct tag-based console rendering system in Go","关于在 Go 中使用基于结构体标签（struct tag）的控制台渲染系统的说明。","github\u002Fgh-aw-harness","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6ADD4N01654QNYQV4N1FH20",4,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw-harness\u002Fblob\u002Fmain\u002Fskills\u002Fconsole-rendering\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现","SCENARIO","使用场景",[31,32,33],"console","console rendering","go","2026-11-10 10:12:30",false,"---\nname: console-rendering\ndescription: Instructions for using the struct tag-based console rendering system in Go\n---\n\n# Console Rendering System Usage\n\nThis skill provides instructions for using the struct tag-based console rendering system.\n\n## Struct Tag Support\n\nUse the `console` struct tag to control rendering behavior:\n\n- **`header:\"Name\"`** - Sets the display name for fields (used in both structs and tables)\n- **`title:\"Section Title\"`** - Sets the title for nested structs, slices, or maps\n- **`format:\"type\"`** - Sets the formatting type for the field value\n  - `format:number` - Formats integers as human-readable numbers (e.g., \"1k\", \"1.2M\")\n  - `format:cost` - Formats floats as currency with $ prefix (e.g., \"$1.234\")\n- **`omitempty`** - Skips the field if it has a zero value\n- **`\"-\"`** - Always skips the field\n\n## Example Usage\n\n```go\ntype Overview struct {\n    RunID    int64  `console:\"header:Run ID\"`\n    Workflow string `console:\"header:Workflow\"`\n    Status   string `console:\"header:Status\"`\n    Duration string `console:\"header:Duration,omitempty\"`\n}\n\ndata := Overview{\n    RunID:    12345,\n    Workflow: \"test-workflow\",\n    Status:   \"completed\",\n    Duration: \"5m30s\",\n}\n\n\u002F\u002F Simple rendering\nfmt.Print(console.RenderStruct(data))\n\n\u002F\u002F Output:\n\u002F\u002F   Run ID  : 12345\n\u002F\u002F   Workflow: test-workflow\n\u002F\u002F   Status  : completed\n\u002F\u002F   Duration: 5m30s\n```\n\n## Format Tag Examples\n\n### Number Formatting\n\n```go\ntype Metrics struct {\n    TokenUsage int `console:\"header:Token Usage,format:number\"`\n    Errors     int `console:\"header:Errors\"`\n}\n\ndata := Metrics{\n    TokenUsage: 250000,\n    Errors:     5,\n}\n\n\u002F\u002F Renders as:\n\u002F\u002F   Token Usage: 250k\n\u002F\u002F   Errors     : 5\n```\n\n### Cost Formatting\n\n```go\ntype Billing struct {\n    Cost float64 `console:\"header:Estimated Cost,format:cost\"`\n}\n\ndata := Billing{\n    Cost: 1.234,\n}\n\n\u002F\u002F Renders as:\n\u002F\u002F   Estimated Cost: $1.234\n```\n\n## Rendering Behavior\n\n### Structs\nStructs are rendered as key-value pairs with proper alignment.\n\n### Slices\nSlices of structs are automatically rendered as tables:\n\n```go\ntype Job struct {\n    Name       string `console:\"header:Name\"`\n    Status     string `console:\"header:Status\"`\n    Conclusion string `console:\"header:Conclusion,omitempty\"`\n}\n\njobs := []Job{\n    {Name: \"build\", Status: \"completed\", Conclusion: \"success\"},\n    {Name: \"test\", Status: \"in_progress\", Conclusion: \"\"},\n}\n\nfmt.Print(console.RenderStruct(jobs))\n```\n\nRenders as:\n\n```\nName  | Status      | Conclusion\n----- | ----------- | ----------\nbuild | completed   | success\ntest  | in_progress | -\n```\n\n### Maps\nMaps are rendered as markdown-style headers with key-value pairs.\n\n### Special Type Handling\n\n#### time.Time\n`time.Time` fields are automatically formatted as `\"2006-01-02 15:04:05\"`. Zero time values are considered empty when used with `omitempty`.\n\n#### Unexported Fields\nThe rendering system safely handles unexported struct fields by checking `CanInterface()` before attempting to access field values.\n","# Console Rendering System Usage\n\nThis skill provides instructions for using the struct tag-based console rendering system.\n\n## Struct Tag Support\n\nUse the `console` struct tag to control rendering behavior:\n\n- **`header:\"Name\"`** - Sets the display name for fields (used in both structs and tables)\n- **`title:\"Section Title\"`** - Sets the title for nested structs, slices, or maps\n- **`format:\"type\"`** - Sets the formatting type for the field value\n  - `format:number` - Formats integers as human-readable numbers (e.g., \"1k\", \"1.2M\")\n  - `format:cost` - Formats floats as currency with $ prefix (e.g., \"$1.234\")\n- **`omitempty`** - Skips the field if it has a zero value\n- **`\"-\"`** - Always skips the field\n\n## Example Usage\n\n```go\ntype Overview struct {\n    RunID    int64  `console:\"header:Run ID\"`\n    Workflow string `console:\"header:Workflow\"`\n    Status   string `console:\"header:Status\"`\n    Duration string `console:\"header:Duration,omitempty\"`\n}\n\ndata := Overview{\n    RunID:    12345,\n    Workflow: \"test-workflow\",\n    Status:   \"completed\",\n    Duration: \"5m30s\",\n}\n\n\u002F\u002F Simple rendering\nfmt.Print(console.RenderStruct(data))\n\n\u002F\u002F Output:\n\u002F\u002F   Run ID  : 12345\n\u002F\u002F   Workflow: test-workflow\n\u002F\u002F   Status  : completed\n\u002F\u002F   Duration: 5m30s\n```\n\n## Format Tag Examples\n\n### Number Formatting\n\n```go\ntype Metrics struct {\n    TokenUsage int `console:\"header:Token Usage,format:number\"`\n    Errors     int `console:\"header:Errors\"`\n}\n\ndata := Metrics{\n    TokenUsage: 250000,\n    Errors:     5,\n}\n\n\u002F\u002F Renders as:\n\u002F\u002F   Token Usage: 250k\n\u002F\u002F   Errors     : 5\n```\n\n### Cost Formatting\n\n```go\ntype Billing struct {\n    Cost float64 `console:\"header:Estimated Cost,format:cost\"`\n}\n\ndata := Billing{\n    Cost: 1.234,\n}\n\n\u002F\u002F Renders as:\n\u002F\u002F   Estimated Cost: $1.234\n```\n\n## Rendering Behavior\n\n### Structs\nStructs are rendered as key-value pairs with proper alignment.\n\n### Slices\nSlices of structs are automatically rendered as tables:\n\n```go\ntype Job struct {\n    Name       string `console:\"header:Name\"`\n    Status     string `console:\"header:Status\"`\n    Conclusion string `console:\"header:Conclusion,omitempty\"`\n}\n\njobs := []Job{\n    {Name: \"build\", Status: \"completed\", Conclusion: \"success\"},\n    {Name: \"test\", Status: \"in_progress\", Conclusion: \"\"},\n}\n\nfmt.Print(console.RenderStruct(jobs))\n```\n\nRenders as:\n\n```\nName  | Status      | Conclusion\n----- | ----------- | ----------\nbuild | completed   | success\ntest  | in_progress | -\n```\n\n### Maps\nMaps are rendered as markdown-style headers with key-value pairs.\n\n### Special Type Handling\n\n#### time.Time\n`time.Time` fields are automatically formatted as `\"2006-01-02 15:04:05\"`. Zero time values are considered empty when used with `omitempty`.\n\n#### Unexported Fields\nThe rendering system safely handles unexported struct fields by checking `CanInterface()` before attempting to access field values.\n",{"name":5,"description":7},"main","75ed171c12321e0cf4249a732c9860386bdc46a0","skills\u002Fconsole-rendering",3,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw-harness","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-05-28 07:56:55",{"source":9,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add github\u002Fgh-aw-harness --skill console-rendering",{"tool":54,"command":55},"bunx","bunx skills add github\u002Fgh-aw-harness --skill console-rendering",{"tool":57,"command":58},"pnpm","pnpm dlx skills add github\u002Fgh-aw-harness --skill console-rendering","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw-harness\u002Fblob\u002Fmain\u002Fskills\u002Fconsole-rendering\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"REFERENCE.md","REFERENCE","参考文档",4495,"https:\u002F\u002Fgithub.com\u002Fderseitenschneider\u002Fdotfiles\u002Fblob\u002Fmain\u002Fclaude-config\u002F.claude\u002Fskills\u002Ffix-workflow\u002FREFERENCE.md",[69],{"skillNo":70,"name":71,"nameZh":72,"description":73,"descriptionZh":74,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":75,"categories":76,"keywords":79,"publishedAt":34},"01M6ADD8232DKM9QB1DG1BN0FK","error-messages","校验错误提示规范","Error Message Style Guide for Validation Errors","针对校验错误的错误消息风格指南。","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw-harness\u002Fblob\u002Fmain\u002Fskills\u002Ferror-messages\u002FSKILL.md",[77,78],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[80,81,82],"error messages","messages","validation"]