Create Controller logo

Create Controller

Community
EmadBeltaje
create-controller

Creates a GetX controller in a module’s controllers folder and registers it in that module’s binding with Get.lazyPut. Use whenever the user asks to create a controller, says get create controller, wants a new GetxController on a screen or module, or passes on/with like get create controller:dialog on home.

Overview

PublisherEmadBeltaje
Repositoryflutter_getx_template
Skill namecreate-controller
Stars
519
Forks
138
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by EmadBeltaje on GitHub. Read the source before you install it.

Installation

Install the Create Controller AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/EmadBeltaje/flutter_getx_template/tree/master/.agent/skills/create-controller
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/EmadBeltaje/flutter_getx_template.git /tmp/flutter_getx_template
mkdir -p .claude/skills
cp -r /tmp/flutter_getx_template/.agent/skills/create-controller .claude/skills/create-controller
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Create Controller in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Create Controller on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Create Controller is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Create controller

Add a GetxController the same way get create controller:name on folder does. Write the file from the templates in this skill. Do not copy an existing controller — those files often contain feature-specific API and UI logic.

Name and options

From the user (dialog, dialogcontroller, get create controller:dialog on home):

PieceMeaning
nameController identity
on {folder}Module/folder to place it in. Search lib for a directory whose path contains /{folder}/ as a segment. Prefer lib/app/modules/{folder} when it exists. If no folder matches, stop and say so.
with {file-or-url}Optional custom template. Local dart file or a URL that returns dart.
  1. Trim a trailing controller (any case) so dialogcontroller and dialog both become dialog.
  2. snake = snake_case. pascal = PascalCase.
  3. Class is always {pascal}Controller.
  4. File is always {snake}_controller.dart.

Destination

If on is set, write:

{found-folder}/controllers/{snake}_controller.dart

Create controllers/ if it is missing.

If on is omitted, write:

lib/app/controllers/{snake}_controller.dart

If that file already exists, ask before overwriting.

Default file

When with is not given, write:

dart
import 'package:get/get.dart';

class {pascal}Controller extends GetxController {
  //TODO: Implement {pascal}Controller

  final count = 0.obs;

  @override
  void onInit() {
    super.onInit();
  }

  @override
  void onReady() {
    super.onReady();
  }

  @override
  void onClose() {
    super.onClose();
  }

  void increment() => count.value++;
}

Custom template (with)

Read the file or URL body, then replace:

TokenReplacement
@controller{pascal}Controller
@view{pascal}View
@screen{pascal}Screen
@binding{pascal}Binding
@packagepackage name from pubspec.yaml
@importimport 'package:get/get.dart';

Write the substituted dart to the destination path above.

Binding

After the controller file exists, find a binding to register it:

Walk up from the controller’s directory looking for a file named {folder}_binding.dart or {folder}.controller.binding.dart, where {folder} is the on name (snake_case). Example: on home → home_binding.dart.

If a binding is found:

  1. Add an import for the new controller next to the other relative imports, e.g. import '../controllers/{snake}_controller.dart'; (adjust ../ to the real relative path from the binding file).
  2. Skip the import if it is already there.
  3. Inside void dependencies() {, insert at the top of the body:
dart
    Get.lazyPut<{pascal}Controller>(
      () => {pascal}Controller(),
    );

Keep the binding’s existing Get.lazyPut calls. Match its indent and trailing-comma style.

If no binding file is found, leave routing/DI alone — the controller file is still created.

Do not create a view, a new binding, or a route. This skill only adds a controller (and updates an existing binding when one belongs to that folder).

Done

The work is done when:

  • {snake}_controller.dart exists at the destination with class {pascal}Controller.
  • If a matching binding existed, it imports that controller and Get.lazyPuts it inside dependencies().

Examples

get create controller:dialog on home

lib/app/modules/home/controllers/dialog_controller.dart

Class DialogController. home_binding.dart gains the import and:

dart
    Get.lazyPut<DialogController>(
      () => DialogController(),
    );

get create controller:dialogcontroller on home

Same files as above (dialog after stripping the controller suffix) so the class is DialogController, not DialogcontrollerController.

get create controller:auth (no on)

lib/app/controllers/auth_controller.dart

Register in a binding only if auth_binding.dart is found while walking up from that file.

Frequently asked questions

What does the Create Controller AI skill do?

Creates a GetX controller in a module’s controllers folder and registers it in that module’s binding with Get.lazyPut. Use whenever the user asks to create a controller, says get create controller, wants a new GetxController on a screen or module, or passes on/with like get create controller:dialog on home.

Why use Create Controller on TypingMind?

Because you install it once and use it with any model. Create Controller is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Create Controller in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/EmadBeltaje/flutter_getx_template/tree/master/.agent/skills/create-controller. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Create Controller?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Create Controller?

As many as you like. As long as a model supports skills, you can use Create Controller with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Create Controller AI skill free?

Yes. It is published on GitHub by EmadBeltaje under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇