Save a sequence of recent work as a reusable slash command
Save a sequence of recent tool uses as a reusable slash command. Use this to automate repetitive workflows you've just completed.
/plugin marketplace add h315uk3/as_you/plugin install h315uk3-as-you@h315uk3/as_you<workflow-name>Save a sequence of recent work as a reusable slash command.
Analyze Recent Work
Gather Requirements Ask the user:
update-docs, qa-check)specific: Save exact file paths and commands as-isgeneric: Generalize patterns (e.g., *.rs → "Rust files", specific dir → "project root")Generate Slash Command
Save as commands/{command-name}.md:
<!-- Description -->
Execute the following steps:
1. [Step 1 description]
- Specific operations
- Tool usage if needed
2. [Step 2 description]
...
If errors occur, report details and confirm before proceeding to next step.
Confirmation Present the generated command to the user and ask if modifications are needed
Session Restart Required After successfully saving the command, output the following message:
✅ Saved new command: /{command-name}
⚠️ To use this command, you must restart the session:
- Type `/exit` and press Enter
- Then resume the session or start a new one
The new command will be available after restart.
Recent work:
↓ After saving
commands/qa-check.md:
Run quality checks on the current project.
1. Identify project type and verify project structure
2. Run formatter according to project conventions
3. Run linter with strict settings
4. Execute test suite
5. Report results (details if errors, success message otherwise)
Usage: /qa-check
AskUserQuestion tool