interview-style-doc-building
Build structured strategy documents by asking one question at a time and patching the file.
- License 许可
- MIT
- 最近更新
- 2026-10-22
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- interview-style-doc-building
- risk
- critical
- tags
- [ "documentation", "interview", "planning" ]
- tools
- [ "claude", "codex" ]
- author
- davidondrej
- source
- community
- license
- MIT
- category
- productivity
- date_added
- 2026-07-07
- description
- Build structured strategy documents by asking one question at a time and patching the file.
- source_repo
- davidondrej/skills
- source_type
- community
- license_source
- https://github.com/davidondrej/skills/blob/main/LICENSE
03 SKILL.md 正文
Interview-Style Doc Building
The user's preferred mode for creating durable strategic docs. AI does NOT propose content — AI asks one question, the user answers, AI patches the file, AI asks the next question. The file IS the conversation's output, updated incrementally.
When to Use
- Building a new SSOT file (life priorities, life vision, principles, frameworks, ranked lists).
- Filling out a structured doc the user explicitly wants to author themselves.
- Quarterly/annual reviews where the user's words go into the file.
NOT for: day planning (use day-plan), task triage (organize-tasks), or anything where AI proposes content first.
The Loop
- Create the file with a skeleton (header, sections, "to be filled in" placeholders). Single
write_filefor the new file. After this, NEVER overwrite — onlypatch. - Ask ONE question. Concise. Specific. Single-faceted. Open-ended where possible.
- Wait for the answer. Don't ask the next question yet.
- Patch the file with the user's answer in the correct section.
- Re-ask — next question, or follow-up if the answer was incomplete.
- Repeat until the file is complete.
Hard Rules
- One question at a time. Never dump multiple questions in a single message. The user has flagged this.
- Patch, don't overwrite. After the initial skeleton, use
patchfor every update. Neverwrite_fileto an existing doc. - Update the file BEFORE asking the next question. Order: receive answer → patch file → ask next question. Not the reverse.
- Lists from the user are UNORDERED SETS. When the user lists items in response to "which X should we cover?" or "what are the Ys?", that is a SET, not a ranking. Never infer rank, priority, or sequence from the order they typed them. If you need ordering, ask explicitly: "Which of these is #1?"
- Ask dynamics, not names. When the user references a person, don't ask "who is X?" — ask about the role/dynamic.
- No snark, no attitude, no filler. Concise questions, concise acknowledgments.
- No speculative additions. Don't invent sections, edge cases, or "anything else?" prompts unless the user asks.
Question Design
- Domain-discovery, not confirmation. "What wins against everything else?" — not "Is Business #1?"
- Surface new reality. Each question should pull out info AI doesn't already have.
- Engine-move framing where applicable. "What's the thing that, if true, makes the rest obvious?"
- Concrete over abstract. "What's #2 — the domain that wins against everything except #1?" beats "Tell me about your second priority."
File Patching Pattern
After each answer:
- Read the relevant section (if not already in context).
patchwithold_string= placeholder or previous entry,new_string= updated content with the user's words preserved.- Confirm the diff. Move on.
For ranked lists, append one rank at a time:
1. **Business** — Q2 #1 goal: ...
2. **Health** — get below 81.0 kg, sleep 9h/day, ...
Each rank gets patched in as the user confirms it.
Common Pitfalls
- Assuming order from a set. The user lists "A, B, C, D" → AI writes "1. A, 2. B, 3. C, 4. D" → the user flags it. ALWAYS confirm rank explicitly.
- Asking too many questions at once. Even bundling 2 violates the rule.
- Overwriting the file instead of patching specific sections — destroys prior content.
- Adding AI-generated content to fill out sections. Sections stay empty until the user provides the content.
- Skipping the file update between Q&A pairs — the doc falls out of sync.
Pairing with Other Skills
day-plan— different pattern (task triage), not interview-style.organize-tasks— Todoist-specific.memory-management— separate from this; persona/preferences go to memory.
Limitations
- Adapted from
davidondrej/skills; verify local paths, tools, credentials, and agent features before acting. - For commands, remote access, scheduling, browser automation, or file-changing workflows, get explicit user approval and confirm the target environment first.
04 同仓库更多 Skills
testing-best-practices
Laravel test design and review. Use when selecting coverage, naming or structuring tests, choosing assertions or test data, isolating dependencies, testing HTTP or security boundaries, improving suite performance, or reviewing test value. Use framework guidance or search-docs for Pest and PHPUnit syntax.
tailwindcss-development
Always invoke when the user's message includes 'tailwind' in any form. Also invoke for: building responsive grid layouts (multi-column card grids, product grids), flex/grid page structures (dashboards with sidebars, fixed topbars, mobile-toggle navs), styling UI components (cards, tables, navbars, pricing sections, forms, inputs, badges), adding dark mode variants, fixing spacing or typography, and Tailwind v3/v4 work. The core use case: writing or fixing Tailwind utility classes in HTML templates (Blade, JSX, Vue). Skip for backend PHP logic, database queries, API routes, JavaScript with no HTML/CSS component, CSS file audits, build tool configuration, and vanilla CSS.
laravel-best-practices
Apply this skill whenever writing, reviewing, or refactoring Laravel PHP code. This includes creating or modifying controllers, models, migrations, form requests, policies, jobs, scheduled commands, service classes, and Eloquent queries. Triggers for N+1 and query performance issues, caching strategies, authorization and security patterns, validation, error handling, queue and job configuration, route definitions, and architectural decisions. Also use for Laravel code reviews and refactoring existing Laravel code to follow best practices. Covers any task involving Laravel backend PHP code patterns.
infer-conventions
Use this skill to analyze how a Laravel application is actually written and record its conventions as shared rules. Trigger when the user wants to detect, infer, document, or standardize project conventions or coding style, set up or grow `.ai/rules`, resolve mixed or conflicting patterns (e.g. "are we using Form Requests or inline validation?"), or onboard agents and teammates to "how we do things here". Covers: a systematic sweep of ~49 Laravel convention dimensions (validation, models, architecture, testing, frontend, database, console), open-ended house-pattern discovery, conflict reporting, and recording rules scoped to the right paths via the Boost `record-rule` MCP tool. Only run this skill when the user explicitly asks for it; never start a sweep as part of another task. Do not use for one-off code review, enforcing formatting a linter already handles, or editing `.ai/rules` files by hand.
inertia-react-development
Develops Inertia.js v2 React client-side applications. Activates when creating React pages, forms, or navigation; using <Link>, <Form>, useForm, or router; working with deferred props, prefetching, or polling; or when user mentions React with Inertia, React pages, React forms, or React navigation.
deploying-to-cloud
Deploys and manages Laravel applications on Laravel Cloud using the `cloud` CLI. Use when the user wants to deploy an app, ship to Cloud, create or manage applications, environments, databases, caches, object storage, queues, domains, instances, background processes, secrets, compute, scheduled tasks, or Laravel Cloud infrastructure; or check billing, usage, or spend. Triggers on deployment, shipping, Cloud management, environment setup, database provisioning, billing or usage queries, the `cloud` CLI, and Laravel Cloud deployment troubleshooting.