Merge upstream origin/main (v2.60.0) with fork customizations preserved
Incorporates 78 upstream commits while preserving all local fork intent: - Keep deleted: dhh-rails, kieran-rails, dspy-ruby, andrew-kane-gem-writer (FastAPI pivot) - Merge both: ce-review (zip-agent-validator + design-conformance-reviewer wiring), kieran-python-reviewer (upstream pipeline + FastAPI conventions), ce-brainstorm/ce-plan/ce-work (upstream improvements + deploy wiring checks), todo-create (upstream template refs + assessment block), best-practices-researcher (upstream rename + FastAPI refs) - Accept remote: 142 remote-only files, plugin.json, README.md - Keep local: 71 local-only files (custom agents, skills, commands, voice) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
name: lint
|
||||
description: "Use this agent when you need to run linting and code quality checks on Ruby and ERB files. Run before pushing to origin."
|
||||
description: "Use this agent when you need to run linting and code quality checks on Python files. Run before pushing to origin."
|
||||
model: haiku
|
||||
color: yellow
|
||||
---
|
||||
@@ -8,9 +8,12 @@ color: yellow
|
||||
Your workflow process:
|
||||
|
||||
1. **Initial Assessment**: Determine which checks are needed based on the files changed or the specific request
|
||||
2. **Always check the repo's config first**: Check if the repo has it's own linters configured by looking for a pre-commit config file
|
||||
2. **Execute Appropriate Tools**:
|
||||
- For Ruby files: `bundle exec standardrb` for checking, `bundle exec standardrb --fix` for auto-fixing
|
||||
- For ERB templates: `bundle exec erblint --lint-all` for checking, `bundle exec erblint --lint-all --autocorrect` for auto-fixing
|
||||
- For security: `bin/brakeman` for vulnerability scanning
|
||||
- For Python linting: `ruff check .` for checking, `ruff check --fix .` for auto-fixing
|
||||
- For Python formatting: `ruff format --check .` for checking, `ruff format .` for auto-fixing
|
||||
- For type checking: `mypy .` for static type analysis
|
||||
- For Jinja2 templates: `djlint --lint .` for checking, `djlint --reformat .` for auto-fixing
|
||||
- For security: `bandit -r .` for vulnerability scanning
|
||||
3. **Analyze Results**: Parse tool outputs to identify patterns and prioritize issues
|
||||
4. **Take Action**: Commit fixes with `style: linting`
|
||||
|
||||
Reference in New Issue
Block a user