xiaohongshu
xiaohongshu
cc-sessions-core
Provide comprehensive guidance for developing and maintaining the cc-sessions framework core functionality - primary skill for hooks, sessions, tasks, middleware, route handlers, and API endpoints
Full skill instructions
Type: WRITE-CAPABLE DAIC Modes: IMPLEMENT only Priority: High
This skill activates on:
sessions/**/*.js, sessions/hooks/**/*.js, sessions/api/**/*.jsFrom: skill-rules.json - cc-sessions-core configuration
Provide comprehensive guidance for developing and maintaining the cc-sessions framework core functionality. This is the primary skill for all cc-sessions development work including hooks, sessions, tasks, middleware, route handlers, and API endpoints.
When activated in IMPLEMENT mode with an active cc-sessions task:
Framework Core Development
Hook Development
sessions/hooks/API Endpoint Development
sessions/api/Task Management Features
Middleware & Route Handlers
CRITICAL WRITE-GATING RULES:
Framework Integrity Rules:
CC_SESSION_MODE or CC_SESSION_TASK_ID directly (only cc-sessions API may do this)context/gotchas.mdCode Quality Standards:
✓ "Create a new hook for validating task manifests" ✓ "Modify the session state API to include timestamps" ✓ "Add a new command: sessions tasks archive" ✓ "Fix the write-gating enforcement in sessions_enforce.js" ✓ "Implement task resumption from state.json"
✗ In DISCUSS/ALIGN/CHECK mode (framework development requires IMPLEMENT) ✗ No active cc-sessions task (violates write-gating) ✗ User is working on application code (not framework code) ✗ Changes would weaken safety mechanisms
Core:
sessions/bin/sessions - CLI entry pointsessions/api/router.js - Main API routersessions/sessions-state.json - Session state persistenceHooks:
sessions/hooks/sessions_enforce.js - Write-gating and DAIC enforcementAPI Modules:
sessions/api/state_commands.js - State management (show, mode, task, todos, flags, update)sessions/api/task_commands.js - Task operations (idx, start)sessions/api/config_commands.js - Configuration managementsessions/api/protocol_commands.js - Protocol executionsessions/sessions-state.jsonsessions/sessions-state.json (lightweight checkpoint)When modifying core framework behavior, log in context/decisions.md:
### Framework Change: [Date]
- **Component:** sessions/hooks/sessions_enforce.js
- **Change:** Added todo list change detection
- **Rationale:** Users were bypassing execution boundary by silently changing todos
- **Impact:** All todo modifications now require explicit approval
- **Breaking:** No (additive change only)
Last Updated: 2025-11-15 Framework Version: 2.0
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