Consult Guidelines
Researchconsult-guidelinesConsult Guidelines is an Agent Skill for research published in the majiayu000/claude-skill-registry repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Review relevant guidelines before starting a task
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/majiayu000/claude-skill-registry/blob/HEAD/skills/design/consult-guidelines-peabody124-reproducible-agent-e-913a7674/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/consult-guidelines, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
Overview
Read and internalize the coding guidelines relevant to the current task. This ensures consistent application of standards across all work.
Parameters
- task_type (optional): "python", "git", "refactor", "debug", "review", or "all"
Steps
1. Determine Relevant Guidelines
Based on task type, identify which guidelines to review.
Mapping:
python→ coding-standards.md, python-standards.mdgit→ git-workflow.mdrefactor→ coding-standards.md, anti-patterns.mddebug→ coding-standards.md (TDD section)review→ anti-patterns.md, coding-standards.mdall→ all guidelines
Constraints:
- You MUST read
guidelines/coding-standards.mdfor any code changes - You MUST read
guidelines/python-standards.mdfor Python work - You MUST read
guidelines/git-workflow.mdbefore any commits - You SHOULD read
guidelines/anti-patterns.mdbefore code review or refactoring
2. Summarize Key Points
Extract the 3-5 most relevant rules for the current task.
Constraints:
- You MUST highlight any MUST/MUST NOT constraints
- You SHOULD note any task-specific gotchas
3. Apply During Work
Keep these guidelines in mind while executing the task. Reference them when making decisions.
Constraints:
- You MUST cite the relevant guideline when it influences a decision
- You SHOULD flag if you discover a case not covered by guidelines
Examples
User: "I'm about to refactor the auth module" Agent: Reads coding-standards.md and anti-patterns.md, summarizes DRY principles and slop patterns to avoid, proceeds with refactor while citing guidelines.
User: "/consult-guidelines python" Agent: Reviews coding-standards.md and python-standards.md, extracts key rules about ruff, type hints, and path management.