add-feature

Automates creation of a Gemini feature module with storage, API, and bootstrap registration.

3|1|Updated Dec 11, 2025
One-click install
npx skills add https://github.com/Ariedam64/Gemini --skill add-feature-ariedam64
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-feature
Source: https://github.com/Ariedam64/Gemini/tree/main/.claude/skills/add-feature
Command: npx skills add https://github.com/Ariedam64/Gemini --skill add-feature-ariedam64

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a guided scaffold to create a new toggleable feature with a complete project structure, storage, API exposure, and bootstrap registration for Gemini mods.

Core Features & Use Cases

  • Generates a standardized feature module with folders like types.ts, state.ts, index.ts, logic/core.ts, ui.ts, handler.ts, and optional middleware.ts for integration with the Gemini architecture.
  • Exposes a public API for the feature under MG<Name> and provides bootstrap loader integration to initialize UI components at startup.
  • Enables a consistent configuration, storage keys, and a scalable pattern for adding subsequent features.

Quick Start

Run /add-feature <featureName> to scaffold a new feature with the standard structure.

Frequently Asked Questions about add-feature

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold a new toggleable feature with storage and API exposure for Gemini mods?

To scaffold a toggleable feature, you can generate a standardized module with storage, API exposure, and bootstrap registration. This creates a complete project structure including types, state, logic, UI, and handler files for Gemini architecture integration.

What is the standard project structure for adding a new feature module to Gemini architecture?

A standard feature module structure includes types.ts, state.ts, index.ts, logic/core.ts, ui.ts, handler.ts, and an optional middleware.ts. This standardized file layout ensures consistent configuration, storage keys, and scalable patterns across all newly added features.

How do I initialize UI components at startup when creating a Gemini feature?

To initialize UI components at startup, the scaffolded feature includes bootstrap loader integration. This automatically registers your new feature with the UI loader, ensuring components inject and initialize properly during the Gemini architecture startup sequence.

Does the feature scaffolding process support WebSocket integration and data handling scenarios?

Yes, the feature scaffolding process fully supports WebSocket integration and data handling scenarios. It applies to adding new features across the entire Gemini architecture, ensuring on-disk structure and bootstrap integration are correctly configured for these specific use cases.

What is the best way to expose a public API under a specific feature name in Gemini mods?

The best way to expose a public API is by using a guided scaffold that automatically generates the exposure under the MG<Name> namespace. This ensures your feature module follows the consistent configuration and scalable pattern required by the Gemini architecture.

Do I need to manually configure storage keys when adding a new feature module?

No, you do not need to manually configure storage keys. The scaffolding process enables a consistent configuration and automatically generates the storage keys, satisfying the initial configuration and on-disk structure requirements for the new feature.