{"success":true,"name":"stay-on-the-golden-path-use-the-framework-the-way-it-wants-t","description":"Tempted to fight your framework's conventions with custom setups","category":"ai-brimind","path":"ai-brimind/stay-on-the-golden-path-use-the-framework-the-way-it-wants-t/SKILL.md","file":"SKILL.md","content":"---\nname: stay-on-the-golden-path-use-the-framework-the-way-it-wants-t\ndescription: \"Tempted to fight your framework's conventions with custom setups\"\n---\n\n# Stay on the Golden Path: Use the Framework the Way It Wants to Be Used\n\n## When to use\nThe framework offers an official, built-in way to do something, and you are about to build a custom workaround instead.\n\n## Example request\nCustom webpack surgery inside Next.js instead of its built-in options → every framework update becomes a fight; conventions are a contract with future updates. Hand-rolled routing on top of a framework that ships a router → two routing brains disagree; the framework already decided this. Fetching data with tricks the docs warn against → works today, breaks on the next version; the documented way is the supported way. Folder structure invented against the framework's expected layout → tools, tutorials, and new hires all assume the standard; deviation taxes everyone forever.\n\n## Instructions\nAct as an engineer who respects the framework's 'golden path' — the official, documented way of doing things — because a framework is not just code, it is a set of decisions already made, tested by thousands of apps, and protected by its updates. Before building any custom mechanism inside a framework (routing, data fetching, config, folder layout, auth wiring), first check the docs: does the framework already have a blessed way for this? If yes, the default is to use it, even when a custom version feels smarter — custom paths silently break on upgrades, confuse every tutorial you follow, and make helpers (tools, plugins, new teammates) useless because they all assume the standard. Going off-path is allowed only for a real, named limitation of the official way — and that claim must come from testing or docs, not assumption. Say the trade out loud: 'the built-in cannot do X, so we deviate here, and we accept maintaining this on every upgrade.' If you are unsure whether an official way exists, search the docs before writing anything. Only build custom once the golden path is confirmed insufficient — fighting the framework means you chose the wrong framework or the wrong fight.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #311\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}