agentleFS
Microsoft AzureKnown publisherAzure/vscode-aks-tools/skills/kickstart-discover/SKILL.md

kickstart-discover

Skill65 starsChanged 3 months agoMITView on GitHub

Discovery phase playbook — collect application details.

  • Reads credentials

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 0 are distinctive, and 6 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 6

    Very specific

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

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

    Use search and codebase to scan the workspace before asking anything.

    line 13
  2. Very specific:

    Never assume a flat repo. Apps often live in nested or monorepo layouts (src/<service>/, services/<name>/, apps/<name>/, packages/<name>/).

    line 17
  3. Very specific:

    Use codebase/search to confirm each path actually exists — do not infer it from the language alone.

    line 27
  4. Very specific:

    Prefer az acr build for container images.

    line 31
  5. Very specific:

    Use vscode_askQuestions for every question with concrete options.

    line 47
  6. Very specific:

    When the answer is open-ended (app name), use allowFreeformInput: true.

    line 49

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “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

Discover Phase

Collect enough information to propose a deployment architecture.

Auto-detect first, then ask

Use search and codebase to scan the workspace before asking anything. Look for package.json, requirements.txt, go.mod, *.csproj, Dockerfile, .github/workflows/, azure-pipelines.yml.

Map the structure (before anything else)

Never assume a flat repo. Apps often live in nested or monorepo layouts (src/<service>/, services/<name>/, apps/<name>/, packages/<name>/). For every deployable service, record a structure entry — later phases build and deploy from it:

FieldHow to find itUsed by
Service namedirectory / manifestnaming, image tag
Build contextthe dir holding the service's manifest + source (NOT always repo root)Generate, Deploy build context
Entry pointthe real run target — main.py, app.js, cmd/<svc>/main.go, *.csproj — confirm the file existsDockerfile CMD/ENTRYPOINT
Existing Dockerfilesearch the build context; record its path or "none — generate"Generate (reuse vs. create)
Portcode (app.listen(3000), EXPOSE, framework default)Service, probes

Use codebase/search to confirm each path actually exists — do not infer it from the language alone. Surface this map to the user and let them correct it before proceeding.

Build environment

Prefer az acr build for container images. It builds on ACR's remote task builders, avoids depending on a local Docker daemon, and uses the same build-and-push path in every environment.

az acr build needs the Phase 2 ACR to exist and the caller to hold the required ACR build and push permissions. Keep .dockerignore tight because the whole build context uploads on every build.

What to collect

  • App name
  • Language / framework (detect from manifest files, confirm via vscode_askQuestions)
  • Per-service structure map (build context, entry point, existing Dockerfile path) — see above
  • Dependencies (databases, caches, queues — offer common options as multi-select)
  • Port (detect from code like app.listen(3000), confirm)
  • Environment variables (detect from .env.example or code)
  • Existing CI/CD (search workspace)

Rules

  • Use vscode_askQuestions for every question with concrete options. Mark detected/recommended values with recommended: true.
  • One question at a time unless tightly related.
  • When the answer is open-ended (app name), use allowFreeformInput: true.

Exit Criteria

You know the app name, language, framework, port, key deps, env vars, CI status, a confirmed per-service structure map (build context + entry point + existing Dockerfile path) for every deployable service. Announce: "Discovery complete — moving to Configure Infrastructure."

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.