一键导入
booklib-mcp-guide
Use when working with BookLib MCP tools. Reference for lookup, review, remember, verify, guard — parameters, workflows, and anti-patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when working with BookLib MCP tools. Reference for lookup, review, remember, verify, guard — parameters, workflows, and anti-patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
BookLib — context engineering for AI coding assistants. 23 expert skills plus post-training gap detection, MCP tools, and runtime context injection. Install with: npm install -g @booklib/core && booklib init
Apply web animation principles from Animation at Work by Rachel Nabors. Covers human perception of motion, 12 principles of animation, animation patterns (transitions, supplements, feedback, demonstrations, decorations), CSS transitions, CSS animations, Web Animations API, SVG/Canvas/WebGL, communicating animation with storyboards and motion comps, performance (composite-only properties, will-change, RAIL), accessibility (prefers- reduced-motion, vestibular disorders), and team workflow. Trigger on "animation", "transition", "CSS animation", "keyframe", "easing", "motion design", "web animation", "prefers-reduced-motion", "storyboard", "parallax", "loading animation", "hover effect", "micro-interaction".
Reviews code against Robert C. Martin's Clean Code principles. Use when users share code for review, ask for refactoring suggestions, or want to improve code quality. Produces actionable feedback organized by Clean Code principles with concrete before/after examples.
Generate and review data-intensive application code using patterns from Martin Kleppmann's "Designing Data-Intensive Applications." Use this skill whenever the user asks about data storage engines, replication, partitioning, transactions, distributed systems, batch or stream processing, encoding/serialization, consistency models, consensus, event sourcing, CQRS, change data capture, or anything related to building reliable, scalable, and maintainable data systems. Trigger on phrases like "data-intensive", "replication", "partitioning", "sharding", "LSM-tree", "B-tree", "transaction isolation", "distributed consensus", "stream processing", "batch processing", "event sourcing", "CQRS", "CDC", "change data capture", "serialization format", "schema evolution", "consensus algorithm", "leader election", "total order broadcast", or "data pipeline."
Apply Data Pipelines Pocket Reference practices (James Densmore). Covers Infrastructure (Ch 1-2: warehouses, lakes, cloud), Patterns (Ch 3: ETL, ELT, CDC), DB Ingestion (Ch 4: MySQL, PostgreSQL, MongoDB, full/incremental), File Ingestion (Ch 5: CSV, JSON, cloud storage), API Ingestion (Ch 6: REST, pagination, rate limiting), Streaming (Ch 7: Kafka, Kinesis, event-driven), Storage (Ch 8: Redshift, BigQuery, Snowflake), Transforms (Ch 9: SQL, Python, dbt), Validation (Ch 10: Great Expectations, schema checks), Orchestration (Ch 11: Airflow, DAGs, scheduling), Monitoring (Ch 12: SLAs, alerting), Best Practices (Ch 13: idempotency, backfilling, error handling). Trigger on "data pipeline", "ETL", "ELT", "data ingestion", "Airflow", "dbt", "data warehouse", "Kafka streaming", "CDC", "data orchestration".
Apply and review GoF design patterns from Head First Design Patterns. Use for Creational patterns (Factory Method, Abstract Factory, Singleton, Builder, Prototype), Structural patterns (Adapter, Bridge, Composite, Decorator, Facade, Flyweight, Proxy), Behavioral patterns (Chain of Responsibility, Command, Interpreter, Iterator, Mediator, Memento, Observer, State, Strategy, Template Method, Visitor), compound patterns (MVC), and OO design principles. Trigger on "design pattern", "GoF", "Gang of Four", "factory", "singleton", "observer", "strategy", "decorator", "adapter", "facade", "proxy", "composite", "command", "iterator", "state", "template method", "builder", "prototype", "bridge", "flyweight", "mediator", "memento", "visitor", "chain of responsibility", "interpreter", "MVC", "refactor to pattern", or "code smells."
| name | booklib-mcp-guide |
| version | 1.0 |
| license | MIT |
| tags | ["meta","mcp","tools","agent-guide"] |
| description | Use when working with BookLib MCP tools. Reference for lookup, review, remember, verify, guard — parameters, workflows, and anti-patterns. |
BookLib exposes 5 MCP tools to AI coding agents. Each tool has a single purpose. This guide covers when to call each one, what parameters to pass, and common workflows.
| Tool | When to call | Key params |
|---|---|---|
lookup | Before working with unfamiliar APIs or post-training deps | query (required), file, limit, source |
review | User asks for deep code review of a specific file | skill_name, file_path (both required) |
remember | User says "remember this", "capture", or makes a team decision | title (required), content, type, tags |
verify | After writing code that uses unfamiliar or new APIs | file_path (required) |
guard | After writing code that touches architecture or API choices | file_path (required) |
Need current docs for a post-training library -> lookup
Need a full expert review of a file -> review
User wants to save a decision or insight -> remember
Code uses unknown imports -> verify
Code might violate team rules -> guard
Searches across post-training corrections, team knowledge, and expert skills. Returns structured principles with source citations.
Parameters:
query (string, required): What you need to know. Include the library name and task.file (string): Path to the file being worked on. Adds language and component context.limit (number): Maximum results. Default: 3.source (enum: all/skills/knowledge): Filter by source type.Prioritization order: (1) post-training gap corrections, (2) team knowledge nodes, (3) expert skill principles.
Audits a file against a named skill's principles. Returns structured findings with line references and citations.
Parameters:
skill_name (string, required): The skill to review against (e.g., "effective-kotlin", "clean-code-reviewer").file_path (string, required): Path to the file to review.Creates a searchable knowledge node. Automatically indexed and auto-linked to related nodes.
Parameters:
title (string, required): Short descriptive title.content (string): Detailed description in markdown.type (enum: insight/decision/pattern/note/research): Node type. Default: "insight".tags (string): Comma-separated tags.links (string): Link targets as "target:edge-type" pairs.Checks if a file's imports are covered by BookLib's index. Flags unknown post-training APIs that may need current docs.
Parameters:
file_path (string, required): Path to the source file.Returns: list of unknown imports with suggested documentation URLs.
Checks if code contradicts captured team decisions. Compares code patterns against decision nodes.
Parameters:
file_path (string, required): Path to the source file.Returns: list of contradictions with the violated decision and source.
verify file.ts -> finds unknown import "@stripe/stripe-js"
lookup "stripe js v5 api" -> returns current v5 docs
-> write correct code using current API
write code -> make architectural choice
guard file.ts -> flags: contradicts "use PaymentIntents not Charges"
-> fix the violation, commit
discover a useful pattern -> remember "retry with exponential backoff" --type pattern
make a team decision -> remember "use PaymentIntents not Charges" --type decision
lookup for standard patterns. React hooks, Python builtins, Go stdlib -- you already know these. Only call for project-specific or post-training knowledge.verify on stdlib imports. Standard library imports are always known. Only check third-party imports.remember for ephemeral notes. Only capture durable decisions, patterns, and insights that future sessions should know about.review without a specific skill. The skill_name parameter is required -- pick the most relevant one or use "clean-code-reviewer" as default.lookup per topic is enough. Don't repeat the same query hoping for different results.These features are available via the booklib CLI but not exposed as MCP tools:
booklib connect <path> -- connect a documentation sourcebooklib connect github releases <repo> -- index GitHub changelogsbooklib connect notion database <id> -- index Notion pagesbooklib link <from> <to> --type <edge> -- connect two knowledge nodesbooklib save-state --goal "..." --next "..." -- save session for handoffbooklib nodes list / booklib nodes show <id> -- list and inspect knowledgebooklib gaps / booklib resolve-gaps -- detect and fix knowledge gapsbooklib analyze -- show affected files and post-training APIsbooklib doctor -- health check