skills/document-lifecycle/SKILL.md
Use when (1) a hook signals potential drift between current work and tracked documents, (2) session-start alerts show documents due/overdue/critical for review, (3) user requests a document freshness check, or (4) completing a task that changed business direction, pricing, processes, or strategy. Two modes: drift resolution (compare doc against current work, present contradictions) and scheduled review (read doc, diff against recent activity, ask targeted confirmation questions). Manages escalation ladder from gentle reminder through hard stop. Do NOT use for: content creation enforcement (use hq-content-enforcer), post-task resource gap detection (use resource-auditor), brain memory management (handled by supabase-sync).
npx skillsauth add sharkitect-solutions/sharkitect-claude-toolkit document-lifecycleInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Ensures documents across all workspaces stay current through real-time drift detection and scheduled freshness reviews. Tracks review history, manages escalation, and prevents stale information from corrupting downstream work.
| File | Load When | Do NOT Load |
|---|---|---|
| references/review-cycle-guide.md | Needing category definitions, cycle lengths, escalation details, example review dialogues, or override guidance | Simple drift checks where you already know the category and cycle |
| references/drift-detection-patterns.md | Analyzing potential drift, comparing doc content against work context, classifying drift type, or checking false positive criteria | Scheduled reviews where drift was already identified by Sentinel |
| references/failure-modes-and-rationalizations.md | Catching yourself skipping a review, rationalizing a deferral, or noticing a failure pattern in your review behavior; also load during post-review self-audit | Reviews proceeding normally with no resistance or shortcut temptation |
| Request | This Skill | Use Instead | |---|---|---| | "Check if this doc is still accurate" | YES | -- | | "Review overdue documents" | YES | -- | | "A hook flagged potential drift" | YES | -- | | "Update document after review" | YES | -- | | "Defer a document review" | YES | -- | | "Am I using brand voice correctly?" | NO | hq-content-enforcer + hq-brand-review | | "Did I use all available resources?" | NO | resource-auditor | | "Sync memories to Supabase" | NO | supabase-sync.py | | "Score this skill" | NO | skill-judge |
Triggered during work when a hook or observation suggests current activity contradicts a tracked document.
HOOK SIGNALS DRIFT
|
v
READ FLAGGED DOCUMENT
|
v
COMPARE AGAINST CURRENT WORK CONTEXT
|
+--> Real drift? --YES--> PRESENT CONTRADICTION
| |
| +--> User updates doc --> UPDATE LIFECYCLE
| | (reset to current)
| |
| +--> User defers --> SET deferred_at,
| escalation=deferred
|
+--> False positive? --YES--> No action. Log for pattern improvement.
"Your strategy doc states: 'Our primary niche is HVAC and plumbing contractors.' However, in this session we've been working on a proposal for a flooring company. Which is accurate?"
python tools/supabase-sync.py push-lifecycle "<doc_path>" last_reviewed=now escalation_state=current last_review_outcome=updated last_review_summary="<what changed>"
python tools/supabase-sync.py push-lifecycle "<doc_path>" escalation_state=deferred deferred_at=now
Triggered when session-start alerts show documents past their review cycle, or when Sentinel's freshness auditor flags overdue items.
DOCUMENT FLAGGED AS DUE/OVERDUE/CRITICAL
|
v
[1] READ THE DOCUMENT -- full content, not summary
|
v
[2] PULL RECENT WORK CONTEXT
Query brain memories for this workspace's recent activity.
What has the user been working on? Any decisions made?
|
v
[3] DIFF-BASED CHECK
Compare document assertions against recent work.
Present contradictions: "Doc says X, recent work shows Y"
|
v
[4] TARGETED QUESTIONS (for unverifiable sections)
Ask SPECIFIC questions -- max 3-5 per document.
GOOD: "Your pricing shows $500/month for the starter package. Still current?"
BAD: "Is the pricing section still accurate?"
|
v
[5] USER CONFIRMS OR UPDATES
|
v
[6] UPDATE LIFECYCLE
Confirmed (no changes needed):
python tools/supabase-sync.py push-lifecycle "<doc_path>" last_reviewed=now escalation_state=current last_review_outcome=confirmed last_review_summary="Reviewed and confirmed accurate" review_count=<N+1>
Updated (changes made):
python tools/supabase-sync.py push-lifecycle "<doc_path>" last_reviewed=now escalation_state=current last_review_outcome=updated last_review_summary="<what changed>" review_count=<N+1>
Major revision:
python tools/supabase-sync.py push-lifecycle "<doc_path>" last_reviewed=now escalation_state=current last_review_outcome=major-revision last_review_summary="<scope of rewrite>" review_count=<N+1>
| State | Trigger | Behavior | Deferrable? |
|-------|---------|----------|-------------|
| current | Within review cycle | No alerts | N/A |
| due | Past next_review date | Gentle reminder at session start | Yes -- moves to deferred |
| deferred | User said "later" | Re-asks after 3 days | Yes -- one more time |
| overdue | 3+ days deferred | Firmer reminder, explains importance | Yes -- but warned this is the last deferral |
| critical | 7+ days deferred | Hard stop with specific risk reasoning | Must acknowledge before other work |
Deferral command:
python tools/supabase-sync.py push-lifecycle "<doc_path>" escalation_state=deferred deferred_at=now
| Category | Cycle | Examples | |----------|-------|---------| | strategy | 90 days | Business direction, niche focus, target market, value proposition | | client | 30 days | Client details, active projects, timelines, contacts, scope | | operations | 90 days | Workflows, SOPs, team processes, decision frameworks | | pricing | 60 days | Service costs, packages, rates, discount policies | | brand | 120 days | Brand voice guide, visual identity, messaging framework | | technical | 60 days | CLAUDE.md, tool configs, system architecture, integrations |
| Anti-Pattern | Core Error | Quick Fix |
|---|---|---|
| The Rubber Stamp | Confirming without reading or quoting assertions | Quote at least one specific assertion when confirming |
| The Infinite Defer | Always pushing to "later" with no tracking | Hard stop after 2 deferrals -- no exceptions |
| The Partial Review | Only checking sections related to current work | Full document scan in Mode 2; drift hides in unused sections |
| The Silent Update | Updating without recording what changed | Always include last_review_summary with specifics |
| The Question Dump | Asking 15+ confirmations at once | Max 3-5 targeted questions; source from brain first |
If you catch yourself rationalizing a shortcut ("just reviewed this," "nothing changed," "user is busy," "just a config file," "next session"): load references/failure-modes-and-rationalizations.md for the full breakdown of why each rationalization fails and what to do instead.
development
When the user wants help with paid advertising campaigns on Google Ads, Meta (Facebook/Instagram), LinkedIn, Twitter/X, or other ad platforms. Also use when the user mentions 'PPC,' 'paid media,' 'ad copy,' 'ad creative,' 'ROAS,' 'CPA,' 'ad campaign,' 'retargeting,' or 'audience targeting.' This skill covers campaign strategy, ad creation, audience targeting, and optimization.
testing
--- name: using-sharkitect-methodology description: Use when starting any conversation in a Sharkitect workspace OR before any task involving NEW pricing, positioning, proposal, strategy, plan-execution, or schema-design work — mandates invocation of Sharkitect-specific methodology skills (pricing-strategy, marketing-strategy-pmm, smb-cfo, hq-revenue-ops, executing-plans, brainstorming) under the same anti-rationalization discipline as using-superpowers. Documentation has failed 4 times across H
testing
Use when user says 'end session', 'wrap up', 'stop for the day', 'done for today', 'close out', 'save session', 'wrapping up', or invokes /end-session. Runs the full 9-step end-of-session protocol: resource audit, MEMORY.md update, lessons capture, plan status, pending items, workspace checklist, .tmp/ audit, git commit+push, Supabase brain sync, session brief, summary. Final step schedules a detached self-kill of the current session ONLY (3s delay) so the window closes cleanly. Other claude.exe processes (active workspaces) are NOT touched -- orphan cleanup is handled separately by Claude-Orphan-Cleanup-Hourly with proper age safeguards. Do NOT use for: mid-session quick saves (use session-checkpoint), skill syncing (use sync-skills.py), brain memory queries (use supabase-sync.py pull), document freshness reviews (use document-lifecycle), resource gap detection (use resource-auditor).
testing
Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.