faf-context – skill Khác cho agent AI
Đưa dự án của bạn đạt 100% ✪ sẵn sàng cho AI, nhanh chóng. AI tự nhận diện stack và chỉ hỏi những gì nó không thể biết (mục tiêu và lý do của con người). Ít phải gõ nhất, ngữ cảnh tối đa. Dành cho người xây dựng ưu tiên thời gian; dùng cùng faf-expert để đi sâu hơn.
Cài skill faf-context bằng một lệnh
Chọn công cụ bạn đang dùng, copy lệnh và dán vào terminal. Skill sẽ nằm trong thư mục skills của công cụ đó và sẵn sàng dùng ở phiên làm việc tiếp theo.
Claude Code
mkdir -p ~/.claude/skills && curl -fsSL https://skill.dn1nguoi.com/z/faf-context-b1bb2.tgz | tar xz -C ~/.claude/skills
Gọi trong Claude Code: /faf-context – rồi mô tả công việc bạn muốn làm.
Codex
mkdir -p ~/.codex/skills && curl -fsSL https://skill.dn1nguoi.com/z/faf-context-b1bb2.tgz | tar xz -C ~/.codex/skills
Gọi trong Codex: $faf-context – rồi mô tả công việc bạn muốn làm.
Hermes Agent
mkdir -p ~/.hermes/skills && curl -fsSL https://skill.dn1nguoi.com/z/faf-context-b1bb2.tgz | tar xz -C ~/.hermes/skills
Gọi trong Hermes Agent: /faf-context – rồi mô tả công việc bạn muốn làm.
DeepSeek
mkdir -p ~/.deepcode/skills && curl -fsSL https://skill.dn1nguoi.com/z/faf-context-b1bb2.tgz | tar xz -C ~/.deepcode/skills
Gọi trong DeepSeek: /faf-context – rồi mô tả công việc bạn muốn làm.
Nội dung SKILL.md
Nội dung SKILL.md gốc bằng tiếng Anh.
FAF Context — Give the AI What It Needs
When to Use
Use this skill when you need get your project to 100% ✪ AI-readiness, fast — the AI auto-detects your stack and only asks for what it can't know (your goal and the human "why"). Least typing, maximum context. For time-conscious builders; feeds into faf-expert for depth.
AI writes its best code when it has your project's context. This skill helps you hand it over — fast, and to 100%.
.faf is an IANA-registered context format (application/vnd.faf+yaml) — a typed, portable file *you own*, readable by any AI (no bespoke manifest, no vendor lock-in). The whole point is one number: AI-readiness, 0–100%. At 100% ✪ the AI starts every session already knowing your project — no re-explaining, no guessing. This skill is the *builder's* path to that number: minimum typing, maximum context.
> For the done-for-you one-click path, use faf-wizard. To master the format, use faf-expert. This skill is the quickstart in between.
How it works: app-type → AI fills the max → you answer the gaps
faf-cli has 21 slots. It works in three steps — and only the last one needs you:
1. **Your app type sets which slots are *required*.** A CLI needs different slots than a full-stack web app — faf-cli right-sizes the set and slotignoreds the rest (never counted against you).
2. The AI fills as many as it can. faf auto detects your stack + language, and a sharp goal sentence seeds who/what/where. The better your goal, the more the AI fills for you.
3. Whatever's left empty, the AI asks you. Those are the bits only you know — usually a couple of the 6 Ws (often *why* and *when*). Answer them → 100% ✪.
So your job isn't "fill 21 boxes." It's: write one good goal, then answer the few questions the AI couldn't fill itself.
> *(Teams / Enterprise tiers add more slots — monorepos, caching, versioning — but those aren't faf-cli. faf-cli is the 21.)*
You rarely type all 6 Ws — here's why
The 6 Ws are "the underivable half" — but you almost never write all six from scratch:
- who / what / where → seeded from your goal sentence (the AI extracts the facts your goal literally states)
- how → sourced from your stack (detection knows how it's built)
- why / when → the only two that are purely yours
So the fast path is: write one sharp goal, confirm the seeds, fill why + when. → 100%.
> "Sometimes 3 Ws is enough. Sometimes the goal alone is enough." A great goal sentence + auto-detection can carry who/what/where/how on their own — leaving you two small answers. The better your goal, the less you type.
Execution and interpretation
FAF’s score measures declared slot completeness, not truth, security or universal AI readiness. Verify detected facts against the project. The CLI is not bundled: inspect its installed version and network/file effects. Preview and preserve existing instructions before faf sync; never overwrite AGENTS.md or CLAUDE.md without reviewing the exact diff.
The fastest path to 100% ✪
faf auto # 1. AI detects your whole stack + seeds context from your README
faf score # 2. See the number + exactly which slots are still empty
faf go # 3. Guided fill: confirm the seeded Ws, answer the 1–2 left
faf score # 4. 100% ✪
faf sync # 5. Push context into CLAUDE.md / AGENTS.md (optional)Most projects are 1 good goal sentence + 2 answers away from Trophy.
Write the ONE goal sentence (this does the heavy lifting)
The goal is the generative input — it seeds who/what/where automatically. Make it a real, specific sentence (it's also your *use-case*):
- ✅ *"A CLI that scores any repo's AI-readiness and syncs context to Claude, Cursor, and Gemini — for solo developers."*
→ seeds what (a CLI that scores AI-readiness), where (Claude, Cursor, Gemini), who (solo developers). You'd only add why + when.
- ❌ *"A tool to improve development."* → generic; seeds nothing. (Generic phrases are *ignored* on purpose — empty beats wrong.)
The 6 Ws — terse labels, not prose
Each W is a 3–4 word label (hard cap < 6) — a scannable spec card, not a paragraph:
| W | Asks | Example |
|---|------|---------|
| Who | who is it for? | solo developers |
| What | what are they building? | AI-readiness scorer |
| Why | why does it exist? | eliminate context re-explaining |
| Where | where does it run/ship? | npm, Homebrew |
| When | timeline / stage? | production, since 2025 |
| How | how is it built/used? | Bun CLI + WASM |
Slots that don't apply → slotignored
A CLI has no frontend; an API has no UI library. Mark those slotignored and they drop out of the denominator — you're scored only on slots that *matter for your app type*. 100% means "everything that applies is filled," not "every box checked." (faf auto and faf go handle most of this for you.)
The honesty rule (why this works)
The AI only seeds facts your goal/README literally state — never invents, never uses templates. What it can't source, it leaves empty for you. Empty beats wrong. That's why the resulting context is trustworthy: every slot is either detected, stated by you, or honestly blank.
When you're done here
- Want it done for you, one click? → faf-wizard
- Want to master the format (scoring internals, MCP config, bi-sync)? → faf-expert
- Driving a repo all the way with an agent? →
faf go/ faf-loop
---
The goal: the AI is only as good as the context you give it. Answer the few things only you know — the gaps it couldn't fill itself — and it's optimized to help you at 100% ✪.
*MIT · part of the FAF skill family (faf-context · faf-wizard · faf-expert)*
Limitations
- Use this skill only when the task clearly matches its upstream source and local project context.
- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.
- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.
Skill liên quan
- faf-wizard – Trình tạo .faf làm sẵn. Ngữ cảnh AI chỉ với một cú nhấp cho mọi dự án, mới, cũ hoặc nổi…
- fal-audio – Chuyển văn bản thành giọng nói và giọng nói thành văn bản bằng các mô hình âm thanh của…
- roadmap-communicator – Dùng khi chuẩn bị bản tường thuật roadmap, release notes, changelog hoặc cập nhật cho…
- fal-generate – Tạo hình ảnh và video bằng các mô hình AI của fal.ai
- family-health-analyzer – Tổng hợp tiền sử bệnh gia đình và hồ sơ sức khỏe đã biết, nhận diện các dấu hiệu cần bác…
- faq-generator – Trình tạo FAQ. Dùng khi làm việc với các câu hỏi thực tế kèm dữ kiện trả lời.
- fastapi-router-py – Tạo FastAPI router theo các mẫu đã thiết lập, với xác thực phù hợp, response model và…
- fda-food-safety-auditor – Trợ lý AI kiểm toán chuyên gia về an toàn thực phẩm FDA (FSMA), HACCP và tuân thủ PCQI…