agentsclimarketplace

Uips config tree

Skill cprima-agents/cpm-agent-skills/skills/uips-config-tree

Install
npx -y skills add cprima-agents/cpm-agent-skills --skill uips-config-tree

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Generate a typed C# CodedConfig class and a UiPath clipboard snippet from a REFramework Config.xlsx. Use when a developer wants to replace dictionary-based settings lookups with strongly-typed C# properties in a UiPath REFramework project. Triggers on: typed config, CodedConfig, ConFormMold, Config.xlsx to class, typed settings, REFramework config, InitAllSettings typed, strongly-typed config.

The file declares its own license as Apache-2.0. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.5 KB, ~1.0k tokens by cl100k_base, as published. Nobody here has run it

UiPath REFramework — Typed Config Class Generator

Four phases: Initialize (guard + detect), Generate (agent runs all file changes), Implement (user reloads Studio), Finalize (TestCase patched automatically).

Initialize

Verify the working directory is a REFramework project, then resolve build variables. Abort if either file check fails.

# Both must be present — abort if either is missing
test -f Framework/InitAllSettings.xaml
ls Data/Config*.xlsx
CheckPathAbsence means
REFramework indicatorFramework/InitAllSettings.xamlNot a REFramework project — skill does not apply
Config inputData/Config*.xlsxNothing to generate from — ask user for the file location

Resolve DOTNET, ASSEMBLY, and CONFIG from project.json:

eval $(uv run config-tree detect)
echo "DOTNET=$DOTNET  ASSEMBLY=$ASSEMBLY  CONFIG=$CONFIG"
UiPath.System.ActivitiesDOTNET
[25.*]net8
[22.*] / [23.*] / [24.*]net6
[21.*] and belownot supported — aborts

Generate

Run all of the following in order. Each step is idempotent.

# Generate Lib/Config.cs
uv run config-tree generate "$CONFIG" --generate-tostring --dotnet-version "$DOTNET" > Lib/Config.cs

# Add UiPath.CodedWorkflows to project.json if absent
uv run config-tree patch-project

# Generate LoadTypedConfig.xaml clipboard snippet
uv run config-tree generate "$CONFIG" --generate-tostring --dotnet-version "$DOTNET" --output-xaml LoadTypedConfig.xaml

# Patch Framework/InitAllSettings.xaml
uv run config-tree patch-init-settings --assembly "$ASSEMBLY" --xaml LoadTypedConfig.xaml

# Patch Tests/TestCase_InitAllSettings.xaml
uv run config-tree patch-testcase --assembly "$ASSEMBLY"

Implement

Tell the user:

Generate is complete. Close the project and re-open it in Studio so Studio restores the new UiPath.CodedWorkflows dependency. The workflow will compile and run once the package restore finishes.

After re-opening, Studio will show an "Import Arguments" prompt on the InvokeWorkflowFile in TestCase_InitAllSettings.xaml — this is expected. The patcher has already set the out_ConFigTree binding to [ConFigTree]; clicking Import Arguments simply confirms it.

Finalize

patch-testcase adds to Tests/TestCase_InitAllSettings.xaml:

  • xmlns:cc and Cpmf.Config namespace/assembly imports
  • ConFigTree typed variable on the root sequence
  • out_ConFigTree OutArgument binding on InvokeWorkflowFile
  • Two identity assertions (IsNot Nothing, GetType().Name = "CodedConfig")

Property-value assertions (ConFigTree.Settings.X = expected) depend on the project's test fixture data and must be added manually after verifying the generated typed class against Data/Config_Test.xlsx.

patch-testcase is idempotent — re-running it on an already-patched file preserves manually-added assertions. If the project files are reset from the template, all manual additions are lost (the template does not include them).

Key CLI flags

FlagDefaultPurpose
--output-xaml PATHWrite ClipboardData XAML snippet to file
--generate-tostringoffAdd ToString() override to each class
--generate-tojsonoffAdd ToJson() / FromJson() helpers
--readonlyoffUse { get; init; } instead of { get; set; }
--uipath-var NAMEout_ConFigTreeVariable name used in the XAML snippet

Gotchas

  • If Studio shows "Please import the UiPath.CodedWorkflows package", re-run the Generate phase — the dependency is missing from project.json.
  • The project must be reloaded in Studio after Generate completes — UiPath.CodedWorkflows is a new dependency and Studio must restore it before it can compile.
  • [WARN] on stderr means a sheet had an unrecognised header row; output is still generated best-effort.

What ships with it: 17 files

62.4 KB alongside SKILL.md, 11 of them executable

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.