personal-rules-management
Skill8 starsChanged 42 days agoApache-2.0View on GitHub
List, edit, consolidate, and delete personal-*.md steering rules. Use when the user asks "what personal rules do I have", "remove my pastel rule", "merge my UI rules", or similar lifecycle requests.
In this repository17 other files it gives its agents.
- AGENTSAGENTS.md
- amazon-bedrockSkill
- amazon-location-serviceSkill
- amazon-polly-generativeSkill
- aws-architecture-diagramSkill
- aws-diagram-htmlSkill
- aws-diagram-pngSkill
- aws-serverless-patternsSkill
- cdk-infrastructure-patternsSkill
- cognito-email-migrationSkill
- cognito-passkey-authSkill
- deploy-on-awsSkill
- email-template-renderingSkill
- mcp-tool-discoverySkill
- react-frontend-patternsSkill
- reinvent-stack-toolkitSkill
- testing-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
19 rules. About 0 are common, 12 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 33
When it was created (from ## Source footer)
- Distinctive: line 55
When the user wants to extend a rule:
- Distinctive: line 57
Read the existing file
- Very specific: line 61
Write changes (in place — never create personal-X-v2.md)
- Very specific: line 62
Update the ## Source footer with the modification reason
- Distinctive: line 66
When the user says "forget about X" / "remove that rule":
- Distinctive: line 69
If multiple match, list candidates and ask which one
- Distinctive: line 77
When the user has 2+ related personal rules (or count exceeds 10), offer consolidation:
- Distinctive: line 87
Write the new merged file FIRST, then delete the originals (atomicity — never leave the system half-merged)
- Distinctive: line 91
When the user asks "why isn't rule X being followed?":
- Very specific: line 93
Verify the file exists at ~/.kiro/steering/personal-X.md
- Very specific: line 94
Check the inclusion field — is it scoped to the current task?
- Very specific: line 99
Check for conflicts with inclusion: always base rules.
- Distinctive: line 104
When personal rule count exceeds 10, OR every 30 days when the user starts a session:
- Distinctive: line 113
NEVER auto-delete a personal rule without explicit confirmation
- Distinctive: line 114
NEVER modify a personal rule silently — always show diff first
- Very specific: line 115
NEVER commit personal rules to git (they're gitignored, but never git add steering/personal-*.md)
- Distinctive: line 116
If the user asks why their rule is "missing from the GitHub repo" — explain it's by design (gitignored, local-only)
- Distinctive: line 128
If detected, REFUSE to write the file and tell the user to rephrase the rule generically.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Personal Rules Management
Companion skill for steering/personal-rules-protocol.md. Use this when the user wants to inspect, edit, or remove their personal steering rules.
Triggers
The user says any of:
- "What personal rules do I have?"
- "List my personal rules"
- "Show me my personal steering"
- "Forget about the X rule" / "Remove my X rule"
- "Update my X preference"
- "Merge / consolidate my personal rules"
- "Why isn't rule X being followed?"
Listing
ls -la ~/.kiro/steering/personal-*.md 2>/dev/nullThen for each file, summarize:
- File name
- Inclusion filter (from frontmatter)
- One-sentence description
- When it was created (from
## Sourcefooter)
Format:
You have 3 personal rules:
1. personal-ui-style.md (fileMatch: **/*.{tsx,jsx,css,scss})
"Pastel colors + light theme in React UIs"
Created 2026-05-16 from explicit signal
2. personal-test-framework.md (auto)
"Default to pytest for Python tests"
Created 2026-05-17 from repetition
3. personal-deployment-prefs.md (always)
"Always include --profile flag in deploy.sh examples"
Created 2026-05-19 from explicit signalUpdating in Place
When the user wants to extend a rule:
- Read the existing file
- Show the user the current content
- Show the proposed diff
- Wait for confirmation
- Write changes (in place — never create
personal-X-v2.md) - Update the
## Sourcefooter with the modification reason
Removing
When the user says "forget about X" / "remove that rule":
- Find the matching file via fuzzy match on topic or filename
- If multiple match, list candidates and ask which one
- Show the file content one last time before deletion
- Confirm: "Delete
personal-X.md? This is permanent — I cannot undo it from inside this session." - On
yes,rm ~/.kiro/steering/personal-X.md - Confirm deletion
Consolidating
When the user has 2+ related personal rules (or count exceeds 10), offer consolidation:
- Identify related rules (e.g.,
personal-ui-color.md+personal-ui-spacing.md→personal-ui-style.md) - Propose the merged file:
- New filename
- New
inclusionfilter (broader if needed) - Combined body
- Combined
## Source(list all original triggers)
- Show the proposed merge to the user
- Wait for confirmation
- Write the new merged file FIRST, then delete the originals (atomicity — never leave the system half-merged)
Conflict Reporting
When the user asks "why isn't rule X being followed?":
- Verify the file exists at
~/.kiro/steering/personal-X.md - Check the
inclusionfield — is it scoped to the current task?always→ should always loadfileMatch→ only loads when matching files are open/editedauto→ only loads when keywords match the current taskmanual→ only loads when explicitly invoked
- Check for conflicts with
inclusion: alwaysbase rules. Personal still wins, but verify the rule actually contradicts (it might just be additive) - Report findings and suggest a fix (broaden inclusion, or move keywords into description)
Staleness Review
When personal rule count exceeds 10, OR every 30 days when the user starts a session:
- Scan all
personal-*.mdfiles - For each, note creation date from
## Source - Surface rules older than 60 days with: "Still want this rule?
personal-X.mdwas created on YYYY-MM-DD — confirm it still applies, or I can remove it." - User can
keep,remove, orupdateeach one
Boundaries
- NEVER auto-delete a personal rule without explicit confirmation
- NEVER modify a personal rule silently — always show diff first
- NEVER commit personal rules to git (they're gitignored, but never
git add steering/personal-*.md) - If the user asks why their rule is "missing from the GitHub repo" — explain it's by design (gitignored, local-only)
Privacy
Personal rule files are readable on-disk. Before writing OR updating any rule, check the body for credential-like patterns:
- AWS access keys (
AKIA[A-Z0-9]{16}or starting withASIA) - API tokens (
ghp_,sk-,pat_, etc.) - Email addresses, phone numbers, SSNs, addresses, full legal names tied to private accounts
- Database connection strings, JDBC URLs with credentials
- Private SSH or PGP keys
If detected, REFUSE to write the file and tell the user to rephrase the rule generically.
See Also
steering/personal-rules-protocol.md— the meta-rule that drives creationsteering/post-task-recommendations.md— rules for ending responses
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

