What problem does it solve?
This Skill assists in maintaining and adhering to coding conventions, preferences, and guidelines by surfacing relevant project-specific preferences at the time of code implementation or review.
Core Features & Use Cases
- Preference Identification: Identify project preferences for error handling, file structure, frameworks, logging, etc.
- Preference Search and Apply: Use preference search terms to apply discovered preferences in real-time.
- Preference Recording: Record new reusable preferences in the project context for future reference.
- Fallback Method: Utilize an MCP (Multipart Content-Type) envelope for manual usage when CLI is unavailable.
- Use Case: For a software engineer reviewing a pull request, this skill would provide a set of established coding guidelines relevant to the project, ensuring consistency in code quality and development practices.
Quick Start
To record a coding preference for error handling, execute:
potpie --json graph catalog --task "record coding preference"
potpie graph search-entities "<scope>" --type Service --limit 10
potpie --json graph describe decisions --view preferences_for_scope --examples
potpie --json graph propose --file mutation.json
potpie --json graph commit <plan_id> --verify
potpie --json graph history --plan <plan_id>