소스 정보
- 저장소
- knowns-dev/knowns
- 최근 소스 활동
- 2026년 8월 27일 06:37
- 감지된 SKILL.md 언어
- 영어
- 스타
- 241
- 포크
- 50
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/knowns-dev/knowns --skill kn-spec명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
Use when committing code changes with proper conventional commit format and verification
Use when creating, triaging, promoting, or superseding a System Decision - the durable project guidance other skills enforce
Use when working with Knowns documentation - viewing, searching, creating, or updating docs
SKILL.md 표시 중
| name | kn-spec |
| description | Use when creating a specification document for a feature (SDD workflow) |
Create a specification document for a feature using SDD (Spec-Driven Development).
Announce: "Using kn-spec to create spec for [name]."
Core principle: EXPLORE DECISIONS -> SPEC -> REVIEW -> APPROVE -> THEN KN-FLOW OR TASK PLANNING.
--skip-explore to jump straight to spec writing (for trivial features)specs/<yyyy-mm-dd>/<slug> using today's date and a stable slug.specs/2026-06-17/lsp-runtime-wrapper.requirements.md, design.md, and tasks.md. Keep one spec doc with sections; detailed execution belongs in Knowns Tasks.specs/<slug>, keep using its existing path instead of moving it during normal spec work.Task Links section after tasks are createdDo not create a spec just because the user invoked kn-spec.
If the request is tiny, low ambiguity, and low risk, rule out a spec and recommend direct task creation:
/kn-plan --new "<short work summary>"
Use this bypass for narrow copy/docs/config tweaks, small bug fixes, and low-risk maintenance that does not change product contracts, architecture, data, auth, external integrations, or cross-module behavior.
If the tiny work reveals reusable knowledge, create or update a supporting doc/memory first, then recommend /kn-plan --new .... If the user explicitly insists on a spec after the bypass recommendation, create a compact spec.
Extract decisions from the user BEFORE writing the spec. This prevents the agent from guessing wrong and writing a spec the user didn't want.
Assess from the request + a quick project scan:
/kn-plan --new "<summary>".--skip-explore).Classify what is being built — this determines which gray areas to probe:
| Type | What it is | Example |
|---|---|---|
| SEE | Something users look at | UI, dashboard, layout |
| CALL | Something callers invoke | API, CLI command, webhook |
| RUN | Something that executes | Background job, script, service |
| READ | Something users read | Docs, emails, reports |
| ORGANIZE | Something being structured | Data model, file layout, taxonomy |
One feature can span types (e.g., SEE + CALL).
Generate 2–4 gray areas for this feature. A gray area is a decision that:
Quick project scout (use available project search/code intelligence; no deep analysis):
mcp_knowns_search({ "action": "search", "query": "<feature keywords>", "type": "memory" })
Retrieve only relevant current System Decisions as a separate, trusted source:
mcp_knowns_search({ "action": "retrieve", "query": "<feature keywords and proposed system change>",
"sourceTypes": ["decision"], "status": "accepted", "includeHistorical": false, "limit": 8 })
Spec Decisions are scoped execution rules kept canonically in this spec's Locked Decisions section. System Decisions are first-class durable project records. Memory entries whose category is decision are legacy and must not be created by this workflow.
Filter OUT:
Keep architecture, dependency, security, migration, and performance decisions when they affect product behavior, public contracts, feasibility, cost, or acceptance criteria.
Rules:
"More questions about [area], or move on? (Remaining: [unvisited areas])"
Scope creep response — when user suggests something outside scope:
"[Feature X] is a new capability — will be a separate work item. Noted. Back to [current area]: [question]"
Decision locking — after each gray area is resolved:
"Lock decision D[N]: [summary]. Confirmed?"
Assign stable IDs: D1, D2, D3... These IDs will be referenced in the spec.
After all gray areas resolved, summarize locked decisions:
Decisions locked:
- D1: [summary]
- D2: [summary]
- D3: [summary]
Writing spec based on these locked decisions...
If $ARGUMENTS provided, use it as spec name.
If no arguments, ask user:
What feature are you speccing? (e.g., "user-auth", "payment-flow")
Ask user to describe the feature:
Please describe the feature requirements. What should it do?
Listen for:
If requirements depend on large domain or architecture context:
@doc/<path> instead of dumping background material inlineDerive:
<slug> from the feature name, using lowercase kebab-case<spec-path> as specs/<yyyy-mm-dd>/<slug><spec-folder> as specs/<yyyy-mm-dd>mcp_knowns_docs({ "action": "create", "title": "<Feature Name>",
"description": "Specification for <feature>",
"folder": "specs/<yyyy-mm-dd>",
"tags": ["spec", "draft"],
"content": "<spec content>"
})
Spec Template:
## Overview
Brief description of the feature and its purpose.
## Locked Decisions
Decisions extracted during exploring phase:
- D1: [Decision summary]
- D2: [Decision summary]
## System Decision Impact
- Impact: [none | existing | draft new | replacement]
- Decision: [@decision/<id> when impact is not none]
- Acceptance gate: [verification required before the linked draft becomes accepted]
## Requirements
### Functional Requirements
- FR-1: [Requirement description]
- FR-2: [Requirement description]
### Non-Functional Requirements
- NFR-1: [Performance, security, etc.]
## Acceptance Criteria
- [ ] AC-1: [Testable criterion]
- [ ] AC-2: [Testable criterion]
- [ ] AC-3: [Testable criterion]
## Scenarios
### Scenario 1: [Happy Path]
**Given** [context]
**When** [action]
**Then** [expected result]
### Scenario 2: [Edge Case]
**Given** [context]
**When** [action]
**Then** [expected result]
## Technical Notes
Optional implementation hints or constraints.
## Task Generation
- Task Prefix: [optional 2-8 character ID prefix, for example SPC; leave blank to use the project default]
## Task Links
Generated tasks will be linked here after `/kn-plan --from @doc/<spec-path>` runs.
Keep this section short: task ID, title, and status only.
## Open Questions
- [ ] Question 1?
- [ ] Question 2?
Task Prefix is optional and independent of task type. Normalize a supplied
value to uppercase; leaving it blank delegates ID generation to the project's
settings.defaultTaskIdPrefix, or to the legacy format when that is unset. Do
not maintain an allowlist of prefixes in the spec.
CRITICAL: After creating spec, validate to catch issues:
mcp_knowns_validate({ "entity": "<spec-path>" })
Present the spec and ask:
Please review this spec:
- Approve if requirements are complete
- Edit if you want to modify something
- Add more if requirements are missing
If approved:
mcp_knowns_docs({ "action": "update", "path": "<spec-path>",
"tags": ["spec", "approved"]
})
After approval:
/kn-flow @doc/<spec-path>./kn-plan --from @doc/<spec-path>./kn-go <spec-path> only when the user explicitly wants the older no-review-gates pipeline.If edit requested: Update the spec based on feedback and return to Step 4.
If add more: Gather additional requirements and update spec.
All built-in skills in scope must end with the same user-facing information order: kn-init, kn-spec, kn-flow, kn-go, kn-plan, kn-research, kn-handoff, kn-implement, kn-test, kn-review, kn-debug, kn-decision, kn-verify, kn-doc, kn-template, kn-extract, and kn-commit.
Required order for the final user-facing response:
Keep this concise for CLI use. Skill-specific content may extend the key-details section, but must not replace or reorder the shared structure.
Do not manage platform-synced skill copies; this source defines the built-in workflow contract.
For kn-spec, the key details should cover:
If the spec uncovers cross-cutting or general knowledge work:
You MUST suggest the next action when a natural follow-up exists. User won't know what to do next.
After spec is approved:
✓ Spec approved: @doc/<spec-path>
Next step — choose one:
1. Recommended full flow (plan -> implement -> review -> verify):
/kn-flow @doc/<spec-path>
2. Generate tasks only / manual task-by-task path:
/kn-plan --from @doc/<spec-path>
3. Legacy auto pipeline, no review gates:
/kn-go <spec-path>
Option 1 (kn-flow):
Option 2 (kn-plan --from):
/kn-plan <id> + /kn-implement <id> for each taskOption 3 (kn-go):
/kn-handoff - Read a contract from another repository before shaping the spec, or publish a brief when the other side must build first/kn-flow @doc/<spec-path> - Orchestrate an approved spec through plan, implement, review, and verify/kn-plan --from @doc/<spec-path> - Generate tasks from this spec (manual flow)/kn-go <spec-path> - Legacy no-review-gates auto pipeline/kn-plan <id> - Plan individual task/kn-verify - Verify implementation against spec/kn-plan --new when a spec would be overheadspecs/<yyyy-mm-dd>/<slug>draft + review-required and obtaining renewed approval/kn-flow or task creation after approval