Prompt Library
Skill level: Beginner
Copy a prompt, replace the parts in [BRACKETS], and send it to your assistant. Each prompt names the Folex 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 and SKILLS.md, then look at src/config/config.toml,src/pages/[...lang]/index.astro, src/content/homepage/english/-index.md, andsrc/content/sections/english/banner-agency.md. Summarize in 10 bullet points how this Astro themeis organized: where text lives, how a page picks its sections, how a named block in a page'sfrontmatter overrides a section, where the block names come from, how options.layout works, andwhich collections npm run astro-check actually validates. Don't change any files yet.Describe your studio once, then reuse it
Here is my studio. Use it for every copywriting request in this conversation:- Name: [STUDIO OR YOUR NAME]- What we make: [ONE SENTENCE]- Who it is for: [AUDIENCE]- Services: [3 TO 6 SERVICES]- Tone: confident, concrete, no buzzwords.Never invent client names, testimonials, awards, follower counts, or prices. If you need one,leave the sample value and list it for me.Confirm with one line, and don't change any files yet.Brand
Rename the site
Change the brand from "Folex" to "[NAME]". In src/config/config.toml update [site] title andlogoText, and [seo] author. Then set the tagline and description in `site` in everysrc/i18n/<language>.json, and search src/content and src/config for any remaining "Folex" invisible 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, and adjust --color-secondary, --color-theme-light, and--color-theme-dark to match. Keep at least 4.5:1 contrast for text on --color-body and on--color-theme-dark. Don't add arbitrary color values anywhere else, and don't touch thetypography tokens. List the values you chose.Change the fonts
Replace Poppins with [GOOGLE FONT] for --font-primary and Unbounded with [GOOGLE FONT] for--font-secondary in src/config/fonts.json. Keep the cssVariable names, the weights, thefallbacks, and the IBM Plex Sans Arabic entry (it is loaded only on Arabic pages). Don't edit anyCSS file. Remind me to restart npm run dev. Unbounded is a wide display font: after the change,tell me which headings to check at 375 px.Use my logo
I added my logo at src/assets/images/[FILE].svg and a light version atsrc/assets/images/[FILE]-light.svg. In src/config/config.toml set [site] logo and logoAlternateto those paths, adjust logoWidth and logoHeight to keep their proportions, and set logoText to[NAME OR ""]. Also set image under [site.favicon] to the main file, and tell me to runnpm run generate-favicons.Homepages And Sections
Pick one homepage and drop the others
I want the [creative agency | startup agency | personal portfolio] homepage as my main homepage.Replace the sections of src/pages/[...lang]/index.astro with the ones insrc/pages/[...lang]/[creative-agency | startup-agency | personal-portfolio].astro, and copy thenamed blocks from src/content/homepage/english/[FILE].md intosrc/content/homepage/english/-index.md (same for french and arabic). Then delete the otherhomepage routes and their content files, and remove them from the menus in everysrc/config/menu.<language>.json. Run npm run astro-check.Rewrite the homepage for my studio
Rewrite the English homepage text for my studio. The homepage issrc/pages/[...lang]/index.astro. Edit the named blocks insrc/content/homepage/english/-index.md and the section files it uses insrc/content/sections/english/. Keep every key, option, icon name, image path, and the number ofitems in each list. Only change text values. Then write the french and arabic versions, withidentical keys.Reorder or remove homepage sections
On the homepage (src/pages/[...lang]/index.astro), move [SECTION] above [SECTION] and remove[SECTION]. Only edit the route file: don't delete any content files, and remove imports that areno longer used. Then run npm run astro-check.Change a section on one page only
On [PAGE, for example /about/], change [WHAT] for that page only. Add or edit the matching namedblock in that page's frontmatter in src/content/[about-us | pricing | faq | contact]/english/-index.md, using a block name that exists in src/sections.schema.ts. Leave the file insrc/content/sections/english/ alone so the other pages keep the current text. Do the same forfrench and arabic.Switch a section layout
Change the [portfolio | services | team | testimonial] section to the "[VALUE]" layout. Setoptions.layout in src/content/sections/english/[FILE].md, and use one of the values from thecomment next to it. Make the same change in the french and arabic copies, then runnpm run astro-check and tell me which pages use that section.Change the header style or footer on a page
On [PAGE ROUTE in src/pages/[...lang]/], use footer layout "[footer-1 | footer-2 | footer-3]" and[a dark | a light] header over the banner. Set the footerLayout, headerPosition, andhasHeaderDarkBackground props on <Base> in that route file only. Don't change Base.astro.Content
Navigation And Pages
Clean up the menus
In every src/config/menu.<language>.json: keep only links to the pages I use ([LIST]), and set"enable": false on the rest in headerPrimary, footerPrimary, footerSecondary, andfooterTertiary. Keep the JSON shape, the weight values, and the same items in every language.Then check the header on desktop, with the keyboard, and in the mobile menu.Build a mega menu
Turn the "[MENU NAME]" item in headerPrimary into a mega menu in everysrc/config/menu.<language>.json. Use hasMegaMenu: true with menus as groups of{ enable, name, description, icon, url, weight }, following the shape documented in AGENTS.mdunder "Menus and Mega Menu". Add the cta card with [DETAILS] and the bottom bar with[TEXT, LABEL, URL]. The bar also shows the phone number from [settings.contactInfo] inconfig.toml.Add a page made of existing sections
Create a page at /[slug]/ with these sections: [ServicesSection, Stats, Testimonial,CallToAction]. Follow the "Add a new page" skill in SKILLS.md: copy src/pages/[...lang]/about.astro, keep its getStaticPaths, and compose it from the section components. Put the page'sown copy in named blocks in a new content file, using block names from src/sections.schema.ts.Add "[slug]" to headerPrimary in every src/config/menu.<language>.json, then runnpm run astro-check.Remove pages I don’t need
I don't need these pages: [LIST, for example /faq/, /pricing/, /team/]. For each one, delete itsroute file in src/pages/[...lang]/ and its content folder in src/content/, remove it fromsrc/lib/utils/aiContent.ts if it is listed there, then remove every link to it from eachsrc/config/menu.<language>.json and from content files (search for the URL). Runnpm run astro-check and npm run build, and fix anything they report.Languages
Use English only
I only need English. Set enable = false under [settings.multilingual] in src/config/config.toml.Don't delete any files yet. Then tell me exactly what npm run toml:watch andnpm run remove-multilingual would do, and which lines I should remove from netlify.toml.Add a language
Add [LANGUAGE] (code "[xx]", folder "[name]", locale "[xx-XX]", social locale "[xx_XX]") and keepthe other languages. Follow the "Add or remove a language" skill in SKILLS.md: runnpm run generate-multilingual-content with those values, add a /[xx]/* block to netlify.toml, andadd a font entry to src/config/fonts.json if the script needs its own font. Then translate thecopied content folders, src/config/menu.[xx].json, and src/i18n/[xx].json, keeping every key,icon name, URL, and number. If it is a right-to-left language, say so and use --dir rtl.Improve the Arabic or French translation
The [Arabic | French] content is machine translated. Review src/content/[FOLDER]/[arabic | french] and src/i18n/[ar | fr].json and rewrite the text so it reads naturally. Keep every key,number, URL, and icon name exactly as it is, and don't change the English files. For Arabic, keepnumbers, emails, and URLs left to right.Forms, SEO, And Launch
Connect the contact form
Connect the contact form to [Formspree with form ID xxxx | formsubmit.co with [EMAIL] | NetlifyForms]. Update contactFormAction and contactFormProvider in src/config/config.toml, following thecomments next to them. Don't change the form fields.Change the contact form fields
The contact form should ask for: [LIST OF FIELDS]. Edit the fields insrc/content/sections/english/contact-section.md, and make the same change in the french andarabic copies. Don't edit widgets/ContactForm.astro. Keep the existing field shape and therequired flags, and keep the labels translated per language.Set your business details
My details are: address [ADDRESS], phone [PHONE], email [EMAIL]. Put the phone and email in[settings.contactInfo] in src/config/config.toml, and the address in contactInfo.address in everysrc/i18n/<language>.json (it may contain a <br /> for the line break). Also update the sociallinks in src/config/social.json ([LIST OF URLS]) and set "enable": false on the networks Idon't use.Write SEO descriptions
For each page's -index.md in src/content/*/english/ and each file in src/content/pages/english/,write a metaDescription of 140-160 characters based on that page's real content. Only add orchange metaDescription. Then do the french and arabic versions.Pre-launch review
Review this site before launch and list what is still demo content. Check: baseUrl in [site] insrc/config/config.toml (it ships as https://example.com), contactFormAction, formAction under[settings.subscription], [settings.contactInfo], contactInfo.address in everysrc/i18n/<language>.json, social links in src/config/social.json, every price insrc/content/sections/*/pricing-section.md, the sample projects in src/content/portfolio/, thesample team in src/content/team/, the legal pages in src/content/pages/, any "#" or example.comlinks in the menus and content, and any remaining "Folex" in visible text. Don't change files:list the file and the line for each item.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 unrelatedfiles.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 the named block in the page's frontmatter, whether that block name is a keyof sectionsSchema in src/sections.schema.ts, and the section file insrc/content/sections/english/. Tell me which one wins and why. Don't change anything yet.Fix the Arabic layout
On [PAGE] at /ar/, [WHAT LOOKS WRONG]. Follow the RTL Rules in AGENTS.md: replace physicalclasses with logical ones, add rtl: handling for translate-x, transform origins, and gradients,and add any direction-bearing icon to the rtlFlipIcons list insrc/layouts/helpers/Icons.astro rather than at the call site. Custom reveal effects live insrc/styles/animation.css with their mirror in rtl.css. Then tell me what to check at /ar/.