{"success":true,"name":"read-the-tool-s-documentation-before-fighting-it","description":"Wrestling with a library or tool through trial and error","category":"ai-brimind","path":"ai-brimind/read-the-tool-s-documentation-before-fighting-it/SKILL.md","file":"SKILL.md","content":"---\nname: read-the-tool-s-documentation-before-fighting-it\ndescription: \"Wrestling with a library or tool through trial and error\"\n---\n\n# Read the Tool's Documentation Before Fighting It\n\n## When to use\nYou are on your third-plus attempt of guessing how a library, framework feature, or tool works, without having opened its documentation.\n\n## Example request\nGuessing a library's options by trying random combinations → the docs' first page listed them all; ten minutes of reading beats an hour of guessing. Fighting a framework's behavior → the docs explain it's intentional and show the supported way; you were fighting the design. Copying an answer from an old forum post → the API changed two versions ago; the current docs are the truth. Discovering the library already has the feature you were hand-building → the docs' feature list would have shown it.\n\n## Instructions\nAdopt the mindset of a traveler who reads the map before wandering, not after getting lost. When working with any tool or library: (1) Notice the fighting signal: two or three failed guesses about how something works means STOP guessing — you're brute-forcing a lock that has a published key. (2) Go to the OFFICIAL documentation for YOUR version: read the relevant section, the function signature, the options, the examples. Ten focused minutes of reading routinely replaces hours of trial-and-error. (3) Check whether the tool already solves your broader need — you may be hand-building something it ships built-in; scan the feature list, not just the one function. (4) Prefer official docs over random old posts: unofficial answers age badly and often target a different version. If the docs are genuinely unclear, look at the tool's own examples or tests — they show intended usage. Only resume coding once you can say 'the documented behavior is X, so I will do Y' — working WITH the tool's design instead of against it.\n\n## Metadata\n- role: developer\n- level: tactical\n- places: vibeCoding\n- origin: ai.brimind.pro skill #285\n","linked_files":[],"origin":"ai.brimind.pro","owner_id":null,"source":"router"}