Salesforce metadata review skill

From Raishin/vanguard-frontier-agentic · View interactive version

Salesforce metadata review skill is an AI agent skill from the GitHub repository Raishin/vanguard-frontier-agentic. Use this skill when pasted or exported Salesforce metadata must be reviewed for over-customization, unused fields, hardcoded IDs, and deprecated metadata types. Covers: objects, fields, layouts, page layouts, Lightning record pages, profiles, permission sets, and sharing rules. Trigger phrases: "rev

How to use this skill

Skill file

Salesforce Metadata Review Skill

Purpose

This skill reviews pasted or exported Salesforce metadata for quality,

maintainability, security, and compliance indicators. It flags

over-customization, unused fields, hardcoded IDs, and deprecated metadata

types, and produces a structured findings report. It does not access live

orgs and does not authorize changes.

When to use

sharing rules) needs review before a release.

When not to use

Minimum payload (required inputs)

layout XML, profile XML, permission set XML, sharing rule XML, or equivalent.

Workflow

  1. Object and field review
  1. Layout review

: flag components using hardcoded record IDs or hardcoded URLs.

  1. Profile and permission set review
  1. Sharing rule review
  1. Deprecated metadata types

(deprecated),

legacy assignment rules (where Flow equivalent exists), Visualforce pages in Lightning context

without Lightning migration plan.

  1. Hardcoded ID detection

field defaults, formula fields, validation rule expressions, layout XML.

Evidence requirements

Output format

metadata_review_findings:
  objects_and_fields:
    - finding: [description]
      severity: Critical | High | Medium | Low
      evidence: [what in the metadata supports this]
      recommendation: [brief]
  layouts:
    - finding: [description]
      severity: [tier]
      evidence: [...]
      recommendation: [...]
  profiles_and_permission_sets:
    - finding: [description]
      severity: [tier]
      evidence: [...]
      recommendation: [...]
  sharing_rules:
    - finding: [description]
      severity: [tier]
      evidence: [...]
      recommendation: [...]
  deprecated_metadata_types:
    - type: [name]
      usage: [where found]
      migration_path: [recommended replacement]
  hardcoded_ids:
    - location: [metadata element]
      pattern: [describe pattern, do not repeat the ID value]
      recommendation: [use Custom Metadata, Custom Setting, or label instead]

summary:
  total_findings: [count]
  critical_count: [count]
  high_count: [count]
escalation_gates_fired: [from salesforce-risk-taxonomy, or "none"]
assumptions: [list]
missing_evidence: [what would improve the review]

Redaction rules

Privilege / data handling rules

Handoff rules

salesforce-flow-automation-review-skill (deprecated automation findings),

salesforce-org-assessment-skill (if full posture context is needed).

Audit log fields

Stop conditions

Security notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.