agentleFS
VeryGoodOpenSourceVeryGoodOpenSource/vgv-ai-flutter-plugin/skills/create-project/SKILL.md

create-project

Skill168 starsChanged 3 months agoMITView on GitHub

Scaffold a new Dart or Flutter project from a Very Good CLI template, covering the flutter_app, dart_package, flutter_package, flutter_plugin, dart_cli, flame_game, and docs_site templates, inferring the right one from what the user wants to build and then installing dependencies. Use when the user says "create a new project", "start a new flutter app", "scaffold a package", "create a new package", "initialize a dart cli", "new flame game", or "generate a plugin". Use it for bare, vague, or under-specified scaffolding requests too — "create a new package for me", "make me a new app", "I need a new project", "set one up" — including ones that name no template, no project name, and no organization, or that only hint at what is being built. Missing or ambiguous details are a reason to use this skill, not a reason to skip it: it asks the clarifying questions and picks the template.

7 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the intent is ambiguous, use AskUserQuestion to clarify with a high-level question about what they're building — not which subcommand …

    line 43
  2. Very specific:

    Use AskUserQuestion to collect only what you cannot infer.

    line 47
  3. Distinctive:

    Create the project using the Very Good CLI MCP server

    line 51
  4. Very specific:

    Use dart_package (not flutter_package) for data layer and repository layer packages in the layered-architecture pattern — these must not …

    line 58
  5. Distinctive:

    If a user provides a project name with dashes, convert to underscores — Dart package names only allow lowercase letters, numbers, and …

    line 59
  6. Very specific:

    If packages_get fails after creation, check that directory points at the new project and that the Dart SDK is on PATH

    line 61
  7. Distinctive:

    Ask for project name and organization

    line 70
  8. Distinctive:

    Create and install dependencies

    line 71
  9. Distinctive:

    Ask for project name

    line 88

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create Project

Scaffold a new Dart or Flutter project using Very Good CLI templates.

Cross-harness fallbacks. This skill drives the Very Good CLI MCP server and asks the user structured questions. On a host without this plugin's Bash hooks and without that MCP server connected, run the equivalent very_good create … and very_good packages get commands directly. On a host without AskUserQuestion, invoke whatever equivalent user-question tool the host provides; if it has none, ask the same questions as plain numbered text.


Core Standards

  • Use the Very Good CLI MCP server to scaffold projects and install dependencies
  • Infer the template from context — determine the right template based on what the user wants to build, not by asking them to pick a subcommand name
  • Use AskUserQuestion only for information you cannot infer — project name and organization are the most common missing pieces
  • Install dependencies after creation

Workflow

Step 1: Understand What the User Wants to Build

Infer the subcommand from the user's description — the available subcommands and their descriptions are defined by the Very Good CLI MCP server. Do NOT ask users to pick a subcommand name — figure it out from context.

If the intent is ambiguous, use AskUserQuestion to clarify with a high-level question about what they're building — not which subcommand they want.

Step 2: Gather Missing Parameters

Use AskUserQuestion to collect only what you cannot infer. Batch questions into a single call when possible. Do NOT ask for optional parameters (description, output directory, application ID, etc.) unless the user brings them up.

Step 3: Create and Set Up

  1. Create the project using the Very Good CLI MCP server
  2. Install dependencies using the Very Good CLI MCP server — pass directory: '<path-to-created-project>' to packages_get so it runs against the new project, not the workspace root

Key Domain Knowledge

  • Use dart_package (not flutter_package) for data layer and repository layer packages in the layered-architecture pattern — these must not depend on Flutter SDK
  • If a user provides a project name with dashes, convert to underscores — Dart package names only allow lowercase letters, numbers, and underscores
  • Templates that produce apps, plugins, or games require an organization name — do not skip this or it defaults to a placeholder value
  • If packages_get fails after creation, check that directory points at the new project and that the Dart SDK is on PATH

Examples

User says "Create a new Flutter app"

  1. Infer: flutter_app
  2. Ask for project name and organization
  3. Create and install dependencies

User says "I need a package for my weather API client, put it in packages/"

  1. Infer: "API client" → pure Dart → dart_package, name weather_api_client, output packages/
  2. Everything is clear — no questions needed
  3. Create and install dependencies

User says "I want to build something for iOS and Android with bluetooth"

  1. Ambiguous: app or plugin? Ask to clarify
  2. Gather remaining parameters based on answer
  3. Create and install dependencies

User says "Create a new package"

  1. Ambiguous: Flutter or pure Dart? Ask to clarify
  2. Ask for project name
  3. Create and install dependencies

Anti-Patterns

Anti-PatternProblemCorrect Approach
Asking user to pick a template nameUsers think in terms of what they're building, not CLI subcommandsInfer the template from context
Over-asking for optional parametersSlows down the workflowOnly ask for what you cannot infer
Using flutter_package for a data layerAdds unnecessary Flutter SDK dependencyUse dart_package for data and repository layer packages
Skipping organization name for apps/pluginsDefaults to a placeholder valueAsk when the template requires it

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.