detect
БесплатноБез исполняемых скриптовНе проверенDetect repository stack for LaunchDarkly SDK onboarding: languages, frameworks, package managers, monorepo targets, entrypoints, existing LD usage. Nested…
от launchdarkly★ 32 звезды на GitHubОб этом скилле
Detect repository stack (SDK install)
Before installing anything, you must understand the project. Identify what the project is built with and whether LaunchDarkly is already present.
This skill is nested under LaunchDarkly SDK Install (onboarding); the parent Step 1 is detect. Next: Generate integration plan unless the decision tree sends you elsewhere.
1. Language and framework
Look for the indicator files below (and related root layout), then read the relevant manifests to infer language and framework.
Look for these files to identify the stack:
| File | Language/Framework |
|---|---|
package.json |
JavaScript/TypeScript (check for React, Next.js, Vue, Angular, Express, React Native, Electron, etc.) |
requirements.txt, pyproject.toml, Pipfile, setup.py |
Python (check for Django, Flask, FastAPI) |
go.mod |
Go (check for Gin, Echo, Fiber, Chi) |
pom.xml, build.gradle, build.gradle.kts |
Java/Kotlin (check for Spring, Quarkus, Android) |
Gemfile |
Ruby (check for Rails, Sinatra) |
*.csproj, *.sln, *.fsproj |
.NET/C# (check for ASP.NET, MAUI, Xamarin, WPF, UWP) |
composer.json |
PHP (check for Laravel, Symfony) |
Cargo.toml |
Rust (check for Actix, Axum, Rocket) |
pubspec.yaml |
Flutter/Dart |
Package.swift, Podfile, *.xcodeproj |
Swift/iOS |
AndroidManifest.xml |
Android (also check build.gradle for com.android) |
rebar.config, mix.exs |
Erlang/Elixir |
CMakeLists.txt, Makefile (with C/C++ patterns) |
C/C++ (check for #include patterns) |
*.cabal, stack.yaml |
Haskell |
*.lua, rockspec |
Lua |
manifest, *.brs |
Roku (BrightScript) |
wrangler.toml |
Cloudflare Workers (edge SDK) |
vercel.json with edge functions |
Vercel Edge (edge SDK) |
Read the dependency file to identify the specific framework. For package.json, check both dependencies and devDependencies.
If you cannot identify the language or framework:
D5 -- BLOCKING: Call your structured question tool now.
- question: "I couldn't detect the project's language or framework. Which SDK would you like to use?"
- options: Present the available SDKs from SDK recipes as selectable options.
- STOP. Do not write the question as text. Do not continue until the user selects an option.
2. Package manager
Identify how the project installs dependencies:
| Indicator | Package Manager |
|---|---|
package-lock.json |
npm |
yarn.lock |
yarn |
pnpm-lock.yaml |
pnpm |
bun.lockb |
bun |
Pipfile.lock |
pipenv |
poetry.lock |
poetry |
go.sum |
go modules |
Gemfile.lock |
bundler |
Use the detected package manager for all install commands. If multiple lock files exist, prefer the one that was most recently modified.
3. Monorepo layout
Some repositories host multiple packages or services. Look for these indicators:
| File / pattern | Tool or layout |
|---|---|
pnpm-workspace.yaml |
pnpm workspaces |
lerna.json |
Lerna |
nx.json |
Nx |
turbo.json |
Turborepo |
rush.json |
Rush |
packages/ directory with multiple package.json files |
Generic monorepo |
When any of these apply, do not assume the repo root is the integration target:
D5 -- BLOCKING: Call your structured question tool now.
- question: "This is a monorepo. Which package, app, or service should I integrate LaunchDarkly into?"
- options: List the discovered packages/apps as selectable options.
- STOP. Do not write the question as text. Do not continue until the user selects an option.
Then run the rest of this detect step -- language, package manager, entrypoint, and SDK search -- in that target directory (and its subtree), not only at the root.
4. Application entrypoint
Find the main file where the application starts. In a monorepo, apply the patterns below within the chosen package after section 3 Monorepo layout. Common patterns:
- Node.js (server): Check
package.json"main"field, or look forindex.js,server.js,app.js,src/index.ts - NestJS: Look for
src/main.tsorsrc/main.js - Python: Look for
app.py,main.py,manage.py,wsgi.py, or the[tool.poetry.scripts]section - Go: Look for
main.goorcmd/*/main.go - Java: Search for
public static void mainor@SpringBootApplication - Ruby: Look for
config.ru,config/application.rb - React/Vue/Angular: Look for
src/index.tsx,src/main.tsx,src/App.tsx,src/main.ts - Next.js: App Router --
app/layout.tsxorapp/layout.js(root layout). Pages Router --pages/_app.tsxorpages/_app.js - React Native: Look for
App.tsx,App.js,index.js(withAppRegistry.registerComponent) - Electron: Check
package.json"main"; common paths includemain.jsorsrc/main.ts - **JavaScript (brows
Установить detect в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл detect?
Detect repository stack for LaunchDarkly SDK onboarding: languages, frameworks, package managers, monorepo targets, entrypoints, existing LD usage. Nested under sdk-install; next is plan.
Как установить скилл detect?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл detect запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic