Nano Banana Pro
Agent skill for nano-banana-pro
This file serves as the central source of truth for all project-related rules, coding standards, workflow guidelines, architectural decisions, references, documentation structures, and best practices. All AI coding assistants interacting with this project MUST adhere to the guidelines outlined in th
Sign in to like and favorite skills
This file serves as the central source of truth for all project-related rules, coding standards, workflow guidelines, architectural decisions, references, documentation structures, and best practices. All AI coding assistants interacting with this project MUST adhere to the guidelines outlined in this document.
hidden_ by_default should be hidden)..hidden-by-view { display: none !important; }).data-col attributes.favicon.ico for the page's favicon, and include a backup shortcut icon link for better browser compatibility.Use
.gitignore patterns to exclude unnecessary files.
Optimize assets by compressing images and minifying CSS/JS.
Utilize Netlify's optimization features such as asset optimization, bundle optimization, and edge caching.
Enable asset optimization in the Netlify dashboard under Site settings → Build & deploy → Post processing.
Use a
netlify.toml file in the project root to configure build and processing options, including CSS and JavaScript bundling and minification, HTML pretty URLs, and image compression. Example:
[build] publish = "." [build.processing] skip_processing = false [build.processing.css] bundle = true minify = true [build.processing.js] bundle = true minify = true [build.processing.html] pretty_urls = true [build.processing.images] compress = true [[headers]] for = "/*" [headers.values] X-Frame-Options = "DENY" X-XSS-Protection = "1; mode=block" X-Content-Type-Options = "nosniff" Referrer-Policy = "strict-origin-when-cross-origin" # Cache static assets [[headers]] for = "/*.js" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/*.css" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/*.png" [headers.values] Cache-Control = "public, max-age=31536000, immutable" [[headers]] for = "/*.ico" [headers.values] Cache-Control = "public, max-age=31536000, immutable"
Consider using Netlify Large Media for larger sites, along with the
netlify-plugin-image-optim plugin.
Preload critical resources by adding
<link rel="preload"> tags in the <head> section of your HTML.
Optimize font loading by using
<link> tags with media="print" and onload="this.media='all'".
Consider self-hosting Tailwind CSS for better caching.
Utilize Netlify's automatic GZIP compression, HTTP/2 server push, global CDN delivery, and smart caching headers.
Monitor site performance using Lighthouse, PageSpeed Insights, and Core Web Vitals in Netlify Analytics.