# Nacos Config

> Nacos configuration operation skill with guarded read, create, update, delete, snapshot, publish, and runtime verification workflow. Use when users ask an agent to inspect or change Nacos dataIds while preserving rollback evidence and redacting secrets.

- Skill: `phperkael/nacos-config` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add phperkael/nacos-config`
- Raw SKILL.md: https://api.skillmd.com/api/skills/phperkael/nacos-config/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: PHPerKael (https://skillmd.com/u/phperkael)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/phperkael/nacos-config

---


# Nacos Config

Use this skill for Nacos configuration reads and guarded writes.

Configuration writes can change runtime behavior. Treat them as higher risk than log or database reads.

## Required Inputs

Before operating Nacos, identify:

- environment
- namespace or tenant
- group
- dataId
- target key path
- affected workload
- reload or restart requirement

For writes, also identify old value, new value, rollback value, and verification method.

## Workflow

1. Confirm the target environment and workload.
2. Discover actual Nacos settings from workload env or startup config where possible.
3. Connect through the approved path for the environment, commonly `kubectl port-forward`.
4. Read the target dataId.
5. For writes, snapshot the dataId before editing.
6. Make the smallest possible change.
7. Publish create, update, or delete only after reviewing the diff.
8. Re-read Nacos after publishing.
9. Verify runtime effect through workload logs, runtime config endpoint, reload signal, restart, or decisive behavior.
10. Report evidence and rollback path.

## Safety Rules

- Do not publish config without a snapshot.
- Do not delete a dataId unless deletion is explicitly requested.
- Do not summarize secrets or full credential-bearing config.
- Do not treat successful publish as successful runtime load.
- Do not change unrelated formatting or reorder unrelated keys.

## Output

Include:

- environment
- tenant, group, and dataId
- key changed or deleted
- old value summary and new value summary, redacted where needed
- snapshot path
- verification evidence
- rollback path

## References

Read [commands.md](./references/commands.md) for command templates.

