$npx -y skills add heymegabyte/claude-skills --skill 02-goal-and-briefEstablish project thesis before first code. Infer product type from domain/folder/README. Identify users, business model, pSEO strategy, AI-native dev approach. Maintain PROJECT_BRIEF.md as source of truth.
| 1 | # 02 — Goal and Brief |
| 2 | |
| 3 | Establish the project thesis and maintain `PROJECT_BRIEF.md` as the source of truth before any code is written. |
| 4 | |
| 5 | ## Run FIRST on every new project / rebuild |
| 6 | |
| 7 | Before code, write `PROJECT_BRIEF.md`. The brief drives every downstream decision (skill 05 stack, skill 06 build, skill 09 brand, skill 16 site mode). |
| 8 | |
| 9 | > **One-line website prompt? Hand off after the brief**: `16-cinematic-website-prime-directive` is the prime directive (trumps generic 06-build); `website-build-manifest` is the acceptance index of every gate; `website-build-doctrine` is the Phase -1→8 sequence. Brief → manifest → doctrine → build. |
| 10 | |
| 11 | ## Org-type inference (drives everything) |
| 12 | |
| 13 | Detect from domain + folder name + scraped homepage + Google Places category: |
| 14 | |
| 15 | | Pattern | Org type | |
| 16 | |---|---| |
| 17 | | `*.com` w/ pricing page + signup → | **saas** | |
| 18 | | `*.org` w/ donate button + 501(c)(3) → | **nonprofit** | |
| 19 | | Google Places category in {restaurant, salon, medical, legal, fitness, automotive, retail, photography, real-estate, education, financial, pet, wedding} → | **local-business** | |
| 20 | | `*.com` portfolio of links + bio + projects → | **portfolio** | |
| 21 | | `*.gov` / `.gov.uk` / `.ca.gov` → | **government** | |
| 22 | | `*.edu` / `*.ac.uk` → | **edu** | |
| 23 | | `*.church` / parish JSON-LD → | **church** | |
| 24 | | ProductHunt / G2 / Capterra listing → | **saas** | |
| 25 | |
| 26 | Output: `_org_type.json` = `{type, confidence, evidence[]}`. |
| 27 | |
| 28 | ## PROJECT_BRIEF.md (source of truth) |
| 29 | |
| 30 | ```md |
| 31 | # {Project Name} |
| 32 | |
| 33 | ## Thesis |
| 34 | One sentence: what this project does + for whom + why now. |
| 35 | |
| 36 | ## Org type |
| 37 | {saas | nonprofit | local-business | portfolio | edu | gov | church} |
| 38 | |
| 39 | ## Primary user |
| 40 | - Persona: {role + context} |
| 41 | - Job to be done: {task they're trying to accomplish} |
| 42 | - Success metric: {what "done" looks like for them} |
| 43 | |
| 44 | ## Business model |
| 45 | - Revenue: {subscription / donation / one-time / B2B / B2C / ads} |
| 46 | - Pricing: {tier list w/ values} |
| 47 | - Margins: {high / medium / low + rationale} |
| 48 | |
| 49 | ## pSEO strategy (5 types) |
| 50 | - Integration pages (`/integrations/{tool}`) — Y/N |
| 51 | - Comparison (`/compare/{a}-vs-{b}`) — Y/N |
| 52 | - Use-case (`/for/{audience}`) — Y/N |
| 53 | - Template (`/templates/{type}`) — Y/N |
| 54 | - Location (`/{city}-{service}`) — Y/N |
| 55 | |
| 56 | ## AI-native development approach |
| 57 | - AI-first features: {list} |
| 58 | - Workers AI / Llama 3.3 for first-pass content |
| 59 | - Opus 4.8 for top-10 conversion polish |
| 60 | - AI vision QA on every visual surface |
| 61 | |
| 62 | ## Constraints |
| 63 | - Budget |
| 64 | - Timeline |
| 65 | - Compliance (HIPAA / SOC 2 / GDPR / FERPA / ADA) |
| 66 | - Localization needs (`_kernel/standards.md` § ADA + `rules/i18n-by-demographics.md`) |
| 67 | |
| 68 | ## Decision log |
| 69 | {Every architectural decision + rationale + alternatives considered} |
| 70 | ``` |
| 71 | |
| 72 | ## Question discipline |
| 73 | |
| 74 | - Before code, scan brief for gaps. Use `AskUserQuestion` ONLY for genuinely unresolvable items (e.g., bilingual-staff confirmation, NAP verification, license number). |
| 75 | - Per `brian-preferences.md`: pick ONE answer when inferable, never offer options. |
| 76 | - Silence = approval. |
| 77 | |
| 78 | ## What this skill produces |
| 79 | |
| 80 | - `PROJECT_BRIEF.md` — committed |
| 81 | - `_org_type.json` — input to skill 05 (stack) + skill 09 (brand) + skill 16 (site mode) |
| 82 | - `_brief_summary.txt` — 100-word digest for downstream agents |