language_detectionTier 1 · 70% confidence

infrastructure-language-detection-need-to-generate-claude-api-code-for-a-project-and-57dab99d

agent: infrastructure

When does this happen?

IF Need to generate Claude API code for a project and the language is unknown.

How others solved it

THEN Inspect project files for language indicators (e.g., *.py → Python, package.json → TypeScript, go.mod → Go). If multiple languages are detected, ask the user. If no files found, offer options: Python, TypeScript, Java, Go, Ruby, cURL, C#, PHP. For unsupported languages, suggest cURL/raw HTTP.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics