f2s-kb-feat

Implements new capabilities and synchronizes the Flow2Spec knowledge base with verified changes.

48|6|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/double-coding-lab/Flow2Spec --skill f2s-kb-feat-double-coding-lab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: f2s-kb-feat
Source: https://github.com/double-coding-lab/Flow2Spec/tree/main/.cursor/skills/f2s-kb-feat
Command: npx skills add https://github.com/double-coding-lab/Flow2Spec --skill f2s-kb-feat-double-coding-lab

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When adding a new capability to a project, code and project knowledge often drift apart, leaving the knowledge base stale and unsearchable. This Skill closes that gap by completing missing implementation code and automatically merging verified facts into the Flow2Spec .Knowledge base in the same workflow. ## Core Features & Use Cases - Capability Gap Completion: Detects whether a requested capability is unimplemented, partially implemented, or already done, then fills only the missing code instead of rewriting modules. - Automated KB Merge Pipeline: Generates a kb-delta draft, previews it with flow2spec kb plan, applies it with kb apply, and validates with kb build and kb check without requiring the user to run commands manually. - Task Tracking Integration: When changeTracking.feat is enabled, creates or resumes tasks in .task/, checks off steps as they complete, and records user-facing to-dos. - Use Case: A user asks to add a failed-job retry queue. The Skill finds a half-finished implementation, completes the missing code, creates or updates the retry-queue topic, refreshes the index and routing manifest, and reports a summary of capability, implementation, and knowledge base changes. ## Quick Start Ask the agent to add a new capability with f2s-kb-feat, describing the capability, its scenarios, and boundaries so it can implement the code and sync the knowledge base.

Frequently Asked Questions about f2s-kb-feat

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new capability and sync the knowledge base with Flow2Spec?▼

Invoke f2s-kb-feat with a description of the capability, its scenarios, and boundaries. The Skill judges whether the capability is unimplemented, partial, or complete, fills any code gaps, then automatically plans, applies, builds, and checks the knowledge base delta.

How does the Flow2Spec knowledge base merge work after a code change?▼

The agent drafts a kb-delta recording taskId, baseRevisions, and changes, previews it with flow2spec kb plan, then applies it with kb apply followed by kb build and kb check. If topic revisions conflict, automatic writes stop and the merge escalates to semantic review.

Does f2s-kb-feat require manually running flow2spec kb commands?▼

No. The Skill's auto-merge protocol requires the agent itself to run kb plan, apply, build, and check. Users only see the outcome: capability and knowledge base synced, a semantic conflict needing confirmation, or a skipped update with reasons.

What happens when changeTracking.feat is enabled in flow2spec.config.json?▼

The Skill checks .task/todo.json for a matching active task, resumes it or creates a new one, writes steps into task.md, checks off each step immediately after completion, and records user-side to-dos in user-todos.md before archiving.

When does f2s-kb-feat stop automatic knowledge base writes?▼

Automatic writes stop when kb plan detects topic revision mismatches, indicating a semantic conflict. The Skill then switches to a semantic merge explanation instead of writing, so stale or divergent topic content is never overwritten blindly.