instinct-system

Track and confirm recurring project-specific code patterns in .claude/instincts.md.

640|145|Updated Feb 20, 2026
One-click install
npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill instinct-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: instinct-system
Source: https://github.com/codewithmukesh/dotnet-claude-kit/tree/main/skills/instinct-system
Command: npx skills add https://github.com/codewithmukesh/dotnet-claude-kit --skill instinct-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The instinct system captures, tracks, and validates recurring project-specific patterns so the assistant stops guessing and starts following real conventions. It prevents one-off observations from becoming incorrect rules and reduces manual configuration by learning conventions through active confirmation.

Core Features & Use Cases

  • Confidence-scored hypotheses: Create instincts at low confidence and raise or lower them through observed confirmations and contradictions.
  • Observe-hypothesize-confirm lifecycle: Actively seek evidence across related files, adjust scores, flag stale items, and remove dead instincts.
  • Promotion to permanent memory: Promote well-supported instincts to MEMORY.md and export/import with decay for cautious sharing between projects.
  • Use case: During feature scaffolding, detect that handlers return Result<T> across the codebase, confirm across handlers, then apply the convention automatically once confidence reaches the follow threshold.

Quick Start

Load the instinct system and scan a few related files to form or update instincts and adjust their confidence levels.

Frequently Asked Questions about instinct-system

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

FAQPage Schema
How do I detect and track recurring project-specific code patterns automatically?

To detect project conventions, the instinct system scans related files to form confidence-scored hypotheses about recurring patterns, adjusting scores based on observed confirmations or contradictions. It actively seeks evidence across handlers, naming, architecture, testing, and API design.

How does confidence scoring work for code pattern detection?

Confidence scoring for code pattern detection works by creating instincts at low confidence and raising or lowering them through an observe-hypothesize-confirm lifecycle. Well-supported instincts with 0.9 confidence can be promoted to permanent MEMORY.md records.

What is the best way to stop the assistant from guessing my codebase conventions?

To stop the assistant from guessing conventions, use the instinct system to capture and validate recurring project-specific patterns. It prevents one-off observations from becoming incorrect rules by learning conventions through active confirmation across related files.

How do I apply detected code conventions when scaffolding new features?

When scaffolding features, the instinct system detects conventions like handlers returning Result<T> across the codebase, confirms them across related files, then applies the convention automatically once confidence reaches the follow threshold.

Can I export and share learned project conventions between different codebases?

Yes, you can export and share learned project conventions between codebases. The instinct system supports export and import functionality with decay for cautious sharing, ensuring conventions are validated rather than blindly applied across projects.

Where are confirmed project convention records stored?

Confirmed project convention records are maintained in .claude/instincts.md. The system maintains per-project records, flags stale items, removes dead instincts, and promotes well-supported instincts to MEMORY.md at 0.9 confidence.