xiaohongshu
xiaohongshu
ccg-rag
Use this skill for semantic code search and codebase understanding. CCG-RAG provides intelligent retrieval using code embeddings and knowledge graphs.
Full skill instructions
Intelligent code and documentation retrieval using embeddings and knowledge graphs.
Activate this skill when:
rag_query - Semantic search across codebase
rag_related_code - Find similar code patterns
rag_build_index - Index/reindex codebase
documents_search - Search documentation
documents_find_by_type - Find docs by type (api, guide, spec)
documents_list - List all indexed documents
Find code by describing what it does:
"authentication middleware"
"error handling functions"
"database connection setup"
Find similar implementations:
"find functions similar to validateUser"
"show me other API endpoints"
"related test patterns"
"API documentation for auth"
"setup guide for database"
"architecture decisions"
User: "Find all code related to user authentication"
rag_query({ query: "user authentication login session" })
Results:
1. src/auth/login.ts:authenticate() - Main login handler
2. src/middleware/auth.ts:verifyToken() - JWT verification
3. src/services/session.ts:createSession() - Session management
User: "Show me code similar to the error handler in api.ts"
rag_related_code({ file: "src/api.ts", function: "handleError" })
Results:
1. src/services/db.ts:handleDbError() - 85% similar
2. src/utils/errors.ts:formatError() - 72% similar
User: "Find API documentation for payments"
documents_search({ query: "payment API integration" })
Results:
1. docs/api/payments.md - Payment API Reference
2. docs/guides/stripe-integration.md - Stripe Setup Guide
For accurate results, CCG-RAG uses:
Query → Embed → Top 20 candidates → LLM rerank → Top 5 results
rag_build_index({
paths: ["src/", "lib/"],
exclude: ["node_modules", "dist"],
languages: ["typescript", "javascript"]
})
rag_status()
{
"indexed_files": 245,
"chunks": 1847,
"last_updated": "2025-12-04T08:00:00Z",
"embedding_model": "qwen3-embedding-8b"
}
RAG enhances Latent Chain Mode:
🔍 [analysis]
1. rag_query({ query: "current auth implementation" })
2. Identify hot spots from RAG results
3. Build comprehensive codeMap
📋 [plan]
1. rag_related_code({ function: "targetFunction" })
2. Find similar patterns to follow
3. Plan patches based on existing conventions
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