Prompt Library
Skill level: Beginner
Copy a prompt, replace the parts in [BRACKETS], and send it to your assistant. Each prompt names the Consultiz files involved, so it works in AI editors and, with the file pasted in, in chat assistants too.
Get Started
Explain the project to the assistant
Read AGENTS.md, README.md, and src/layouts/components/sections/section-ownership.md, then look at src/config/config.toml,src/pages/[...lang]/index.astro, and src/content/homepage/english/-index.md. Summarize in 10bullet points how this Astro theme is organized: where text lives, how pages pick their sections,how a page overrides a section (named blocks), and which values are demo data. Don't change anyfiles yet.Describe your firm once, then reuse it
Here is my firm. Use it for every copywriting request in this conversation:- Name: [FIRM NAME]- What we do: [ONE SENTENCE]- Clients: [WHO YOU WORK WITH]- Main services: [3 TO 6 SERVICES]- Offices: [CITIES]- Tone: clear, professional, no hype words.Confirm with one line, and don't change any files yet.Brand
Rename the site
Change the brand from "Consultiz" to "[NAME]". In src/config/config.toml update [site] title,logoText, and description, and [seo] author. Update common.tagline and footer.copyright inevery file in src/i18n/. Then search src/content and src/i18n for any remaining "Consultiz"in visible text and replace it. Don't rename files or code identifiers.Apply brand colors
My brand color is [HEX] and my accent color is [HEX]. In src/styles/theme.css, update--color-primary and --color-accent in the @theme block, and suggest matching values for--color-theme-dark and --color-theme-cream. Keep text contrast at 4.5:1 or more. Then list theplaces that hard-code #193133 (search the project) so I can decide whether to change them.Change the fonts
Replace the heading font Space Grotesk with [GOOGLE FONT] in src/config/fonts.json. Keep itscssVariable "--font-secondary", the weights, and the fallback. Don't edit CSS files.Contact Details And Demo Data
Replace the demo contact details
Replace every demo contact detail with mine: phone [PHONE], email [EMAIL], address [ADDRESS],hours [HOURS], offices [LIST]. Update [settings.contactInfo], [settings.headerTopBar], and[settings.officeDropdown] in src/config/config.toml, contactInfo and officeDropdown in every filein src/i18n/, src/content/sections/*/home-header.md, src/content/contact/*/-index.md,src/content/sections/*/contact-image-form.md, and the legalPage.contact box of the legal pages.Then search for "example.com" and "+44-800" and list anything left. Do every language.List the demo values before launch
Read PUBLIC-VALUES-NEEDED.md and check the project for every demo value it lists, plus: an empty[site] baseUrl, an empty contactFormAction, empty or "#" newsletter formAction values, disabledsocial links in src/config/social.json, sample ratings, client logos, awards, testimonials,statistics, people, and job roles. Don't change files: give me a checklist with the file and lineof each item.Homepage And Sections
Rewrite the homepage for my firm
Rewrite the English text of the main homepage for my firm. The route issrc/pages/[...lang]/index.astro. Edit the section files it uses in src/content/sections/english/and the named blocks in src/content/homepage/english/-index.md. Keep every key, option, iconname, and the number of items in each list. Only change text values, and keep sample statistics,ratings, and testimonials as they are unless I give you real ones. Then write the other languagesI keep.Make another homepage the main one
I want the [corporate consulting | tax and accounting] homepage as my main homepage. Copysrc/pages/[...lang]/[corporate-consulting | tax-accounting].astro oversrc/pages/[...lang]/index.astro, then delete the copied route and the src/pages/[...lang]/landing/routes I no longer need. Update the "Home" menu in every src/config/menu.*.json file, andrun npm run astro-check.Hide or change a section on one page
On [PAGE URL], [hide the newsletter | change the FAQ title to "..."]. Find the page's content fileand use the named block it reads (check the route in src/pages/[...lang]/ and sectionsSchema insrc/sections.schema.ts). Only add the keys that change. Do every language.Content
Navigation And Pages
Clean up the menus
In every src/config/menu.*.json file, trim the "Home" and "Who we are" items of headerPrimary tothe pages I keep: [LIST]. Point the "Practice area" and "Resources" mega menu links at my realpages, set "enable": false on links to pages I removed, and keep the JSON structure. Also updatethe link columns in src/content/sections/*/footer-newsletter-grid.md.Remove pages I don’t need
I don't need these pages: [LIST, for example /landing/home/, /solutions/style-02/, /components/].For each one, delete its route in src/pages/[...lang]/ and its content in src/content/, thenremove every link to it from the menu files, footer-newsletter-grid.md, and content files (search for theURL). Run npm run astro-check and fix anything it reports.Languages
Use one language only
I only need my default language. Set [settings.multilingual] enable = false insrc/config/config.toml. Don't delete any files. Tell me what will happen if I later run npm runremove-multilingual.Add a language
Add [LANGUAGE] ([CODE]) with npm run generate-multilingual-content. Read the flags in README.md,and add --dir rtl if it is a right-to-left language. Then translate the new content folders,src/config/menu.[CODE].json, and src/i18n/[CODE].json, keeping all keys. Add a /[CODE]/* block tonetlify.toml, like the other languages. Run npm run astro-check when you are done.Replace French with another language
Replace French with [LANGUAGE] ([CODE]). In src/config/language.json change the French entry(languageName, languageCode, contentDir "[folder]", dir, ogLocale, dateLocale). Rename everysrc/content/**/french/ folder to [folder], rename src/i18n/fr.json and src/config/menu.fr.json to[CODE].json and menu.[CODE].json, and update the "/fr/*" redirect in netlify.toml. Translate everytext value and keep all keys.Forms And Launch
Connect the forms
Connect the contact forms to [Formspree with form ID xxxx | formsubmit.co with [EMAIL] | NetlifyForms]: set contactFormAction and contactFormProvider in src/config/config.toml. Set[settings.subscription] formAction to my Mailchimp URL [URL] (replace every & with &). Thenremove or update any "not connected yet" note near the forms. Don't change the form fields.Write SEO descriptions
For every page file in src/content/*/english/-index.md and src/content/pages/english/, write ametaDescription of 140-160 characters for my firm, based on the page content. Only add or changemetaDescription. Then do the other languages.Fix Problems
Explain and fix an error
npm run [dev | build | astro-check] fails with this error:[PASTE THE FULL ERROR]Explain the cause in one sentence, then fix it with the smallest change. Don't change unrelated files.A change doesn’t show up
I changed [WHAT] in [FILE] but the page [URL] still shows the old version. Find where that pagegets this text: check its route in src/pages/[...lang]/, the named blocks in its content file,and the section file in src/content/sections/english/. Tell me which file wins and why.