Skill v1.0.1
currentAutomated scan100/100+2 new
version: "1.0.1" name: abpdev-maintenance description: >- Use AbpDevTools maintenance and utility commands such as clean, replace, tools/config, notifications, update, find-file, find-port, and ABP Studio switching. Use when the user wants repo cleanup, config-driven text replacement, process/port inspection, tool updates, or local tool-path setup.
abpdev maintenance
Use this skill for utility and maintenance commands outside the main run/migration/reference flows.
Covered commands
| Command | Purpose | |
|---|---|---|
abpdev clean | Delete bin, obj, node_modules, or configured folders recursively | |
abpdev clean config | Open clean configuration | |
abpdev replace | Run configured text replacements | |
abpdev replace config | Open replacement configuration | |
abpdev logs clear | Delete logs.txt for one or many projects | |
abpdev tools | Show configured external tool paths | |
abpdev tools config | Open tool path configuration | |
abpdev enable-notifications | Enable desktop notifications | |
abpdev disable-notifications | Disable desktop notifications | |
abpdev update | Check for AbpDevTools updates | |
abpdev update --apply | Self-update AbpDevTools | |
abpdev find-file | Search descendant or ascendant file paths by text | |
abpdev find-port | Find or kill processes using a port | |
abpdev abp-studio switch | Switch ABP Studio version/channel |
Global config location
%AppData%\abpdev
Useful files:
clean-configuration.ymlreplacements.ymltools-configuration.ymlnotifications.yml
clean
abpdev clean [working-directory]abpdev clean -sabpdev clean -i node_modules
Useful options:
-s,--soft-delete: send folders to recycle bin instead of hard delete-i,--ignore-path: skip matching paths
Default folders come from clean-configuration.yml and include:
binobjnode_modules
replace
abpdev replace <rule-name> -p <working-directory>abpdev replace all -p <working-directory>abpdev replace -iabpdev replace ConnectionStrings -f appsettings.json
Useful options:
-p,--path: working directory-i,--interactive: prompt for rule and/or file selection-f,--files: restrict matching files by partial name
Replacement rules are stored in replacements.yml.
Example shape:
ConnectionStrings:file-pattern: appsettings.jsonfind: Trusted_Connection=True;replace: User ID=SA;Password=yourStrong(!)Password;
tools
abpdev toolsabpdev tools config
This config stores executable names/paths such as:
dotnetabppowershellopenterminal
Use abpdev tools config if the user's shell, terminal, or ABP CLI binary lives in a non-default location.
logs clear
abpdev logs clear -p MyApp.HttpApi.Hostabpdev logs clear -p all --forceabpdev logs clear -i
Useful options:
-p,--project: select a project name, orall-i,--interactive: choose interactively-f,--force: delete without confirmation
Behavior:
- Finds runnable projects in the working directory
- Deletes
<project>/Logs/logs.txtwhen present - Can clear logs for every discovered project with
-p all
notifications
abpdev enable-notificationsabpdev disable-notificationsabpdev disable-notifications --uninstall
Notes:
- Supported on Windows and macOS
- On Windows, enabling notifications installs the
BurntToastPowerShell module --uninstallremovesBurntToastwhile disabling notifications
update
abpdev updateabpdev update --applyabpdev update --apply --yes
Notes:
abpdev updatechecks for a newer version--applylaunchesdotnet tool update -g AbpDevTools--yesskips the confirmation prompt
find-file
abpdev find-file appsettings.jsonabpdev find-file appsettings.json C:\src\MyAppabpdev find-file Directory.Build.props . -a
Notes:
- Default behavior searches descendants
-a,--ascendantsearches upward through parent folders instead
find-port
abpdev find-port 44307abpdev find-port 44307 --kill
Behavior:
- Shows processes using the port
- Can interactively inspect details, copy PID/path, open location, refresh, or kill
--killskips the menu and kills the found process(es) directly
ABP Studio switching
abpdev abp-studio switch 1.2.3abpdev abp-studio switch 1.2.3 -c stableabpdev abp-studio switch 1.2.3 -f
Useful options:
-c,--channel: release channel, defaults tostable-f,--force: re-download the package-i,--install-dir: override install directory-p,--packages-dir: override package cache directory
Behavior:
- Downloads the requested ABP Studio package from
abp.io - Uses
Update.exe apply --package <nupkg>to switch versions
Guidance for agents
- Use
clean -swhen the user wants safer cleanup. - Use
replace configbeforereplacewhen the needed replacement rule does not already exist. - Use
tools configbefore troubleshooting command-not-found issues withdotnet,abp, or terminal launch behavior. - Use
find-portwhen a dev port is occupied instead of asking the user to inspect processes manually.