Skip to content
Back to skills

Apply Feature Knowledge

ASecurity

Consumption algorithm for FEATURE_KNOWLEDGE variable — pre-computed feature context

  • 19 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
developmentrustgo

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add dean0x/devflow --skill apply-feature-knowledge --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Apply Feature Knowledge?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Apply Feature Knowledge
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dean0x-apply-feature-knowledge/badge)](https://www.skillsdirectory.com/skills/dean0x-apply-feature-knowledge)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: apply-feature-knowledge
description: Consumption algorithm for FEATURE_KNOWLEDGE variable — pre-computed feature context
user-invocable: false
allowed-tools: Read
---

# Apply Feature Knowledge

## Iron Law

> **Pre-computed context, not a cage. Verify against current code — always.**
>
> A feature knowledge captures patterns AS THEY WERE when last written. Code evolves.
> Use the feature knowledge as a starting point, not gospel truth. When something feels
> off, Read the actual files. Code is authoritative; feature knowledge is supplementary.

---

## 3-Step Algorithm

### Step 1: Read the Feature Knowledge

When `FEATURE_KNOWLEDGE` is provided and is not `(none)`:

1. Read each feature knowledge section (separated by `--- Feature knowledge: {slug} ---` headers)
2. Absorb: architecture, data flow, key patterns, anti-patterns, gotchas
3. Note integration points that relate to your current task

### Step 2: Apply to Current Task

1. **Patterns as defaults**: Follow documented patterns unless you have a specific reason not to
2. **Anti-patterns as warnings**: Check your work against documented anti-patterns
3. **Gotchas as checklists**: Verify each gotcha doesn't apply to your changes
4. **Integration points**: Ensure your changes respect documented boundaries
5. **Key files**: Use as starting points for exploration

### Step 3: Verify Against Current Code

The feature knowledge may not reflect recent changes:
- If the feature knowledge doesn't address your specific area, explore further
- **When an assertion seems outdated**: Read the relevant source files to confirm — code wins
- When you find a contradiction between the KB and actual code, trust the code
- Note discrepancies in your output when they matter for the task

---

## Skip Guard

When `FEATURE_KNOWLEDGE` is `(none)`, empty, or not provided — skip this skill entirely.
Do not mention feature knowledge or its absence in your output.

## Freshness Model

Feature knowledge uses **write-through + verify-on-read** for freshness:
- KBs are written at the point a documented area changes (not on a background schedule)
- Readers verify key assertions against current code rather than relying on staleness markers
- When in doubt, Read the file — that resolves any uncertainty immediately

## Concatenation Format

Multiple feature knowledge entries are concatenated with slug headers:
```
--- Feature knowledge: payments ---
[full KNOWLEDGE.md content]

--- Feature knowledge: auth ---
[full KNOWLEDGE.md content]
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.