Skip to content
Testing
Command

/post-edit

Execute post-edit processing including formatting, validation, and memory updates.

From plugin
agentic-qe
534149 skills169 agents149 commands1 MCP
> /plugin marketplace add proffesor-for-testing/agentic-qe
> /plugin install agentic-qe-fleet@agentic-qe

Command definition

post-edit.md

hook post-edit

Execute post-edit processing including formatting, validation, and memory updates.

Usage

npx ruflo@3.76.0 hook post-edit [options]

Options

  • `--file, -f <path>` - File path that was edited
  • `--auto-format` - Automatically format code (default: true)
  • `--memory-key, -m <key>` - Store edit context in memory
  • `--train-patterns` - Train neural patterns from edit
  • `--validate-output` - Validate edited file

Examples

Basic post-edit hook

npx ruflo@3.76.0 hook post-edit --file "src/components/Button.jsx"

With memory storage

npx ruflo@3.76.0 hook post-edit -f "api/auth.js" --memory-key "auth/login-implementation"

Format and validate

npx ruflo@3.76.0 hook post-edit -f "config/webpack.js" --auto-format --validate-output

Neural training

npx ruflo@3.76.0 hook post-edit -f "utils/helpers.ts" --train-patterns --memory-key "utils/refactor"

Features

Auto Formatting

  • Language-specific formatters
  • Prettier for JS/TS/JSON
  • Black for Python
  • gofmt for Go
  • Maintains consistency

Memory Storage

  • Saves edit context
  • Records decisions made
  • Tracks implementation details
  • Enables knowledge sharing

Pattern Training

  • Learns from successful edits
  • Improves future suggestions
  • Adapts to coding style
  • Enhances coordination

Output Validation

  • Checks syntax correctness
  • Runs linting rules
  • Validates formatting
  • Ensures quality

Integration

This hook is automatically called by Claude Code when:

  • After Edit tool completes
  • Following MultiEdit operations
  • During file saves
  • After code generation

Manual usage in agents:

# After editing files
npx ruflo@3.76.0 hook post-edit --file "path/to/edited.js" --memory-key "feature/step1"

Output

Returns JSON with:

{
  "file": "src/components/Button.jsx",
  "formatted": true,
  "formatterUsed": "prettier",
  "lintPassed": true,
  "memorySaved": "component/button-refactor",
  "patternsTrained": 3,
  "warnings": [],
  "stats": {
    "linesChanged": 45,
    "charactersAdded": 234
  }
}

See Also

  • `hook pre-edit` - Pre-edit preparation
  • `Edit` - File editing tool
  • `memory usage` - Memory management
  • `neural train` - Pattern training
Read more
@proffesor-for-testing
Ships withagentic-qe

Quality engineering tools for your coding agent. Generate tests, investigate coverage gaps, analyze flaky behavior and coordinate quality checks across the software lifecycle. Keep the findings close to the code and use them to make a better quality decision.

534119 skills169 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
534
Star history of proffesor-for-testing/agentic-qe on GitHub, a chart by star-history.com

Other commands on agentic-qe.

More commands from other plugins.

bkit

bkit

Command

bkit plugin help - Show all available bkit functions. Workaround for skills autocomplete issue. Use "/bkit" or just type "bkit…

bkit6d605
@popup-studio-ai@popup-studio-aiInstall Command
review

review

Command

Open the Canary session viewer and triage a recorded session.

canary4w500
@0xnyn@0xnynInstall Command