skills/consiliency/library-detection/SKILL.md
Detect project stack from package manifests (package.json, pyproject.toml, go.mod, Cargo.toml, pubspec.yaml, CMakeLists.txt). Auto-identify frameworks, test tools, and build systems for onboarding.
npx skillsauth add aiskillstore/marketplace library-detectionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Automatically detect the technology stack of a project by analyzing package manifests and configuration files. Returns structured data for use in onboarding, documentation discovery, and tool configuration.
| Variable | Default | Description | |----------|---------|-------------| | SCAN_DEPTH | 3 | Max directory depth to search for manifests | | INCLUDE_DEV_DEPS | true | Include development dependencies in analysis | | DETECT_FRAMEWORKS | true | Identify frameworks from dependencies | | DETECT_TEST_TOOLS | true | Identify test frameworks and runners | | OUTPUT_FORMAT | json | Output format: json, markdown, or toon |
MANDATORY - Follow the Workflow steps below in order. Do not skip steps.
If you're about to:
STOP -> Read the manifest files -> Verify with imports/configs -> Then report
Scan for these files (in order of priority):
| File | Language | Parser |
|------|----------|--------|
| package.json | JavaScript/TypeScript | JSON |
| pyproject.toml | Python | TOML |
| requirements.txt | Python | Line-based |
| go.mod | Go | Go mod |
| Cargo.toml | Rust | TOML |
| pubspec.yaml | Dart/Flutter | YAML |
| CMakeLists.txt | C/C++ | CMake |
| meson.build | C/C++ | Meson |
| WORKSPACE | Bazel | Bazel |
| pom.xml | Java | XML |
| build.gradle | Java/Kotlin | Gradle DSL |
| Gemfile | Ruby | Ruby DSL |
| composer.json | PHP | JSON |
Also check for:
Dockerfile - containerizationdocker-compose.yml - container orchestration.github/workflows/*.yml - CI/CDMakefile - build systemtsconfig.json - TypeScript configvite.config.* / webpack.config.* - bundlersFor each manifest, extract:
Group findings into:
{
"languages": ["typescript", "python", "go", "rust", "dart", "cpp"],
"frameworks": [
{"name": "react", "version": "^18.0.0", "category": "frontend"},
{"name": "fastapi", "version": "^0.100.0", "category": "backend"}
],
"test_frameworks": [
{"name": "vitest", "version": "^1.0.0"},
{"name": "pytest", "version": "^7.0.0"}
],
"build_tools": ["vite", "uv", "docker"],
"databases": ["postgresql", "redis"],
"cloud_providers": ["aws", "vercel"],
"ci_cd": ["github-actions"]
}
Use the cookbook for specific detection logic:
./cookbook/manifest-parsing.md for parsing rulesReturn the structured stack summary in the requested format.
./cookbook/manifest-parsing.md| Dependency Pattern | Detected As |
|--------------------|-------------|
| react, react-dom | React framework |
| vue, @vue/* | Vue framework |
| next | Next.js framework |
| fastapi | FastAPI framework |
| django | Django framework |
| flask | Flask framework |
| express | Express.js framework |
| vitest, jest | JavaScript test framework |
| pytest | Python test framework |
| gtest, gmock, catch2 | C/C++ test framework |
| flutter, flutter_test | Flutter framework |
| @testing-library/* | Testing utilities |
| Category | Examples | |----------|----------| | frontend | react, vue, svelte, angular | | backend | fastapi, django, express, gin | | database | prisma, sqlalchemy, typeorm | | testing | vitest, jest, pytest, playwright | | build | vite, webpack, esbuild, rollup | | linting | eslint, prettier, ruff, black | | typing | typescript, mypy, pyright | | build-native | cmake, meson, bazel |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"project_root": {"type": "string"},
"scanned_at": {"type": "string", "format": "date-time"},
"languages": {
"type": "array",
"items": {"type": "string"}
},
"frameworks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"version": {"type": "string"},
"category": {"type": "string"}
}
}
},
"test_frameworks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {"type": "string"},
"version": {"type": "string"}
}
}
},
"build_tools": {
"type": "array",
"items": {"type": "string"}
},
"databases": {
"type": "array",
"items": {"type": "string"}
},
"cloud_providers": {
"type": "array",
"items": {"type": "string"}
},
"ci_cd": {
"type": "array",
"items": {"type": "string"}
},
"manifests_found": {
"type": "array",
"items": {"type": "string"}
}
}
}
Other skills and commands can use this skill for:
Example usage in another skill:
## Prerequisites
Before implementing, run the `library-detection` skill to identify:
- Test frameworks (for writing tests)
- Build tools (for verification)
- Database libraries (for data layer work)
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.