Skip to content

Deprecate configure skills - #526

Draft
xsh310 wants to merge 1 commit into
xshen/skill-per-agent-removefrom
xshen/skill-configure-deprecation
Draft

Deprecate configure skills#526
xsh310 wants to merge 1 commit into
xshen/skill-per-agent-removefrom
xshen/skill-configure-deprecation

Conversation

@xsh310

@xsh310 xsh310 commented Sep 8, 2026

Copy link
Copy Markdown
Collaborator

What

Marks ucode configure skills deprecated now that ucode skill add / ucode skill remove --mcp cover its behavior with per-agent scoping. The command keeps working; only the guidance changes.

How

  • The command is registered with deprecated=True so its help is flagged.
  • With a --location, it prints a note pointing at ucode skill add (download or add MCP scopes) and ucode skill remove --mcp (remove MCP scopes).
  • With no --location, it registers the utility-tools-only connection (which has no replacement yet), so its note says that bare setup remains supported.
  • Dispatch is unchanged, so existing invocations keep functioning.

Tests

  • test_cli.py: configure skills --location a.b --mcp warns "deprecated" and still dispatches configure_skills_mcp_command(["a.b"]); the bare form explains the utility-tools-only setup remains supported and still dispatches configure_skills_mcp_command([]).

uv run pytest tests/test_mcp.py tests/test_cli.py tests/test_lint.py is green.

Manual verification (installed build)

Confirmed with the installed build (0.1.0+91.g5c0dc1e) that configure skills is flagged deprecated and still works.

Check Result
ucode configure skills --help Header shows (deprecated)
ucode configure skills --location dep.test --mcp Prints "ucode configure skills is deprecated. Use ucode skill add ..." then registers the scope (both agents set to dep.test)

The bare no-location form's "utility-tools-only setup remains supported" message is covered by the unit test in this PR.

Stacking

Fifth and last in the stacked per-agent skills series, based on xshen/skill-per-agent-remove (#525). Reviewing the diff against that base shows just this change. It rebuilds behavior originally designed by Arthur Jenoudet on the current per-client-map state model.

This pull request and its description were written by Isaac.

@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from 18c4870 to 5c0dc1e Compare September 8, 2026 05:43
@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from 5c0dc1e to e39ce37 Compare September 8, 2026 18:25
@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from e39ce37 to 2575e96 Compare September 8, 2026 19:09
@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from 2575e96 to 8d30017 Compare September 8, 2026 22:12
@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from 8d30017 to 9fadcf7 Compare September 8, 2026 22:16
@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from 9fadcf7 to 2034d73 Compare September 8, 2026 22:58
Mark `ucode configure skills` deprecated and print a note steering developers to
`ucode skill add` (download or add MCP scopes) and `ucode skill remove --mcp`
(remove MCP scopes). The bare no-location form registers the utility-tools-only
connection, which has no replacement yet, so its note says it remains supported.
The command keeps working; only the guidance changes.

Co-authored-by: Arthur Jenoudet <arthur.jenoudet@databricks.com>
Co-authored-by: Isaac <no-reply@databricks.com>
@xsh310
xsh310 force-pushed the xshen/skill-configure-deprecation branch from 2034d73 to 6083627 Compare September 8, 2026 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant