Prompt Library
Skill level: Beginner
Copy a prompt, replace the parts in [BRACKETS], and send it to your assistant. Each prompt names the Covena files involved, so it works in AI editors and, with the files pasted in, in chat assistants too.
Get Started
Explain the project to the assistant
Read AGENTS.md and SKILLS.md, then look at src/config/config.toml, src/pages/[...lang]/index.astro,src/content/homepage/english/-index.md and src/content/sections/english/hero-portrait-navy.md.Summarize in 10 bullet points how this Astro theme is organized: where text lives, where thefirm's contact details live, how a page picks its sections, header and footer, how a page changesa section with a named block, and how to use another section layout. Don't change any files yet.Describe your firm once, then reuse it
Here is my firm. Use it for every copywriting request in this conversation:- Name: [FIRM NAME]- Practice areas: [FAMILY, EMPLOYMENT, PROPERTY, IMMIGRATION, ...]- Clients: [INDIVIDUALS, OWNER-MANAGED BUSINESSES, ...]- Offices: [CITIES AND ADDRESSES]- How we charge: [FIXED FEES FOR ..., HOURLY RATES, FREE FIRST CALL OF ... MINUTES]- Regulator: [REGULATOR AND NUMBER]- Tone: plain and calm. No hype words, no promises about outcomes.Never invent results, client quotes, reviews, ratings, awards, press mentions, qualifications orfees. Confirm with one line, and don't change any files yet.Firm Details And Brand
Rename the firm and update the contact details
My firm is "[FIRM NAME]", phone [PHONE AS WRITTEN] (dialled as [+COUNTRY CODE AND DIGITS]),email [EMAIL]. In src/config/config.toml:- [settings.contactInfo]: set phone and email, keeping the Markdown link format that is there now ("[shown text](tel:...)" and "[shown text](mailto:...)").- [seo] author: my firm name.- [site]: set title and logoText to my firm name, and rewrite description for my firm.In each src/i18n/<lang>.json, set contactInfo.address to "[MAIN ADDRESS]" and contactInfo.hoursto "[OPENING HOURS]", translated, and change the firm name in footer.copyright. Set the samehours in contactLines.hours in src/content/sections/<language>/contact-split-form.md, which iswhere the contact section shows them.Then search src/content and src/i18n (every language) for "Covena Law" in visible text andreplace it. Don't rename files, slugs or code identifiers. List every file you changed.Replace the sample offices
We have [NUMBER] offices: [CITY, ADDRESS, PHONE, EMAIL, OPENING HOURS for each]. The office filesare in src/content/offices/<language>/ (london.md, manchester.md, birmingham.md). Edit them tomatch my offices, renaming a file if the city changes (the file name is the URL), in everylanguage folder. Set mapUrl to a Google Maps search link for each address. Keep the attorneysand practiceAreas lists only for slugs that still exist. If I have fewer offices, delete theextra files in every language and tell me which menu items and pages linked to them.Apply my brand colours
My brand colours are: main [HEX] and accent [HEX]. In src/styles/theme.css, set --color-navy(hero, practice panel, header button, footer) to my main colour and --color-navy-hover to aslightly lighter shade. Set --color-bronze (accent fills, always with dark text) to my accent and--color-bronze-deep to a darker shade of it that has at least 4.5:1 contrast on #FFFFFF and on--color-cream, because it is used for text and links. Keep every variable name. Tell me thevalues you chose and their contrast ratios.Change the fonts
Replace Onest (the main font, --font-primary) with [GOOGLE FONT], in the weights 400 and 500.Edit src/config/fonts.json only: keep the cssVariable values, the fallback and the other twofonts (Instrument Serif for the accent word, IBM Plex Sans Arabic for Arabic pages). Then tell meto restart npm run dev.Use my logo
The header and footer draw the Covena mark in src/layouts/components/global/Logo.astro, with thename from [site] logoText in src/config/config.toml. Replace that mark with my logo:[DESCRIBE OR PASTE YOUR SVG]. It must take the text colour, so it works on the white header andthe navy footer. Also replace src/assets/images/logo.svg (dark) and logo-light.svg (white) withmy logo. If my logo already contains the name, set logoText = "". Then tell me how to set[site.favicon] image and run npm run generate-favicons.Practice Areas, People And Offices
Rewrite a practice area page
Rewrite src/content/practice-areas/english/[SLUG].md for my firm, using these notes: [NOTES].Keep every key, the slug, weight and the image paths. Keep the same structure and number ofitems unless I say otherwise. Plain words, no promises about outcomes. Then make the same changein the french and arabic folders, translated, and list anything I should have a native speakercheck.Add a practice area
Add a practice area called "[NAME]" with the slug [SLUG], for [WHO IT IS FOR]. Copysrc/content/practice-areas/english/employment.md to [SLUG].md in every language folder, thenchange title, weight, description and the body text. Pick a Lucide icon name that fits. Add alink to it in the "Practice areas" mega menu in every src/config/menu.<lang>.json, in the groupwhere it belongs. Don't invent results or client stories for it. Then run npm run astro-check.Add an attorney
Add an attorney: name [NAME], role [ROLE], office [OFFICE SLUG], practice areas [SLUGS],languages [LANGUAGES], qualified [QUALIFICATION AND YEAR], education [DEGREES ANDUNIVERSITIES], email [EMAIL], phone [PHONE]. Biography notes: [NOTES]. Copysrc/content/attorneys/english/henry-lawson.md to [NAME-SLUG].md in every language folder andfill in these facts, translated. Use the photo at /images/covena/attorneys/[FILE] (I've put it insrc/assets/images/covena/attorneys/), with alt text that names the person. Add the slug to theattorneys list of the office file and to relatedAttorneys of the matching practice area files, inevery language. Only use the facts I gave you.Remove a sample attorney
Remove the attorney [SLUG] in every language: delete the files in src/content/attorneys/<language>/,and remove the slug from every list in src/content that names it (office attorneys, practicearea relatedAttorneys, result attorneys and any section file). List anything else that pointed at the profile.Results, Reviews And Fees
Replace a sample result
Replace the sample result src/content/results/english/[SLUG].md with this real matter, which myclient has agreed I can publish: [WHAT HAPPENED, PRACTICE AREA, DURATION, OUTCOME, YEAR, LAWYERS].Keep every key and the metadata rows in the same order. Remove the quote unless I give you a real,consented client quote. Don't touch the results disclaimer: the components show it on their own.Make the same change in every language folder, and rename the file in each if the slug changes.Set my fees
Update the fees with my figures:- Fixed fees: [SERVICE, PRICE, TIMESCALE for each]- Hourly rates: [ROLE AND RATE for each]In src/content/fees/english/-index.md change the items of fixedFees and hourlyRates, keepingthe way prices are written there ("£1,250"). In src/content/sections/english/fees-fixed-fees.md(the fees table on Home 3) change the items: there `price` has no currency symbol (the symbol isin `currency`), and a price with a thousands separator goes in quotes, like "1,250". Make the samechange in the french and arabic files, with the same numbers. Then list any price that is stillwritten as text somewhere else, such as metaDescription or the page body.Replace the sample reviews and rating
Here are real reviews my clients agreed to publish: [REVIEWS WITH FIRST NAME AND INITIAL]. Ourrating is [RATING] from [NUMBER] reviews on [PLATFORM]. Replace the sample reviews and the 4.9from 310 rating in src/content/reviews/<language>/-index.md andsrc/content/sections/<language>/testimonial-quote-centred.md, in every language. If I didn't giveyou a rating, remove the rating instead of keeping the sample one. List every other file thatstill has a sample quote.Pages, Sections And Layouts
Change one section on one page
On [PAGE ADDRESS], change the [SECTION] section only on that page: [CHANGE]. Find the page'scontent file and its named block (the homepage files list their blocks in a comment at the top).Add only the fields that change under that block, in every language. Don't edit the sharedsection file in src/content/sections/.Reorder or hide homepage sections
On Home [1, 2 OR 3], [move the SECTION above SECTION / hide SECTION]. To move a section, changethe order in src/pages/[...lang]/[index.astro | home-corporate.astro | home-family.astro]. Tohide one, add enable: false to its block in src/content/homepage/<language>/[FILE] in everylanguage. Show me the new order.Use another section layout
On [PAGE], use the [LAYOUT] layout of the [KIND] section instead of the current one. Follow the"Use another section layout or add one" recipe in SKILLS.md: swap the import and the tag in thepage file in src/pages/[...lang]/, and rename the page's named block to match in every language.Then check the page at 375 px, 1280 px and /ar/.Write an insights post
Write an insights post for src/content/blog/english/[SLUG].mdx about [TOPIC], for [READERS].Copy the frontmatter of an existing post (title, description, image, date, author, categories,tags, draft). The author must be one of our attorneys. Plain English, short paragraphs, headingsevery few paragraphs, about [NUMBER] words. No legal advice for a specific case, and say when areader should talk to a lawyer. Then make French and Arabic copies with the same file name.Languages
Remove a language
I don't need [French / Arabic]. Add its code to disableLanguages in [settings.multilingual] insrc/config/config.toml. Tell me which folders and files I can delete later, and remind me torestart npm run dev.Keep only one language
I only need [LANGUAGE]. Follow the "Add or remove a language" recipe in SKILLS.md: set[settings.multilingual] enable = false and defaultLanguage to my language, run npm run dev once,then run npm run remove-multilingual. Afterwards check that every internal link still works withnpm run build.Add a language
Add [LANGUAGE] with the code [CODE]. Run npm run generate-multilingual-content -- --lang [CODE]--name [NAME] --dir-name [FOLDER] --locale [LOCALE] --og [OG LOCALE] (add --dir rtl for aright-to-left language). Then translate the new content folders, src/config/menu.[CODE].json andsrc/i18n/[CODE].json. Keep internal links without a language prefix. If the site runs on Netlify,add a /[CODE]/* block to netlify.toml like the /fr/* one.Launch
Find every sample value before launch
Read PUBLIC-VALUES-NEEDED.md and README.md ("Sample data" and "Before you launch"). Go througheach item and tell me whether it still has the demo value, with the file and line. Also searchthe project for 7946, "496 0", example.com and "[Regulator]". Don't change anything, just giveme the list.Check the site before deploying
Run npm run verify. If anything fails, explain each failure in one sentence and fix it with thesmallest change. Don't change sample content to make a check pass.