General
PromptBeginner5 minmarkdown
<h1 align="center">
<a href="https://prompts.chat">
77
LangChain Hub prompt for Llm Bash
Loading actions...
<a href="https://prompts.chat">
TypeScript and ESLint rules that MUST be followed when creating, modifying, or reviewing any file under apps/frontend/, including .ts, .tsx, .js, and .jsx files. Also apply when discussing frontend linting, type safety, or ESLint configuration.
risks
Prompt designed to convert natural language to bash command.
This is a description of the inputs that the prompt expects.
question: User question to be answered by writing a bash command.Below is a code snippet for how to use the prompt.
from langchain.prompts import load_prompt
from langchain.chains import LLMBashChain
llm = ...
prompt = load_prompt('lc://prompts/llm_bash/<file-name>')
chain = LLMBashChain(llm=llm, prompt=prompt)