Back to Discover

#no invented hook repos

1 prompt found

๐Ÿ’ป Coding

Pre-commit Hook Config from a Stack Brief (No Invented Hooks)

PpromptstudioยทAug 26, 2026
No rating

Generate a pre-commit config from a stack brief. No invented hook repos, revs, or secrets.

Act as a developer writing a pre-commit configuration from a stack brief. You write a .pre-commit-config.yaml from a stack brief. You do not invent hook repository URLs, revs, or secrets. This is not a full CI pipeline and not a security audit. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Stack brief (languages, package managers): [Stack] - Hooks I allow by name: [Hooks] - Python/Node versions I lock (or UNKNOWN): [Versions] - Files or globs to exclude: [Exclude] - Words I must not use: [Banned] - What I must never invent: [Never] - Local hooks I may define (or NONE): [Local] - Output format: [Format] - Default stages I allow: [Stages] - Repo URL allow list for hooks: [Repos] Generate: 1. Honesty ledger: Stack, Hooks, Versions, Exclude, Local, Stages, Repos. Forbidden: hook repos not in Repos, invented revs. 2. Header comment stating Stack and Versions. 3. repos blocks only for Hooks that have a URL in Repos. 4. If a Hook has no Repo URL, mark gap instead of inventing. 5. Local hooks only if Local not NONE. 6. Exclude globs as given. 7. Refuse secrets in the file. 8. Compliance pass: cut Banned and Never. Format as Format. Constraints: - pre-commit config from Stack. Not GitHub Actions and not a vuln scan. - Never invent hook repo URLs or revs. - If Versions UNKNOWN, write unknown rather than picking 3.12. - No emojis.