From workflow
Extract and generate coding best practices from PR review comments. Use when the user asks to "extract best practices", "analyze PR comments", "generate coding standards", "create best practices from PRs", or "update coding guidelines from reviews".
npx claudepluginhub itamarzand88/claude-code-agentic-engineering --plugin workflowThis skill uses the workspace's default tool permissions.
Extract coding best practices from PR review comments and codebase analysis to generate `.claude/best-practices/` documentation.
Generates design tokens/docs from CSS/Tailwind/styled-components codebases, audits visual consistency across 10 dimensions, detects AI slop in UI.
Records polished WebM UI demo videos of web apps using Playwright with cursor overlay, natural pacing, and three-phase scripting. Activates for demo, walkthrough, screen recording, or tutorial requests.
Delivers idiomatic Kotlin patterns for null safety, immutability, sealed classes, coroutines, Flows, extensions, DSL builders, and Gradle DSL. Use when writing, reviewing, refactoring, or designing Kotlin code.
Extract coding best practices from PR review comments and codebase analysis to generate .claude/best-practices/ documentation.
All outputs are saved to .claude/pr-review-comments/.
For regular updates - fast and tracks state:
cd plugin/skills/best-practices-extractor
bash scripts/incremental_update.sh OWNER REPO_NAME
First run does full extraction; subsequent runs fetch only new PRs.
Output: .claude/pr-review-comments/{repo}_inline_comments.ndjson
For first-time setup or comprehensive analysis:
bash scripts/extract_pr_comments.sh REPO_NAME
Output: .claude/pr-review-comments/{repo}_inline_comments.ndjson
Organize extracted comments by directory structure:
bash scripts/sort_comments_by_filetree.sh .claude/pr-review-comments/{repo}_inline_comments.ndjson
Output: .claude/pr-review-comments/sorted/
After extracting comments:
.claude/best-practices/ files.claude/best-practices/
├── README.md # Index
├── naming-conventions.md
├── error-handling.md
├── type-safety.md
├── testing.md
└── ...
Each guideline should include:
## [Number]. [Title]
**Guideline:** [Clear statement]
**Why:** [Impact explanation]
**Example:**
```typescript
// Good
{example}
// Bad
{counter_example}
Source: PR #{number}
## Prerequisites
- **GitHub CLI (`gh`)**: Authenticated - check with `gh auth status`
- **jq**: JSON processor - check with `jq --version`
## Integration
This skill **generates** best practices. The `code-reviewer` agent and `/4_review` command **validate** against them.
Workflow:
1. Extract PR comments (this skill)
2. Analyze and generate `.claude/best-practices/`
3. Reviews automatically validate against best practices
## Additional Resources
- **`references/default-categories.md`** - Example category definitions
- **`references/scripts-guide.md`** - Detailed script documentation