[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGD93D72ZF5D2GTVJZP11X":3,"skill-same:01M6EGD93D72ZF5D2GTVJZP11X":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M6EGD93D72ZF5D2GTVJZP11X","tinacms",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Ftinacms\u002FSKILL.md",[],[5],"2026-11-10 10:12:30",false,"# TinaCMS — Git-Backed Visual CMS\n\n\n## Overview\n\n\nTinaCMS, the open-source headless CMS that stores content in Git (Markdown\u002FMDX\u002FJSON) and provides visual editing capabilities. Helps developers set up TinaCMS with Next.js, define content schemas, and build visual editing experiences where editors can see changes in real time.\n\n\n## Instructions\n\n### Schema Definition\n\nDefine your content structure in a type-safe schema:\n\n```typescript\n\u002F\u002F tina\u002Fconfig.ts — TinaCMS configuration with content schemas\nimport { defineConfig } from \"tinacms\";\n\nexport default defineConfig({\n  branch: process.env.NEXT_PUBLIC_TINA_BRANCH || \"main\",\n  clientId: process.env.NEXT_PUBLIC_TINA_CLIENT_ID!,\n  token: process.env.TINA_TOKEN!,\n\n  build: {\n    outputFolder: \"admin\",        \u002F\u002F Admin UI served at \u002Fadmin\n    publicFolder: \"public\",\n  },\n\n  media: {\n    tina: {\n      mediaRoot: \"uploads\",       \u002F\u002F Store uploaded images in \u002Fpublic\u002Fuploads\n      publicFolder: \"public\",\n    },\n  },\n\n  schema: {\n    collections: [\n      {\n        name: \"post\",\n        label: \"Blog Posts\",\n        path: \"content\u002Fposts\",            \u002F\u002F Store as Markdown files in this directory\n        format: \"mdx\",                     \u002F\u002F mdx | md | json\n        fields: [\n          {\n            type: \"string\",\n            name: \"title\",\n            label: \"Title\",\n            isTitle: true,                 \u002F\u002F Used as the display name in the CMS\n            required: true,\n          },\n          {\n            type: \"string\",\n            name: \"description\",\n            label: \"Description\",\n            ui: {\n              component: \"textarea\",       \u002F\u002F Multi-line text input\n            },\n          },\n          {\n            type: \"datetime\",\n            name: \"publishedAt\",\n            label: \"Published Date\",\n            required: true,\n          },\n          {\n            type: \"image\",\n            name: \"heroImage\",\n            label: \"Hero Image\",\n          },\n          {\n            type: \"string\",\n            name: \"category\",\n            label: \"Category\",\n            options: [\"engineering\", \"product\", \"culture\", \"tutorial\"],\n          },\n          {\n            type: \"object\",\n            name: \"author\",\n            label: \"Author\",\n            fields: [\n              { type: \"string\", name: \"name\", label: \"Name\", required: true },\n              { type: \"image\", name: \"avatar\", label: \"Avatar\" },\n              { type: \"string\", name: \"role\", label: \"Role\" },\n            ],\n          },\n          {\n            type: \"rich-text\",\n            name: \"body\",\n            label: \"Content\",\n            isBody: true,                  \u002F\u002F Maps to the MDX body content\n            templates: [\n              \u002F\u002F Custom MDX components available in the visual editor\n              {\n                name: \"Callout\",\n                label: \"Callout Box\",\n                fields: [\n                  {\n                    type: \"string\",\n                    name: \"type\",\n                    label: \"Type\",\n                    options: [\"info\", \"warning\", \"tip\", \"danger\"],\n                  },\n                  {\n                    type: \"rich-text\",\n                    name: \"children\",\n                    label: \"Content\",\n                  },\n                ],\n              },\n              {\n                name: \"CodeBlock\",\n                label: \"Code Block\",\n                fields: [\n                  { type: \"string\", name: \"language\", label: \"Language\" },\n                  { type: \"string\", name: \"code\", label: \"Code\", ui: { component: \"textarea\" } },\n                ],\n              },\n            ],\n          },\n        ],\n      },\n\n      \u002F\u002F Page collection — for marketing pages, landing pages\n      {\n        name: \"page\",\n        label: \"Pages\",\n        path: \"content\u002Fpages\",\n        format: \"mdx\",\n        fields: [\n          { type: \"string\", name: \"title\", label: \"Title\", isTitle: true, required: true },\n          {\n            type: \"object\",\n            name: \"seo\",\n            label: \"SEO\",\n            fields: [\n              { type: \"string\", name: \"metaTitle\", label: \"Meta Title\" },\n              { type: \"string\", name: \"metaDescription\", label: \"Meta Description\" },\n              { type: \"image\", name: \"ogImage\", label: \"OG Image\" },\n            ],\n          },\n          {\n            type: \"object\",\n            name: \"blocks\",\n            label: \"Page Blocks\",\n            list: true,                   \u002F\u002F Repeatable blocks — visual page builder\n            templates: [\n              {\n                name: \"hero\",\n                label: \"Hero Section\",\n                fields: [\n                  { type: \"string\", name: \"heading\", label: \"Heading\" },\n                  { type: \"string\", name: \"subheading\", label: \"Subheading\" },\n                  { type: \"image\", name: \"backgroundImage\", label: \"Background\" },\n                  { type: \"string\", name: \"ctaText\", label: \"CTA Button Text\" },\n                  { type: \"string\", name: \"ctaLink\", label: \"CTA Link\" },\n                ],\n              },\n              {\n                name: \"features\",\n                label: \"Features Grid\",\n                fields: [\n                  { type: \"string\", name: \"heading\", label: \"Section Heading\" },\n                  {\n                    type: \"object\",\n                    name: \"items\",\n                    label: \"Feature Items\",\n                    list: true,\n                    fields: [\n                      { type: \"string\", name: \"title\", label: \"Title\" },\n                      { type: \"string\", name: \"description\", label: \"Description\" },\n                      { type: \"image\", name: \"icon\", label: \"Icon\" },\n                    ],\n                  },\n                ],\n              },\n            ],\n          },\n        ],\n      },\n    ],\n  },\n});\n```\n\n### Visual Editing in Next.js\n\nRender content with live visual editing:\n\n```tsx\n\u002F\u002F app\u002Fposts\u002F[slug]\u002Fpage.tsx — Blog post page with visual editing\nimport { client } from \"@\u002Ftina\u002F__generated__\u002Fclient\";\nimport { useTina } from \"tinacms\u002Fdist\u002Freact\";\nimport { TinaMarkdown } from \"tinacms\u002Fdist\u002Frich-text\";\n\n\u002F\u002F Components for custom MDX blocks\nconst components = {\n  Callout: ({ type, children }: any) => (\n    \u003Cdiv className={`callout callout-${type}`}>\n      {type === \"tip\" && \"?\"}\n      {type === \"warning\" && \"⚠️\"}\n      {type === \"danger\" && \"?\"}\n      {type === \"info\" && \"ℹ️\"}\n      \u003CTinaMarkdown content={children} \u002F>\n    \u003C\u002Fdiv>\n  ),\n  CodeBlock: ({ language, code }: any) => (\n    \u003Cpre>\u003Ccode className={`language-${language}`}>{code}\u003C\u002Fcode>\u003C\u002Fpre>\n  ),\n};\n\n\u002F\u002F Server component: fetch data at build\u002Frequest time\nexport default async function PostPage({ params }: { params: { slug: string } }) {\n  const { data, query, variables } = await client.queries.post({\n    relativePath: `${params.slug}.mdx`,\n  });\n\n  return \u003CPostClient data={data} query={query} variables={variables} \u002F>;\n}\n\n\u002F\u002F Client component: enables visual editing when in Tina admin\nfunction PostClient({ data, query, variables }: any) {\n  \u002F\u002F useTina enables real-time editing — changes appear instantly\n  const { data: tinaData } = useTina({ query, variables, data });\n  const post = tinaData.post;\n\n  return (\n    \u003Carticle>\n      {post.heroImage && \u003Cimg src={post.heroImage} alt={post.title} \u002F>}\n      \u003Ch1>{post.title}\u003C\u002Fh1>\n      \u003Cp>{post.description}\u003C\u002Fp>\n      \u003Cdiv className=\"author\">\n        {post.author?.avatar && \u003Cimg src={post.author.avatar} alt=\"\" \u002F>}\n        \u003Cspan>{post.author?.name}\u003C\u002Fspan>\n        \u003Ctime>{new Date(post.publishedAt).toLocaleDateString()}\u003C\u002Ftime>\n      \u003C\u002Fdiv>\n      {\u002F* TinaMarkdown renders rich-text with custom components *\u002F}\n      \u003CTinaMarkdown content={post.body} components={components} \u002F>\n    \u003C\u002Farticle>\n  );\n}\n\n\u002F\u002F Generate static paths for all posts\nexport async function generateStaticParams() {\n  const posts = await client.queries.postConnection();\n  return posts.data.postConnection.edges?.map((edge) => ({\n    slug: edge?.node?._sys.filename,\n  })) ?? [];\n}\n```\n\n### Querying Content\n\nUse the auto-generated GraphQL client:\n\n```typescript\n\u002F\u002F src\u002Flib\u002Fcontent.ts — Query content using Tina's generated client\nimport { client } from \"@\u002Ftina\u002F__generated__\u002Fclient\";\n\n\u002F\u002F Get all blog posts (sorted by date)\nasync function getAllPosts() {\n  const response = await client.queries.postConnection({\n    sort: \"publishedAt\",\n    last: 100,              \u002F\u002F Get latest 100 posts\n  });\n\n  return response.data.postConnection.edges?.map((edge) => ({\n    slug: edge?.node?._sys.filename,\n    title: edge?.node?.title,\n    description: edge?.node?.description,\n    publishedAt: edge?.node?.publishedAt,\n    category: edge?.node?.category,\n    author: edge?.node?.author,\n  })) ?? [];\n}\n\n\u002F\u002F Get posts filtered by category\nasync function getPostsByCategory(category: string) {\n  const response = await client.queries.postConnection({\n    filter: {\n      category: { eq: category },\n    },\n  });\n  return response.data.postConnection.edges?.map((e) => e?.node) ?? [];\n}\n\n\u002F\u002F Get a single post by filename\nasync function getPost(slug: string) {\n  const response = await client.queries.post({\n    relativePath: `${slug}.mdx`,\n  });\n  return response.data.post;\n}\n```\n\n## Installation\n\n```bash\n# Add to an existing Next.js project\nnpx @tinacms\u002Fcli@latest init\n\n# This creates:\n# - tina\u002Fconfig.ts (schema configuration)\n# - tina\u002F__generated__\u002F (auto-generated client and types)\n\n# Run development server with visual editing\nnpx tinacms dev -c \"next dev\"\n\n# Build for production\nnpx tinacms build && next build\n```\n\n\n## Examples\n\n\n### Example 1: Setting up Tinacms with a custom configuration\n\n**User request:**\n\n```\nI just installed Tinacms. Help me configure it for my TypeScript + React workflow with my preferred keybindings.\n```\n\nThe agent creates the configuration file with TypeScript-aware settings, configures relevant plugins\u002Fextensions for React development, sets up keyboard shortcuts matching the user's preferences, and verifies the setup works correctly.\n\n### Example 2: Extending Tinacms with custom functionality\n\n**User request:**\n\n```\nI want to add a custom visual editing in next.js to Tinacms. How do I build one?\n```\n\nThe agent scaffolds the extension\u002Fplugin project, implements the core functionality following Tinacms's API patterns, adds configuration options, and provides testing instructions to verify it works end-to-end.\n\n\n## Guidelines\n\n1. **Git is your database** — Content lives in Markdown\u002FJSON files in your repo; every edit creates a git commit\n2. **Use MDX for rich content** — MDX lets editors use custom React components (callouts, embeds, interactive elements)\n3. **Define templates for blocks** — Page builder patterns (hero, features, CTA) give editors flexibility without code\n4. **Type-safe queries** — Tina generates TypeScript types from your schema; use the generated client, not raw GraphQL\n5. **Visual editing in dev** — Run `tinacms dev` locally for real-time editing preview; editors see changes as they type\n6. **Branch-based workflow** — Editors can work on branches; content changes go through PR review like code\n7. **Media in Git LFS** — For repos with many images, use Git LFS to keep the repo size manageable\n8. **Self-host for control** — Tina Cloud handles auth and Git; self-host the backend for full control over the editing API\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FTerminalSkills\u002Fskills\u002Ftinacms",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill tinacms",{"tool":37,"command":38},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill tinacms",{"tool":40,"command":41},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill tinacms","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FTerminalSkills\u002Fskills\u002Ftinacms\u002FSKILL.md",true,[],[46,60,70,79,85,92],{"skillNo":47,"name":48,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":56,"publishedAt":18},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[51],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[57,58,59],"model","model hierarchy","model hierarchy skill",{"skillNo":61,"name":62,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":66,"publishedAt":18},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[65],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[67,68,69],"MCP","zoom","zoom mcp",{"skillNo":71,"name":72,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[76,77,78,68],"sdk","zoom apps sdk","apps",{"skillNo":80,"name":81,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":91,"publishedAt":18},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[90],{"categoryNo":52,"categoryName":53,"taxonomyType":54,"taxonomyTypeDesc":55},[87],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":18},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[94]]