cratis/ai.distribution/scaffold-feature

Claude Code and agent skill by cratis/ai.distribution

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this skill when asked to create a new feature, section, or page that does not yet exist in a Cratis-based project. Sets up the folder, composition page, routing, and navigation entry before any slices are added.

Install

npx vskill@latest install cratis/ai.distribution/scaffold-feature

SKILL.md

The same SKILL.md was published earlier as cratis/ai.distribution/scaffold-feature.

Scaffold a brand-new feature folder with routing and navigation — ready for slices.

What to produce

1 — Feature folder
<Feature>/ ← directly under the app source root (or under an optional <Module>/) — no Features/ wrapper
├── <Feature>.tsx ← composition page
├── <Feature>.css ← feature-level styles (can be empty initially)
└── index.ts ← re-exports the composition page
2 — Composition page (<Feature>.tsx)
tsx
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
import { Page } from '@cratis/components/Common';
export const <Feature> = () => {
return (
<Page title="<NavigationLabel>">
{/* Slices will be composed here */}
</Page>
);
};
3 — index.ts
typescript
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
export { <Feature> } from './<Feature>';
4 — Update routing

Locate the app router (typically App.tsx or a routes.ts file) and add:

tsx
import { <Feature> } from './<Feature>';
{ path: '<route-path>', element: <<Feature> /> }
5 — Update navigation

Locate the sidebar/navigation configuration and add:

tsx
import * as mdIcons from 'react-icons/md';
{
label: '<NavigationLabel>',
icon: mdIcons.<NavigationIcon>,
url: '<route-path>'
}

Rules

  • Feature name: PascalCase (e.g. Projects, Invoices)
  • Route path: kebab-case (e.g. /projects, /user-management)
  • Navigation icon: from react-icons/md — e.g. MdFolderOpen, MdPeople
  • Copyright header on every file

Validation

Run yarn lint and npx tsc -b. Fix all errors. Confirm the blank page renders without runtime errors.

Next step

Add slices using the new-vertical-slice skill.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 22 Oct 2026, a month ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/cratis/ai.distribution/scaffold-feature/badge)](https://verified-skill.com/skills/cratis/ai.distribution/scaffold-feature)

Something wrong with this skill or its page? Tell us.