page-constructor-block-creator
Skill by gravity-ui
Scaffolds new blocks, sub-blocks and components for the @gravity-ui/page-constructor project, including Storybook stories, mock data and registration. Aimed at developers adding page-constructor entities end to end.
Install page-constructor-block-creator
Built from the published package, never by AI.
git clone --depth 1 https://github.com/gravity-ui/page-constructor /tmp/page-constructor && mkdir -p ~/.claude/skills && cp -r /tmp/page-constructor/.agents/skills/page-constructor-block-creator ~/.claude/skills/page-constructor-block-creatorRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install page-constructor-block-creator in Claude Code
git clone --depth 1 https://github.com/gravity-ui/page-constructor /tmp/page-constructor && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/page-constructor/.agents/skills/page-constructor-block-creator ~/.gemini/antigravity-cli/skills/page-constructor-block-creatorAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install page-constructor-block-creator in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill scaffolds new blocks, sub-blocks, and components for the @gravity-ui/page-constructor project, or any repo with a matching layout under src/blocks, src/sub-blocks, and src/components. It generates implementation files such as .tsx, .scss and schema.ts, plus a __stories__ folder with a stories file, data.json and an MDX page. It also wires the entity into blockMap, the BlockType or SubBlockType enum, exports and schema registration.
The workflow asks for a plan and waits for approval before any file edits, then creates files one at a time. After scaffolding it runs npm run typecheck and suggests opening Storybook on port 7009 to check the story. It also documents the new entity in memory-bank so future agents can find it. It is aimed at developers working on page-constructor or similar Storybook-based component libraries who want consistent new entities.
Written from the project's SKILL.md and checked against it.
What it can do
- Entity scaffoldingCreates block, sub-block or component directories with implementation files.
- Styles and schemaGenerates .tsx, .scss, schema.ts and related files for the entity.
- Storybook storiesCreates __stories__ content: stories.tsx, data.json and an MDX page.
- Registration wiringRegisters the entity in blockMap, BlockType or SubBlockType, exports and schema.
- Storybook routingChooses the correct Storybook title path for each category.
- VerificationRuns npm run typecheck and suggests opening Storybook on port 7009.
- Memory-bank documentationAdds usage, activeContext and storybookComponents entries for the new entity.
- Plan approval gatePresents a file plan and waits for approval before editing files.
What you need
- A repo with the @gravity-ui/page-constructor layout (src/blocks, src/sub-blocks, src/components)
- npm, for npm run typecheck and npm run dev
Try asking
- Create a new hero variant block for the page constructor
- Scaffold a sub-block called PromoCard with Storybook stories
- Add a component called Badge with its stories and mock data
Good to know
- Built for page-constructor or repos with a matching layout, not general projects
- Skip requests that only explain existing code or fix bugs
- Components are not registered centrally and get no barrel index.ts re-export
- Files are not edited until the user approves the plan
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/page-constructor-block-creator/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to page-constructor-block-creator
All alternatives →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.
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.
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.
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.
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.
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.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
page-constructor-block-creator: common questions
Does this skill work outside the page-constructor project?
The source says it applies to that project or any repo whose layout matches src/blocks, src/sub-blocks and src/components with __stories__ folders.
Will it explain existing blocks or fix bugs?
No. The source says to skip purely non-scaffolding requests such as explaining how Banner works or fixing a bug in BasicCard.
Where do the stories and mock data go?
The stories, data.json and MDX page live in a __stories__ folder inside the entity directory.
How do I install page-constructor-block-creator?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is page-constructor-block-creator free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is page-constructor-block-creator safe to use?
It scores 71 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 page-constructor-block-creator?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
