Back to list
knowns-dev

knownstaskextract

by knowns-dev

AI-first CLI for task management and documentation. Link docs in tasks, AI reads context automatically. Stop repeating patterns every session. Built-in time tracking, MCP Server, Web UI. Know what your team knows.

66🍴 13📅 Jan 23, 2026

SKILL.md


name: knowns.task.extract description: Use when extracting reusable patterns, solutions, or knowledge from completed tasks into documentation

Extracting Knowledge from Tasks

Convert task-specific implementations into reusable project documentation.

Announce at start: "I'm using the knowns.task.extract skill to extract knowledge from task [ID]."

Core principle: ONLY EXTRACT GENERALIZABLE KNOWLEDGE.

The Process

Step 1: Review Completed Task

knowns task $ARGUMENTS --plain

Look for:

  • Implementation patterns used
  • Problems solved
  • Decisions made
  • Lessons learned

Step 2: Identify Extractable Knowledge

Good candidates for extraction:

  • Reusable code patterns
  • Error handling approaches
  • Integration patterns
  • Performance solutions
  • Security practices
  • API design decisions

NOT good for extraction:

  • Task-specific details
  • One-time fixes
  • Context-dependent solutions

Step 3: Search for Existing Docs

# Check if pattern already documented
knowns search "<pattern/topic>" --type doc --plain

# List related docs
knowns doc list --tag pattern --plain

Don't duplicate. Update existing docs when possible.

Step 4: Create or Update Documentation

If new pattern - create doc:

knowns doc create "Pattern: <Name>" \
  -d "Reusable pattern for <purpose>" \
  -t "pattern,<domain>" \
  -f "patterns"

Add content:

knowns doc edit "patterns/<name>" -c "$(cat <<'EOF'
# Pattern: <Name>

## 1. Problem
What problem this pattern solves.

## 2. Solution
How to implement the pattern.

## 3. Example
```typescript
// Code example from the task

4. When to Use

  • Situation 1
  • Situation 2

5. Source

Discovered in @task- EOF )"


**If updating existing doc:**

```bash
knowns doc edit "<path>" -a "

## Additional: <Topic>

From @task-<id>: <new insight or example>
"
knowns task edit $ARGUMENTS --append-notes "📚 Extracted to @doc/patterns/<name>"

What to Extract

From TaskExtract As
New code patternPattern doc
Error solutionTroubleshooting guide
API integrationIntegration guide
Performance fixPerformance patterns
Security approachSecurity guidelines

Document Templates

Pattern Template

# Pattern: <Name>

## Problem
What this solves.

## Solution
How to implement.

## Example
Working code.

## When to Use
When to apply this pattern.

Guide Template

# Guide: <Topic>

## Overview
What this covers.

## Steps
1. Step one
2. Step two

## Common Issues
- Issue and solution

Quality Checklist

  • Knowledge is generalizable (not task-specific)
  • Includes working example
  • Explains when to use
  • Links back to source task
  • Tagged appropriately

Remember

  • Only extract generalizable knowledge
  • Search before creating (avoid duplicates)
  • Include practical examples
  • Reference source task
  • Tag docs for discoverability

Score

Total Score

75/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

Reviews

💬

Reviews coming soon