Loading...
Loading...
Run Intent validation and sync checks. Triggers intent-validate and intent-sync agents. Use /intent-check for full check, or /intent-check --validate/--sync for specific checks.
npx skill4agent add arcblock/idd intent-check/intent-check [options]
↓
┌───────────────────────────────────┐
│ Determine check scope │
│ - Specify path or current directory│
│ - Single module or entire project │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Call intent-validate agent │
│ → Format compliance report │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Call intent-sync agent │
│ → Code consistency report │
└─────────────┬─────────────────────┘
↓
┌───────────────────────────────────┐
│ Aggregate report │
│ - Issue list │
│ - Fix suggestions │
│ - Action items │
└───────────────────────────────────┘/intent-check/intent-check src/core//intent-check --validate/intent-check --sync/intent-check --all/intent-check --git-diff origin/main# Intent Check Report
> Check Time: 2026-01-19 14:30
> Check Scope: src/core/
## Overview
| Check Item | Status | Number of Issues |
|--------|------|--------|
| Format Validation | ⚠️ | 3 |
| Code Sync | ❌ | 5 |
## Format Issues (intent-validate)
### ⚠️ Warnings
1. `src/core/intent/INTENT.md:45`
- Missing ASCII structure diagram
2. `src/core/intent/INTENT.md:78`
- API definition lacks return value description
### ❌ Errors
1. `src/core/intent/INTENT.md:12`
- Section tag syntax error: `::: lock` → `::: locked`
## Sync Issues (intent-sync)
### Newly Added Not Documented
| API | File | Suggestion |
|-----|------|------|
| `getChamberStats()` | chamber.js:89 | Add to Intent |
### Signature Mismatch
```diff
# deleteChamber
- Intent: deleteChamber(app, name)
+ Code: deleteChamber(app, name, options)| Rule | Location | Description |
|---|---|---|
| Direct path concatenation prohibited | routes/apps.js:45 | Should use chamber.getPath() |
getChamberStats()deleteChamber
## Exit Codes
| Code | Meaning |
|----|------|
| 0 | All passed |
| 1 | Has warnings |
| 2 | Has errors |
Can be used for CI/CD integration:
```bash
/intent-check || exit 1/intent-init # Initialize
↓
/intent-interview # Create Intent
↓
/intent-review # Approve
↓
[Development Implementation]
↓
/intent-check # ← Check (this command)
↓
Fix issues or update Intent
↓
/intent-check # Recheck until passed