kiyoraka/project-ai-memorycore/observation-system
Claude Code and agent skill by kiyoraka/project-ai-memorycore
- community
Checking that the SKILL.md file is still in the repository.
"MUST use when user says 'survey project', 'scan project', 'check health',
Install
npx vskill@latest install kiyoraka/project-ai-memorycore/observation-systemSKILL.md
Observation System — Tiered Code Awareness
"See clearly before you act. Act only on what you see."
Activation
Four commands, each at a different depth:
| Command | Activation Message | Time | |
|---|---|---|---|
| Survey | "Scanning project from above..." | ~30 sec | |
| Investigate | "Focusing on [target]..." | ~5 min | |
| Refine | "Reviewing changed code..." | ~5 min | |
| Audit | "Revealing all connections..." | ~15 min |
Then execute the matching protocol below.
Context Guard
| Context | Status | |
|---|---|---|
| User says "survey", "scan", "check health", "project status" | ACTIVE — run Survey | |
| User says "investigate", "deep dive", "look into", "what's going on" | ACTIVE — run Investigate | |
| User says "refine", "clean up", "review changes", "check my code" | ACTIVE — run Refine | |
| User says "audit", "full audit", "show me everything" | ACTIVE — run Audit | |
| Before planning a large feature | ACTIVE — Survey first | |
| After implementation, before commit | ACTIVE — Refine (code was written) | |
| Bug report or error investigation | ACTIVE — Investigate (bug mode) | |
| Casual conversation, no project context | DORMANT — no observation | |
| Non-code tasks, research, documentation | DORMANT — no code to observe |
Protocol
Step 1: Determine Command
Parse the user's request and dispatch to the matching depth level:
| Depth | Command | Question It Answers | Time | |
|---|---|---|---|---|
| Lv.1 | Survey | "What's the state of the project?" | ~30 sec | |
| Lv.2 | Investigate | "What's happening in this specific area?" | ~5 min | |
| Lv.2 | Refine | "What can be improved in changed code?" | ~5 min | |
| Lv.3 | Audit | "Show me everything about this system." | ~15 min |
Step 2: Execute Tier Protocol
Follow the detailed protocol for the selected command (see sections below).
Step 3: Suggest Escalation
After completing any tier, suggest the next appropriate depth if findings warrant it (see Escalation Paths).
Depth Levels
Four commands at three depth levels. Survey/Investigate/Audit are investigative (observe and report). Refine is corrective (observe and fix).
When to Use Which
| Situation | Tier | |
|---|---|---|
| "How's the project looking?" | Survey | |
| "What's going on in this area?" | Investigate | |
| "Clean up what I just wrote" | Refine | |
| "Audit the entire system" | Audit | |
| Before designing a feature | Survey → then plan | |
| After coding, before commit | Refine | |
| Tracking down a bug | Investigate (bug mode) | |
| Quarterly health check | Audit |
Escalation Paths
Lv.1: Survey
Quick bird's-eye view of a project — structure, tech stack, health, and recent activity.
Arguments
| Argument | Action | Example | |
|---|---|---|---|
<project> | Scan specific project | survey tariqms | |
| (none) | Scan current working directory | survey | |
all | Overview of ALL active projects | survey all |
Step 1: Dependency Scan
Adapt to the project's actual stack:
- [ ] Frontend: Read package manifest (
package.json,pubspec.yaml, etc.) — UI library, framework, test runner - [ ] Frontend: Scan component directories — check for custom wrappers that override standard behavior
- [ ] Backend: Read project file (
.csproj,pom.xml,go.mod,Cargo.toml, etc.) — dependencies, framework version - [ ] Skip if project type doesn't apply (backend-only, frontend-only)
Step 2: Structure Scan
- [ ] Count files by type (backend, frontend, test, config)
- [ ] Identify architecture pattern (Clean Architecture, N-Tier, monolith, etc.)
- [ ] Note project organization (monorepo, multi-project, single app)
Step 3: Tech Stack Detection
Detect from project files:
- [ ]
.csproj→ .NET version, target framework - [ ]
package.json→ Frontend framework, key dependencies - [ ] Database provider (from config or ORM setup)
- [ ] CI/CD pipeline (
.github/workflows/,Jenkinsfile, etc.) - [ ] Container setup (
docker-compose.yml,Dockerfile)
Step 4: Health Check
- [ ] Build status — any errors? (
dotnet build/npm run build) - [ ] Git status — uncommitted changes? (
git status --short) - [ ] Branch status — ahead/behind remote?
- [ ] Last commit date — how stale?
- [ ] TODO/FIXME/HACK count — outstanding markers
Step 5: Recent Activity
- [ ] Show last 5 commits (
git log --oneline -5) - [ ] Note active branch and any open work
Step 6: Domain Lesson Check
Cross-reference project against past incidents (if Post-Mortem System is installed):
- [ ] Scan post-mortem records for entries matching this project's domain
- [ ] Show max 3 most relevant lessons
- [ ] If same failure type appears 2+ times: flag as recurring
- [ ] Skip section entirely if no matches found
Survey Output Format
Keep it compact — the whole output should fit on one screen.
Survey All
When all is specified, scan all active projects and show a summary table:
Lv.2: Investigate
Focused investigation of a specific area — trace bugs, reveal hidden patterns, analyze code flow.
Arguments
| Argument | Action | Example | |
|---|---|---|---|
<file path> | Analyze specific file | investigate src/services/AuthService.cs | |
<topic> | Investigate topic across project | investigate authentication | |
bug <description> | Bug investigation mode | investigate bug search not working | |
review <file> | Code review mode | investigate review PaymentService.cs |
Step 1: Dependency Scan
- [ ] Frontend: Package manifest + custom component wrappers (read actual type definitions)
- [ ] Backend: Project file + dependency injection/service registrations (e.g.,
Program.cs,app.module.ts,main.go) - [ ] Never assume standard library behavior — verify against actual source
Mode A: File Analysis
- [ ] Read the target file completely
- [ ] Map dependencies (what it imports/uses)
- [ ] Map dependents (what uses this file — grep for references)
- [ ] Check pattern compliance with project conventions
- [ ] Identify issues: bugs, code smells, deviations
- [ ] Report connections to larger architecture
Mode B: Topic Investigation
- [ ] Search across all project files for related terms
- [ ] Map all files touching this topic
- [ ] Trace data/logic flow end-to-end:
- [ ] Report hidden patterns and undocumented behavior
Mode C: Bug Investigation
- [ ] Parse symptom — what's failing, when, where?
- [ ] Trace backwards from symptom to root cause:
- [ ] Provide fix options with recommendation
Mode D: Code Review
- [ ] Read the file
- [ ] Review checklist:
- Follows project conventions (naming, structure)
- Error handling present and appropriate
- No hardcoded secrets or magic numbers
- Input validation at boundaries
- Null safety / defensive coding
- Performance considerations
- Test coverage exists
- [ ] Score and report findings
Investigate Output Format
Lv.2: Refine (Corrective)
Reviews changed code for reuse, quality, and efficiency — then fixes what it finds.
Key difference from other tiers: Refine doesn't just observe — it acts. After presenting findings, it fixes issues with permission.
Arguments
| Argument | Action | Example | |
|---|---|---|---|
<file> | Review specific file | refine src/services/SlaService.cs | |
<area> | Review area/feature | refine auth, refine dashboard | |
| (none) | Review all changed files (git diff) | refine |
Step 1: Dependency Scan
- [ ] Frontend: Read package manifest + scan custom component wrappers
- [ ] Backend: Read project file + check DI/service registrations
- [ ] Never assume standard props — read actual component type definitions
Step 2: Identify Scope
| Target | Scope | |
|---|---|---|
| No argument | git diff --name-only + git diff --cached --name-only — all changed files | |
| File path | That specific file | |
| Area keyword | Grep for related files, review the cluster |
Skip: Generated files, migrations, lock files, node_modules, bin/, obj/
Step 3: Read & Understand
For each file in scope:
- [ ] Read the full file — understand context, not just the diff
- [ ] Read the diff — focus on what changed
- [ ] Identify intent — what is the author trying to do?
Rule: Understand intent before judging quality. Never "fix" something that was intentional.
Step 4: Analyse (The Refinement Checklist)
Code Quality
- [ ] Dead code — unused variables, unreachable branches, commented-out blocks
- [ ] Duplication — same logic repeated (extract if 3+ occurrences)
- [ ] Naming — clear, consistent with project conventions
- [ ] Complexity — can any nested logic be simplified?
Reuse & Structure
- [ ] Existing utilities — is there already a helper for this?
- [ ] Abstraction level — too low (verbose) or too high (over-engineered)?
- [ ] Single Responsibility — does each function/class do one thing?
Efficiency
- [ ] Obvious N+1 queries or unnecessary loops
- [ ] Missing early returns that would reduce nesting
- [ ] Unnecessary allocations or copies
Project Rules Compliance
- [ ] Follows project coding rules (check CLAUDE.md or project conventions)
- [ ] API contract respected (backend naming → frontend follows)
- [ ] Date/time handling correct for the project's timezone strategy
What NOT to Flag
- Style preferences that don't affect correctness
- Missing documentation on code that wasn't changed
- Performance micro-optimizations that don't matter at scale
- "Best practices" that add complexity without value
Step 5: Report Findings
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingFeature/Observation-System/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/kiyoraka/project-ai-memorycore/observation-system)