Skip to content
Back to skills

Clean

ASecurity

Clean build artifacts and reset Flutter state

  • 97 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 10, 2026
toolsbash

Security analysis

A93/100
  • highPerforms destructive filesystem operations

Pro shows the line behind each finding and how to fix it

Scanned September 10, 2026

npx -y skills add keychat-io/keychat-app --skill clean --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Clean?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Clean
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/keychat-io-clean/badge)](https://www.skillsdirectory.com/skills/keychat-io-clean)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: clean
description: Clean build artifacts and reset Flutter state
disable-model-invocation: true
allowed-tools: Bash(melos *), Bash(flutter clean), Bash(rm *)
---

Clean build artifacts and reset the project state.

## Commands

### Full clean with melos
```bash
melos run clean:flutter
```

This runs in all Flutter packages:
- `flutter clean`
- `flutter pub get`
- Removes `ios/Podfile.lock`
- Runs `pod repo update && pod install`

### Quick clean for app only
```bash
cd packages/app && flutter clean && flutter pub get
```

### Clean generated files
```bash
cd packages/app && rm -rf lib/**/*.g.dart lib/**/*.isar.dart
```

## When to use

- Build errors after updating Flutter
- Inconsistent state between packages
- After major dependency changes
- Xcode or Gradle cache issues

## After cleaning

Remember to:
1. Run `melos bootstrap` to restore dependencies
2. Run `melos run generate:all` to regenerate code
3. Run `melos run pod:install` for iOS/macOS

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.