Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

new-block

Skill by robotostudio

Scaffolds a complete page builder block for the Turbo Start Sanity repo in one pass. It creates the Sanity schema, GROQ projection, React component, Markdown serializer, tests and registrations, for developers adding new content sections.

  • Score 74
  • 189 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install new-block

Built from the published package, never by AI.

git clone --depth 1 https://github.com/robotostudio/turbo-start-sanity /tmp/turbo-start-sanity && mkdir -p ~/.claude/skills && cp -r /tmp/turbo-start-sanity/.agents/skills/new-block ~/.claude/skills/new-block

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install new-block in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The new-block skill scaffolds a full page builder block for the Turbo Start Sanity repository. It creates a Sanity schema, a GROQ projection, a styled React component, a Markdown serializer and two test files. It also adds the registrations the block needs in the shared package, the page builder query, the web renderer and the Markdown switch.

The skill is written for developers working in that repo. It asks for the block name and fields when they are not given, then follows the structure of a similar existing block. It ends with verification commands and a checklist, including a grep step to catch missing case registrations that type checks do not flag.

Written from the project's SKILL.md and checked against it.

What it can do

  • Sanity schemaCreates the block schema with field descriptions written for non-technical editors.
  • GROQ projectionAdds a query projection that reuses shared fragments from the repo.
  • React componentBuilds a styled component using Tailwind v4 and the shared UI package.
  • Markdown serializerWrites a serializer for the block so it appears in .md output.
  • TestsAdds component tests and Markdown tests, including a check for leaked HTML or JSX.
  • RegistrationsWires the block into the schema list, shared query, web renderer and Markdown switch.
  • Type generationRegenerates Sanity types after the schema is extracted.

What you need

  • Turbo Start Sanity repository
  • pnpm
  • Biome for formatting and linting

Try asking

  • Add a testimonials block to the page builder
  • Create a pricing table section for Turbo Start Sanity
  • /new-block stats

Good to know

  • The hardcoded id assumes one instance of the block per page.
  • Type checks do not catch a missing case registration, so a grep check is needed.
  • The insert menu thumbnail is optional and can be left pending.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/new-block/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to new-block

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

new-block: common questions

Does the skill register the new block in every place it needs?

The source lists the registrations: the blockSchemas array, the pageBuilderFragment query, the renderBlockComponent switch and the blockToMarkdown switch. It also asks for a grep check on the two switches because a missing case does not fail type checks.

Why must schema extract run before type generation?

The source says pnpm type reads the committed schema.json and does not look at the schema source. Only sanity schema extract refreshes that file, so both commands must run in that order.

Is a thumbnail required for the new block?

No. The source says the block works without a thumbnail, but the insert menu tile will have no preview image until one is added.

How do I install new-block?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is new-block free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is new-block safe to use?

It scores 74 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to new-block?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

new-block Install

Add to stack

Loading.