/zd-core:stack-detectfrom Zaraat Dost · Core
Scans a repository for languages, frameworks, databases, spatial libraries, and tile stacks from configuration files, dependency lists, and project templates. Outputs a stack summary and adapts tooling suggestions.
Ships in Zaraat Dost · Core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Scan the repo (respect .gitignore; skip node_modules, .venv, bin, obj) and fill this table. State "none found" explicitly — never guess.
| Signal | Files to check | What it tells you |
|---|---|---|
| Language | *.csproj, *.sln, global.json → .NET; pyproject.toml, requirements.txt, environment.yml → Python; package.json → Node/TS; go.mod; Cargo.toml | primary + secondary languages |
| .NET web | Program.cs/Startup.cs with AddControllers/MapRazorPages/AddServerSideBlazor; *.razor; *.cshtml | ASP.NET Core API / MVC / Razor Pages / Blazor |
| .NET data | Microsoft.EntityFrameworkCore.* package refs, Migrations/ folder, DbContext subclasses, NetTopologySuite refs, appsettings*.json ConnectionStrings | EF Core provider (Npgsql / SqlServer / Sqlite), spatial enabled or not |
| Python web | streamlit, dash, flask, fastapi, django in deps; manage.py; app.py | dashboard framework |
| JS map | leaflet, maplibre-gl, mapbox-gl, openlayers, deck.gl, cesium in package.json; <script src=...leaflet...> in HTML/cshtml | map client |
| Database | docker-compose*.yml services (postgis/postgres/mssql/mysql), DATABASE_URL/PG*/ConnectionStrings in .env* or appsettings*.json (read keys only, never print secrets), *.gpkg, *.sqlite, *.mdf | engine + how to connect |
| Spatial ext | CREATE EXTENSION postgis in migrations; geometry( / geography( columns; [Column(TypeName = "geometry")]; UseNetTopologySuite() | PostGIS / SQL Server spatial / SpatiaLite |
| Tile/feature service | geoserver, pg_tileserv, pg_featureserv, martin, titiler, qgis_server, tegola in compose/config; /tiles/{z}/{x}/{y} routes | how layers reach the map |
| ORM/migrations | alembic/, Migrations/, prisma/, knex, flyway, dbmate — or db/APPLIED_*.sql + ROLLBACK_*.sql with no Migrations/ | how schema changes are applied; the second pattern means migration-free, hand-run additive scripts (apply schema-posture from zd-dotnet and never propose dotnet ef) |
| Tests/CI | tests/, *.Tests.csproj, .github/workflows, azure-pipelines.yml, Jenkinsfile | how to verify changes |
| Run | Makefile, justfile, package.json scripts, launchSettings.json, Dockerfile, README "Run" section | exact run command |
Output a Stack summary block (≤ 12 lines) before doing any work. Then adapt:
dotnet build (warnings as errors) / dotnet test; if the repo has db/APPLIED_*.sql and no Migrations/, schema changes are hand-run scripts (zd-dotnet:schema-posture) — never dotnet ef migrations; spatial via NetTopologySuite (Npgsql.EntityFrameworkCore.PostgreSQL.NetTopologySuite or Microsoft.EntityFrameworkCore.SqlServer.NetTopologySuite); config from appsettings.{Environment}.json + user-secrets, never hardcoded.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
stack-detection, repo-scan, spatial-stack, framework-detection
npx claudepluginhub adilmunawar/zd-claude-plugin --plugin zd-core4 skills in this plugin
/handoffWrite a session hand-over document so a colleague or a fresh session can continue without the transcript./onboardGenerate or refresh CLAUDE.md from the repository (stack, run commands, data layout, conventions)./secrets-auditFind credentials in the working tree and git history (keys, tokens, connection strings); walk through rotation and history purge.Other plugins' skills for the same job