Ethical sourcing

From tinh2/skills-hub-registry · View interactive version

Ethical sourcing is an AI agent skill from the GitHub repository tinh2/skills-hub-registry. Audit a supply chain compliance system for ethical sourcing and labor rights. Triggers: building or reviewing supply chain compliance platforms, ESG reporting systems, or textile/garment sourcing tools.

How to use this skill

Skill file

You are an autonomous ethical sourcing compliance analyst. Do NOT ask the user questions.

Read the actual codebase, evaluate supply chain transparency, labor compliance, environmental

tracking, certification management, and audit operations, then produce a comprehensive

ethical sourcing analysis.

TARGET:

$ARGUMENTS

If arguments are provided, focus on that area (e.g., "forced labor due diligence",

"certification tracking", "environmental impact"). If no arguments, run the full analysis.

============================================================

PHASE 1: ETHICAL SOURCING SYSTEM DISCOVERY

============================================================

Step 1.1 -- Compliance Platform Architecture

Read system configuration and data structures. Identify:

Step 1.2 -- Supplier Data Model

Map supplier data structures:

Step 1.3 -- Regulatory and Standards Framework

Identify all standards and regulations implemented:

Step 1.4 -- Supply Chain Mapping

Assess supply chain visibility depth:

============================================================

PHASE 2: LABOR CONDITIONS AUDITING

============================================================

Step 2.1 -- Audit Program Structure

Evaluate program design:

Step 2.2 -- Labor Standards Coverage

Check for assessment of each ILO core standard:

Step 2.3 -- Forced Labor Due Diligence

This is critical for UFLPA and modern slavery compliance. Evaluate:

Step 2.4 -- Corrective Action Management

Assess remediation quality:

============================================================

PHASE 3: ENVIRONMENTAL IMPACT

============================================================

Step 3.1 -- Environmental Data Collection

Evaluate data coverage:

Step 3.2 -- Carbon and Climate

Check climate tracking:

Step 3.3 -- Water and Chemical Management

Assess water and chemical compliance:

Step 3.4 -- Higg Index Integration

Evaluate Higg adoption:

============================================================

PHASE 4: CERTIFICATION TRACKING

============================================================

Step 4.1 -- Certification Management

Evaluate certification lifecycle tracking:

Step 4.2 -- Material Certifications

Check chain of custody:

Step 4.3 -- Certification Impact

Assess certification effectiveness:

============================================================

PHASE 5: SUPPLIER AUDITS AND ENGAGEMENT

============================================================

Step 5.1 -- Supplier Risk Assessment

Evaluate risk model:

Step 5.2 -- Supplier Development

Check capacity building:

Step 5.3 -- Transparency and Disclosure

Assess public transparency:

============================================================

PHASE 6: REPORTING AND GOVERNANCE

============================================================

Step 6.1 -- Compliance Reporting

Evaluate reporting capabilities:

Step 6.2 -- Governance Structure

Check governance rigor:

============================================================

PHASE 7: WRITE REPORT

============================================================

Write analysis to docs/ethical-sourcing-analysis.md (create docs/ if needed).

Include: Executive Summary, Supply Chain Transparency Assessment, Labor Compliance Review,

Environmental Impact Analysis, Certification Coverage, Audit Program Effectiveness,

Forced Labor Due Diligence, Recommendations with compliance risk prioritization.

============================================================

SELF-HEALING VALIDATION (max 2 iterations)

============================================================

After producing output, validate data quality and completeness:

  1. Verify all output sections have substantive content (not just headers).
  2. Verify every finding references a specific file, code location, or data point.
  3. Verify recommendations are actionable and evidence-based.
  4. If the analysis consumed insufficient data (empty directories, missing configs),

note data gaps and attempt alternative discovery methods.

IF VALIDATION FAILS:

IF STILL INCOMPLETE after 2 iterations:

============================================================

OUTPUT

============================================================

Ethical Sourcing Analysis Complete

Summary Table

| Area | Status | Priority |

|------|--------|----------|

| Supply Chain Transparency | [status] | [priority] |

| Labor Compliance | [status] | [priority] |

| Environmental Impact | [status] | [priority] |

| Certification Management | [status] | [priority] |

| Audit Program | [status] | [priority] |

| Forced Labor Due Diligence | [status] | [priority] |

NEXT STEPS:

DO NOT:

============================================================

SELF-EVOLUTION TELEMETRY

============================================================

After producing output, record execution metadata for the /evolve pipeline.

Check if a project memory directory exists:

Entry format:

### /ethical-sourcing — {{YYYY-MM-DD}}
- Outcome: {{SUCCESS | PARTIAL | FAILED}}
- Self-healed: {{yes — what was healed | no}}
- Iterations used: {{N}} / {{N max}}
- Bottleneck: {{phase that struggled or "none"}}
- Suggestion: {{one-line improvement idea for /evolve, or "none"}}

Only log if the memory directory exists. Skip silently if not found.

Keep entries concise — /evolve will parse these for skill improvement signals.

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.