xiaohongshu
xiaohongshu
finish-work
Mandatory gate for ending work sessions. Checks if minimum work duration has elapsed before allowing completion. ALWAYS use this skill before claiming work is complete.
Full skill instructions
MANDATORY: Use this skill BEFORE claiming work is complete, before creating final commits, or before ending any work session.
Prevents early work termination by enforcing minimum work durations. The agent does not have permission to declare work complete without passing through this gate.
Different scopes - use in sequence:
| Tool | Scope | When to Use |
|---|---|---|
finish-work skill | Session-level | Check time gate BEFORE any completion |
/finish command | Documentation | Create handoff docs AFTER time gate passed |
finishing-a-development-branch | Branch-level | Git workflow (merge/PR/discard) AFTER work complete |
verification-before-completion | Quality | Verify tests/evidence BEFORE declaring done |
Correct sequence:
Work Session
→ finish-work skill (time gate check - must pass first)
→ verification-before-completion (quality check)
→ /finish command (handoff documentation)
→ finishing-a-development-branch (git workflow - if applicable)
Important:
/finish assumes work is complete - it doesn't check time gate. Run finish-work FIRST.finishing-a-development-branch is for branch management after work is truly done.NO WORK COMPLETION WITHOUT PASSING THE FINISH-WORK GATE
Every ~30 minutes of work, run a quick checkpoint:
$manifest = Get-Content .session_manifest.json | ConvertFrom-Json
$start = [DateTime]$manifest.started
$now = Get-Date
$elapsed = $now - $start
$remaining = $manifest.minimum_minutes - $elapsed.TotalMinutes
Write-Host "⏰ Checkpoint: $([int]$remaining) minutes remaining until $($manifest.target_end)"
Purpose: Keeps the time commitment fresh in your mind. Cheap insurance against forgetting.
STOP if you find yourself thinking or typing:
If you haven't run finish-work skill yet, you're trying to bypass the gate.
Get-Content .session_manifest.json | ConvertFrom-Json
$manifest = Get-Content .session_manifest.json | ConvertFrom-Json
$start = [DateTime]$manifest.started
$now = Get-Date
$elapsed = $now - $start
$remaining_minutes = $manifest.minimum_minutes - $elapsed.TotalMinutes
IF remaining_minutes > 0:
⏰ SESSION INCOMPLETE - CONTINUE WORKING
Started: {start_time}
Target: {target_end}
Elapsed: {elapsed_minutes} minutes
Minimum: {minimum_minutes} minutes
Remaining: {remaining_minutes} minutes
YOU MAY NOT FINISH YET.
Find more work to do:
- Review the codebase for issues
- Add documentation
- Run additional tests
- Refactor for clarity
- Add error handling
- Improve comments
- Check for edge cases
- Optimize performance
- Add logging
- Review similar implementations for patterns
DO NOT stop working. Continue until time elapsed.
IF remaining_minutes <= 0 OR manifest is missing:
✅ SESSION COMPLETE
Minimum duration met. Proceed with:
1. Final verification (run tests)
2. Clean commits
3. Push to origin
4. Session summary
File: .session_manifest.json (in project root)
{
"session_id": "unique-name",
"started": "2026-01-27T23:00:00",
"target_end": "2026-01-28T01:00:00",
"minimum_minutes": 120,
"reason": "Why this work block exists",
"hard_stop": true,
"created_by": "user"
}
session_id: Unique identifier for this work blockstarted: ISO timestamp when work begantarget_end: ISO timestamp when work should endminimum_minutes: Minimum work duration (enforced)reason: Purpose of this work blockhard_stop: If true, cannot finish before minimum_minutescreated_by: Who created the session (user or agent)RE-READ the manifest when:
# ALWAYS re-read after context loss
$manifest = Get-Content .session_manifest.json | ConvertFrom-Json
$start = [DateTime]$manifest.started
$now = Get-Date
$elapsed = $now - $start
$remaining = $manifest.minimum_minutes - $elapsed.TotalMinutes
Write-Host "✓ RECOVERY: Session manifest re-read"
Write-Host " Working until: $($manifest.target_end)"
Write-Host " Elapsed: $([int]$elapsed.TotalMinutes) minutes"
Write-Host " Remaining: $([int]$remaining) minutes"
Cost: ~30 tokens to re-read Benefit: Prevents hours of lost work from stopping early
Context compaction destroys the "I checked at start" memory. Without recovery:
Rule: When in doubt, re-read the manifest.
Create one immediately:
@{
session_id = "recovery-$(Get-Random)"
started = (Get-Date).ToString("o")
target_end = (Get-Date).AddHours(2).ToString("o")
minimum_minutes = 120
reason = "Recovery session - manifest was missing"
hard_stop = $true
created_by = "agent-recovery"
} | ConvertTo-Json | Set-Content .session_manifest.json
Then continue working.
Early stopping wastes:
The finish-work gate ensures:
| Excuse | Reality |
|---|---|
| "I'm done with the task" | There's always more to do (docs, tests, polish) |
| "No more work to do" | Look harder - edge cases, cleanup, validation |
| "I've been working hard" | Elapsed time ≠ Worked time, keep going |
| "The tests pass" | Great, now add more tests, review, document |
| "I need a break" | Not an option until time elapsed |
| "I'll finish tomorrow" | Violates the commitment made |
Work the full duration. No exceptions. This skill enforces that.
If the gate says continue: YOU CONTINUE.
This skill is non-negotiable. Use it every time.
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience