What problem does it solve? LangChain codebases accumulate deprecated patterns—legacy *-Chain classes, unbounded agents, sync HTTP in async chains, inline prompts, and hardcoded secrets—that slip through review and cause production issues. This skill catches those forbidden patterns at write time, before the file lands on disk. ## Core Features & Use Cases - Path-scoped activation: Loads only when edits touch **/chains/**, **/agents/**, **/tools/**, or **/prompts/**, staying silent otherwise. - Six grep-based boundary checks: Soft-warns on legacy LLMChain-style classes, int-typed temperature=0, AgentExecutor without max_iterations, sync requests calls in tools, inline ChatPromptTemplate.from_template strings, and secrets baked into chain configs. - Advisory, non-blocking: Returns OK or a soft warning with the matched rule and a concrete fix; it never blocks the write. - Use Case: While editing agents/support_agent.py, you add AgentExecutor.from_agent_and_tools(...) without an iteration cap—the skill immediately warns and suggests max_iterations=N plus a termination condition. ## Quick Start Ask the agent to review your LangChain chain or agent file for deprecated patterns and boundary violations before committing it.