一键导入
claude-improve-config
Self-reflect on the current session to identify mistakes and propose improvements to .claude configuration (CLAUDE.md, hooks, skills).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Self-reflect on the current session to identify mistakes and propose improvements to .claude configuration (CLAUDE.md, hooks, skills).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to "define a feature", "create a BaseFeature class", "track feature versions", "set up metadata store", "field-level lineage", "FieldSpec", "FeatureDep", "run metaxy CLI", "metaxy migrations", "metaxy lock", "lock features", "external features", "multi-environment", "monorepo features", "enable Map datatype", "enable_map_datatype", or needs guidance on metaxy feature definitions, versioning, metadata stores, CLI commands, testing patterns, feature locking, Map datatype configuration, or multi-environment configuration.
This skill should be used when the user asks to "add a tach module", "configure tach layers", "define module boundaries", "set up interfaces", "run tach check", "check module boundaries", "tach sync", "tach show", "deprecate a dependency", "tach-ignore", "unchecked modules", "tach test", "skip tests with tach", "configure tach.toml", "source roots", "forbid circular dependencies", "enforce module boundaries", "set up architectural layers", or "tach init".
Use Sybil for testing code examples in documentation and docstrings. Covers pytest integration, parsers, skip directives, and namespace management.
Effectively use Narwhals to write dataframe-agnostic code that works seamlessly across multiple Python dataframe libraries. Write correct type annotations for code using Narwhals.
Use syrupy for pytest snapshot testing to ensure the immutability of computed results, manage snapshots, customize serialization, and handle complex data structures with built-in matchers and filters.
Write YAML front matter for documentation pages with appropriate titles and descriptions for social cards.
| name | claude-improve-config |
| description | Self-reflect on the current session to identify mistakes and propose improvements to .claude configuration (CLAUDE.md, hooks, skills). |
Analyze the current session for errors, mistakes, or inefficiencies and propose improvements to the .claude configuration to prevent similar issues in the future.
/claude-improve-configSessionEnd hookReview the conversation for:
Rate severity:
Only propose changes for critical or moderate issues.
Changes can include:
CLAUDE.md Updates:
New Hooks:
New Skills:
Present proposals clearly:
## Session Reflection
### Issues Identified
1. **[Critical/Moderate]** Brief description of the issue
- What happened: ...
- Why it happened: ...
- Impact: ...
### Proposed Changes
#### Change 1: [Type - CLAUDE.md/Hook/Skill]
**Rationale:** Why this change prevents the issue
**Implementation:**
[Show the exact changes to make]
#### Change 2: ...
Issue: Claude claimed tests passed without running them.
Proposal: Add to CLAUDE.md:
**Test verification**: Never claim tests pass without showing actual test output. Always run `uv run pytest` with the specific test file before marking test-related tasks complete.
Issue: Code was submitted with lint errors multiple times.
Proposal: Add PostToolUse hook for Write/Edit:
{
"matcher": "Write|Edit",
"hooks": [
{
"type": "command",
"command": "ruff check --select=E,F $TOOL_INPUT.file_path 2>/dev/null || true"
}
]
}
Issue: PR was created against wrong base branch.
Proposal: Add to CLAUDE.md:
**Pull requests**: Always verify the target branch before creating a PR. For this project, PRs should target `main` unless explicitly specified otherwise.