env-context

Detect project stack, runtime, ports, and binaries from common config files.

13|1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/nandinhos/devorq_v3 --skill env-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: env-context
Source: https://github.com/nandinhos/devorq_v3/tree/main/skills/env-context
Command: npx skills add https://github.com/nandinhos/devorq_v3 --skill env-context

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Automatically detects project environment context (stack, runtime, ports, binaries) at the start of a session to reduce setup time and avoid context drift.

Core Features & Use Cases

  • Stack & Runtime Detection: Identifies the tech stack (e.g., PHP/Laravel, Node, Python) and runtime (Docker, Sail, Local) to tailor prompts and workflows.
  • Environment Artifacts: Discovers available binaries and commonly exposed ports to surface essential configuration details upfront.
  • Onboarding & Consistency: Streamlines new-project onboarding and session initialization by emitting a structured context block for tooling and AI prompts.

Quick Start

Run env-detect.sh at session start to generate the environment context.

Frequently Asked Questions about env-context

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I auto-detect my project environment stack at session start?

Auto-detecting your project environment stack at session start involves scanning common files like composer.json, package.json, and pyproject.toml to identify the tech stack, runtime, ports, and binaries, then outputting a structured context block for tooling.

Does environment detection work with Docker and Laravel Sail runtimes?

Yes, environment detection works with Docker and Laravel Sail runtimes. It identifies the active runtime environment alongside the detected PHP, Node, or Python stack by analyzing project configuration files during session initialization.

What's the best way to generate prompt context for new project onboarding?

Generating prompt context for onboarding is best handled by running a detection script at session start that discovers exposed ports, available binaries, and stack details, emitting a structured context block to reduce setup time and avoid context drift.

How do I identify exposed ports and available binaries in my development environment?

Identifying exposed ports and available binaries in your development environment is achieved through the environment detection process, which discovers these artifacts alongside stack and runtime identification to surface essential configuration details upfront.

Can I use stack detection for Python projects using pyproject.toml or requirements.txt?

Yes, you can use stack detection for Python projects. The detection mechanism scans for pyproject.toml or requirements.txt files to identify the Python stack and generate the corresponding environment context block for downstream workflows.

Why does my environment context drift during long development sessions?

Environment context drift occurs when session initialization lacks automated detection of stack, runtime, and artifacts. Running an environment detection script at the start emits a structured context block, preventing configuration inconsistencies downstream.