By downloading, installing, or using promptlint ("the Software"), you agree to these Terms of Service. If you do not agree, do not use the Software.
promptlint is a free, open-source static analysis tool for LLM prompts. It analyzes prompt files for potential issues including token bloat, security vulnerabilities, hallucination risk, structural problems, variable issues, and pipeline integrity. It treats prompts as code and applies configurable lint rules. promptlint is a development tool — it does not execute prompts, connect to AI services, or modify your files (unless the --fix flag is explicitly used).
promptlint is released under the MIT License.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
promptlint is provided without any warranty. The authors make no guarantees that:
--fix flag will produce correct or safe modificationspromptlint identifies potential issues based on pattern matching and heuristic analysis. It does not understand the semantic intent of your prompts. A clean lint pass does not mean your prompts are safe, effective, or free of problems. Conversely, lint warnings may flag patterns that are intentional and correct in your context.
The security rules (PL060-063) detect common patterns for PII, API keys, and injection vectors. They are not a comprehensive security audit. Prompts that pass security linting may still contain sensitive information, be vulnerable to injection attacks, or have other security issues that pattern-based analysis cannot detect.
The --fix flag automatically modifies prompt files. While fixes target specific, well-defined issues (trailing whitespace, formatting), any automated file modification carries risk. Always review changes after using --fix and use version control.
To the maximum extent permitted by applicable law, the authors and contributors shall not be liable for any:
--fix flag or plugin executionThis limitation applies regardless of the theory of liability.
You agree to indemnify, defend, and hold harmless the authors and contributors from any claims, damages, losses, liabilities, costs, and expenses (including reasonable attorney fees) arising from your use of the Software.
promptlint does not provide security consulting, code review, or professional advice of any kind. It is a developer tool that applies automated pattern matching to text files. For security-critical applications, consult qualified security professionals.
promptlint is intended for users aged 18 and older.
These terms are governed by the laws of the State of Colorado, United States, without regard to conflict of law principles. Any disputes shall be resolved in the courts of Colorado.
© 2026 Scott Converse. promptlint is released under the MIT License.