This code builds a Civil Service AI Prompt Generator tool designed to help applicants create tailor-made, highly structured prompts for AI models like ChatGPT or Claude when applying for UK Civil Service roles.
The tool injects strict rules into the generated prompt to ensure the output aligns with civil service recruitment standards (such as anonymisation and Success Profiles frameworks).

Name-Blinded/Anonymised CVs: Automatically instructs the AI to scrub standard personal details (name, gender, age, contact info, educational institutions, nationality) to adhere to UK Civil Service anonymised recruitment rules.
STAR Technique & Word Limits: Instructs the AI to map job description criteria to the candidate’s experience using the STAR (Situation, Task, Action, Result) format, with an upper limit of 1,250 words for personal statements and 500 words for specific questions.
Anti-Hallucination & Zero Inference Guardrails: Explicitly forbids the AI from making up credentials or using external session memory. If a required skill or qualification is missing from the SuperCV, the prompt forces the AI to list missing gaps at the very beginning of its output rather than inventing experience.
UK Localisation & ATS Optimisation: Enforces standard UK English spelling (optimise, programme, prioritising) and requires keyword matching straight from the target job description.
Copy the AI Prompt generated by clicking the button “Copy AI Prompt to Clipboard” and click the icon for your favourite AI product and paste within its text box.
Here is a link to Gemini, CharGTP and Co-Pilot



