create-feature

A workflow for adding a new feature to an Express and Sequelize application, including a database table and its API. Express is a JavaScript web framework, while Sequelize connects the application to a database.

In plain words
What is it for?
Adding a new entity such as an order, product, or post, with its table, model, migration, endpoints, controllers, supporting code, and tests.
Why use it?
It gives the work a fixed order so the database structure, application code, routes, and tests are built consistently.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/hackbyrd/orbital-express/create-feature
Any agent
npx skills add Hackbyrd/orbital-express --skill create-feature
Clone the repo
git clone --depth 1 https://github.com/Hackbyrd/orbital-express

Made for: Claude Code, Codex.

Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,437 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00074 $0.01437
Opus 5 $0.00037 $0.00718
Sonnet 5 $0.00015 $0.00287
Haiku 4.5 $0.00007 $0.00144

Measured 2d ago against content hash c91be1257ef5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

create-feature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/create-feature/SKILL.md · 37 lines

How it starts

The opening of the file, as written. The whole thing — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create a feature end-to-end (Path A — new table + folder)

Build a brand-new feature: a new database table → a new feature folder. Feature folder names are singular PascalCase (Order, not Orders). For editing an existing feature/adding columns, use the modify-feature skill. These compose — a single product feature often needs a new table AND changes to existing ones; do both (plan all schema changes together in Step 0, then run this skill per new table and modify-feature per existing table touched). Full lifecycle: docs/workflow.md. Rules: docs/conventions.txt + README.

Do the steps in this order: schema → scaffold → model → migration → routes → controller → actions/tasks → helpers/services → test → run. The model/migration come right after the scaffold (the table must exist before anything builds on it). This is the SAME process as modify-feature — the only differences there are that you skip the whole-folder scaffold (the folder exists, but you still scaffold new actions/tasks/mailers) and use yarn migration (ALTER) instead of yarn model (create table).

0. Plan first (get sign-off before scaffolding)

  • Design the table + columns and write them into database/schema.sql (the column-order/naming template is at the top). Booleans is/has/can/does; FKs <entity>Id; carry the owner FK onto descendants; named indexes.
  • Decide the actions (endpoints) and tasks (background jobs) and which roles use them.
  • Present the schema + action/task plan and get a quick sign-off (this is the product/eng boundary). Then execute the rest autonomously.

Steps

  1. Schema: design the table + columns in database/schema.sql and get sign-off (Step 0).
  2. Scaffold: yarn gen <Feature> (whole folder + adds the model to database/sequence.js), then scaffold its actions/tasks/mailers (-a/-t/-m). Never hand-create — always scaffold.
    • Remove the generator's default action/task immediately after: yarn del <Feature> -a V1Example and yarn del <Feature> -t V1ExampleTask. Keep tests/helper.test.js; it is standard structure. Never use rm directlyyarn del maintains the indexes.
    • Run yarn repair <Feature> --dry-run, review it, then yarn repair <Feature>. Repair never overwrites existing files and reports wiring ambiguity.
  3. Model: fill in app/<Feature>/model.js by hand from schema.sql: id = DataTypes.UUID + defaultValue: () => uuidv7() (require { v7: uuidv7 } from 'uuid') + primaryKey + validate: { isUUID: 7 }; regular columns (FKs go in associate, not the attributes block); options timestamps: true, paranoid: true, freezeTableName: true, explicit static PascalCase plural tableName: '<Plural>' (use the real irregular plural when needed, never assume <Feature>s), defaultScope excluding sensitiveData; indexes named {Table}_{col}_{idx|unique} using that exact tableName (index every FK); associate with explicit onDelete/onUpdate; getSensitiveData()/getPrivateData() if it has sensitive fields. The test DB syncs from the model, so it must exist before tests run.
  4. Migration: create the table migration — see add-migration (yarn model<ts>-create-<Feature>-model.js, transaction-wrapped, attrs + named indexes matching the model, by hand).
  5. Routes: add router.all('/v1/<plural>/<action>', controller.V1X) in app/<Feature>/routes.js (lowercase, no separators). Root routes, models, workers, and errors auto-discover complete feature folders.
  6. Controller: thin method per route — pick the action by role/device (req.admin/req.user/req.device), res.status(result.status).json(result), next(error) on throw. Version+action name only (role/device live on the actions).
  7. Actions and/or tasks: write each scaffolded action — see add-action/add-query-action — and task — see add-task (register processors in worker.js). Add supporting code as the logic needs: constants (add-constant), error codes (add-error-code), i18n (add-locale + yarn lang), mailers (add-mailer).
  8. Helpers and/or services: extract pure logic into the feature helper.js, or the global helpers/ if shared across features; write/extend a global service (services/) when wrapping a third party / shared infra.
  9. Test (see write-tests): an integration test per action + a test per task (every error code, who-cannot); a helper.test.js for feature helpers; and test/helpers/ / test/services/ for any global helper/service you touched. Add fixtures (add-fixtures): test/fixtures/fix1/<feature>.js + yarn sql fix1 (+ dev seed in database/seed/set1/ if useful).
  10. Run checks/tests: yarn conventions:check, npx jest app/<Feature>/tests --runInBand (Postgres + Redis up), then yarn test. Finish with the mandatory review-conventions self-audit.

Read the full file on GitHub · 37 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 37 lines · 74 tokens per session scan A c91be1257ef5

Subscribe to this mod's changes

create-feature is a skill published in the GitHub repository Hackbyrd/orbital-express (14 stars, last pushed 13d ago), licensed MIT. It adds 74 tokens to every session and 1,437 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.

obra/superpowers · 37 tokens

auto-perf-optimize

Run agent-driven VS Code performance or memory investigations. Use when asked to launch Code OSS, automate a VS Code scenario, run the Chat memory smoke runner, capture renderer heap snapshots, take workflow screenshots, compare run summaries, or drive a repeatable scenario before heap-snapshot analysis.

microsoft/vscode · 62 tokens

chat-perf

Run chat perf benchmarks and memory leak checks against the local dev build or any published VS Code version. Use when investigating chat rendering regressions, validating perf-sensitive changes to chat UI, or checking for memory leaks in the chat response pipeline.

microsoft/vscode · 51 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens