linting-workflow
When working with code that has linting or type errors, follow this specific workflow: 1. **First attempt automatic fixes**
Install / Use
npx skills add noriaki/re-stock-appInstalls into whichever agent you are using.
.clinerules
Cline rules
Quality Score
Category
AutomationSupported Platforms
Tags
Skill content
View source on GitHubLinting and Code Quality Workflow
Process for Handling Code Errors
When working with code that has linting or type errors, follow this specific workflow:
-
First attempt automatic fixes
- Always run
yarn lint:fixbefore manually editing files - For most linting issues, automatic fixes are preferred over manual edits
- Only manually edit files for errors that cannot be automatically fixed
- Always run
-
Handle TypeScript errors
- Run
yarn typecheckto identify type issues - First try resolving errors by using correct types rather than type assertions
- Use proper type narrowing instead of type casting when possible
- Run
-
Verify changes with tests
- After fixing lint/type errors, always run tests with
yarn test - Ensure new fixes don't break existing functionality
- After fixing lint/type errors, always run tests with
-
Complete verification cycle
- Use
yarn checkto run all verification steps in sequence - This combined command ensures all quality checks pass
- Use
When to Try Each Approach
- ESLint errors: Always try
yarn lint:fixfirst - TypeScript errors: Check if they can be resolved with correct typing
- Test failures: Review the test output carefully before making changes
Responding to User Questions
When a user asks you to fix code issues:
- First recommend running the automatic fix: "Let me try running
yarn lint:fixfirst." - If automatic fixes don't resolve all issues, explain: "Some issues require manual fixes. Let me address those now."
- After making changes, always suggest verification: "Let's verify these changes with
yarn check."
Documentation
Always maintain documentation of quality processes:
- Update CLAUDE.md when quality processes change
- Run
yarn build-promptafter adding or modifying .cline/rules/ files - Inform the user of updated quality procedures
Related Skills
Agent-Reach
84.4kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.0k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
nanobot
48.5kUltra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat apps
Scrapling
82.8k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ
Security Score
Audited on Invalid Date
