QMS Environmental Factor Skill: Completing ISO 9001 Environmental Factor Analysis and SWOT/PESTEL Output via an AI Agent

Preface

In ISO 9001 management systems, the identification of internal and external environmental factors is often scattered across Word documents, spreadsheets, and management review meeting minutes in various departments. Before an internal audit or management review, quality personnel frequently need to consolidate SWOT, PESTEL, risks, and opportunities, shuttling between spreadsheets, manually creating diagrams, and formatting PDFs. The Skill introduced below codifies the workflow of “factor classification → structured data → charts and reports” into SKILL.md and accompanying scripts, enabling Skills-capable Agents to follow the same set of steps rather than writing prompts from scratch each time.

What This Is

QMS Environment Analysis Skill (coordinate @engicool/qms-environment-analysis) is an enterprise-source Skill published by GongChengKe on SkillHub. The current version is 1.1.0, categorized under business-ops, tagged with requires_api_key=false. After installation, it generally does not depend on any additional API Key.

Official description: Internal and external environmental factor analysis and visualization based on the QMS framework; used for ISO 9001 quality management system internal audits/management reviews to identify opportunities and risks, develop improvement plans, and generate SWOT/PESTEL analysis reports.

  • SkillHub page: https://www.skillhub.cn/skills/engicool/qms-environment-analysis
  • API endpoint: https://api.skillhub.cn/engicool/qms-environment-analysis

Core Features

Based on the SKILL.md and script documentation within the Skill package, the verified capabilities include:

  1. Environmental Factor Identification Framework: Internal factors are organized along dimensions such as organizational governance, quality culture, resource allocation, process systems, organizational structure, and technical capability; external factors are classified by PESTEL (Political, Economic, Social, Technological, Environmental, Legal), with analysis key points provided.
  2. Structured Data Input: SWOT, PESTEL, and internal/external issue lists are organized into analysis_data.json, with fields including org_name, analysis_date, swot, pestel, internal_issues, external_issues, etc.
  3. Visual Output: The visualize subcommand in scripts/generate_analysis.py generates swot_matrix.png, pestel_radar.png, and risk_matrix.png.
  4. PDF Report: The report subcommand in the same script generates qms_environment_report.pdf.
  5. Issue Diagnosis and Improvement Recommendations: The JSON supports severity, likelihood, impact, and recommendations for internal and external issues, supporting internal audit rectification and management review documentation.
  6. Reference Templates: references/analysis-templates.md provides the JSON schema and filling instructions, which Agents can reference on demand when preparing data.

Running the chart and PDF generation requires local Python dependencies: matplotlib>=3.8.0 and reportlab>=4.0.7 (see the Skill’s prerequisites section).

Installation & Activation

The SkillHub page offers two methods, consistent with the official installation documentation at https://skillhub.cn/install/skillhub.md.

Method 1: Prompt the Agent to Install

In a Skills-capable client such as Cursor or Claude Code, send the following prompt:

Please install `@engicool/qms-environment-analysis` following https://skillhub.cn/install/skillhub.md.

The Agent will check the skillhub CLI, select the current environment’s skills directory, and complete the installation per the documentation.

Method 2: Use the skillhub CLI

First, verify whether the CLI is available:

command -v skillhub && skillhub --version

If not installed, you can install it using the official script (full install includes CLI and default Skill, or CLI only):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash
curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

When installing this Skill, you must use --dir to point to the current Agent’s skills directory; otherwise it defaults to ./skills/, which the client may not load. Common path examples:

Client Skills directory (example)
Cursor ~/.cursor/skills/
Claude Code ~/.claude/skills/
Codex ~/.codex/skills/ or project-level .agents/skills/

Installation example for Cursor:

skillhub search qms-environment-analysis
skillhub install @engicool/qms-environment-analysis --dir ~/.cursor/skills/

After installation, refresh or restart the client as required to load the Skill. This Skill is marked as not requiring an API Key, so no additional key configuration is generally needed.

Typical Usage

The typical workflow is: complete factor identification following the Skill’s guidance in conversation → organize analysis_data.json → run the scripts in the Skill directory.

1. Prepare JSON Data

Write the survey results into analysis_data.json (structure consistent with Section 2 of SKILL.md), including the organization name, analysis date, SWOT/PESTEL entries, and internal/external issue lists with severity and recommendations.

2. Generate Charts

Run the following in the installed Skill package directory (path depends on local installation location):

python scripts/generate_analysis.py visualize --data analysis_data.json --output ./output/

This produces the SWOT matrix chart, PESTEL radar chart, and risk matrix chart.

3. Generate PDF Report

python scripts/generate_analysis.py report --data analysis_data.json --output ./output/

This produces qms_environment_report.pdf, suitable as a management review attachment or internal audit evidence chain.

4. Scenario Examples in Official Documentation

Reproducible scenarios described in SKILL.md include: annual management review preparation (consolidate departmental inputs and generate PDF in one step), internal audit issue rectification verification (update JSON, regenerate, and compare), and system revision preparation (comprehensive factor review with emphasis on SWOT strategic recommendations). The trigger conditions documented are: management review preparation, internal audit issue rectification, new annual quality objective formulation, and system revision/upgrading.

Applicable Scenarios & Caveats

Who it’s for: Quality departments, internal auditors, and system engineers implementing ISO 9001, as well as teams that need to standardize the “environmental factor analysis” workflow and deliverables within Agent conversations.

Limitations & Notes (from the Skill documentation):

  • Analysis data should come from actual research; the Skill does not replace on-site interviews and evidence collection.
  • SWOT/PESTEL items are recommended to be limited to 3–5 per category to avoid overly long, unfocused lists.
  • Severity and risk levels should be assessed in the context of the organization’s actual situation; after report generation, internal case studies and measured data can still be added.
  • Scripts depend on local Python and matplotlib/reportlab; in environments without graphical support or missing dependencies, install them before running.

SkillHub statistics (as of the time of retrieval): rating 100000, downloads 804, installs 0; the page sub-categories also include “Project Management” and “SOP Generation,” facilitating discovery within the same QMS Skill series.

Conclusion

QMS Environment Analysis Skill consolidates internal and external environmental analysis in the ISO 9001 context, SWOT/PESTEL visualization, and PDF report generation into a single Skill workflow, reducing repetitive formatting work before management reviews and internal audits. Installation and documentation are authoritative on SkillHub:

  • https://www.skillhub.cn/skills/engicool/qms-environment-analysis
  • https://api.skillhub.cn/engicool/qms-environment-analysis
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye