Token导航 LogoToken导航

Agent Skill · 开发

swot-pestle-analysis(swot 杵分析)

swot-pestle-analysis 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

swot-pestle-analysis 是开发类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为只读;许可证为 MIT,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 11,116。

总安装 1,929周安装 82GitHub Stars 61下载 676核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:swot-pestle-analysis(swot 杵分析)
来源仓库:https://github.com/melodic-software/claude-code-plugins
仓库路径:skills/swot-pestle-analysis
安装命令:
npx skills add https://github.com/melodic-software/claude-code-plugins --skill swot-pestle-analysis
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/melodic-software/claude-code-plugins --skill swot-pestle-analysis

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

swot-pestle-analysis 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。通过 npx skills add 命令从指定 GitHub 仓库安装并使用。

安装前需确认权限范围、维护状态,注意是否会触发联网、命令执行或文件读写。建议结合原始 README 核验具体用法和功能边界。

来源仓库内路径:skills/swot-pestle-analysis

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/melodic-software/claude-code-plugins --skill s…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

swot-pestle-analysis 怎么安装?

在终端执行 npx skills add https://github.com/melodic-software/claude-code-plugins --skill swot-pestle…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

swot-pestle-analysis 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

swot-pestle-analysis 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

swot-pestle-analysis 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

swot-pestle-analysis 用的人多吗?

公开数据是累计安装 1,929 次,近一周安装 82 次,下载 676 次,GitHub 61 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

swot-pestle-analysis 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
swot-pestle-analysis

swot 杵分析 · 本页

1,92961只读MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Strategic Environmental Analysis

Perform strategic environmental analysis using SWOT, PESTLE, and Porter's Five Forces frameworks. Creates structured assessments for competitive positioning and strategic planning.

What is Strategic Environmental Analysis?

Strategic environmental analysis examines internal and external factors that impact an organization's ability to achieve its objectives. Three complementary frameworks provide different perspectives:

FrameworkFocusPerspectiveBest For
SWOTInternal + ExternalOrganization-centricQuick strategic assessment
PESTLEExternal macro-environmentEnvironment-centricMarket entry, regulatory planning
Porter's Five ForcesIndustry dynamicsCompetition-centricIndustry attractiveness, positioning

Framework 1: SWOT Analysis

What is SWOT?

SWOT analyzes four dimensions affecting strategic success:

DimensionTypeQuestionFocus
StrengthsInternalWhat do we do well?Leverage
WeaknessesInternalWhat do we do poorly?Improve or mitigate
OpportunitiesExternalWhat trends favor us?Pursue
ThreatsExternalWhat could harm us?Defend against

SWOT Workflow

Step 1: Define Scope
## SWOT Scope Definition

**Subject:** [Organization / Product / Initiative]
**Purpose:** [Strategic decision to inform]
**Time Horizon:** [Current state / 1-year / 3-year]
**Analyst:** swot-analyst
**Date:** [ISO date]
Step 2: Identify Strengths

Internal capabilities that provide competitive advantage:

CategoryExample Questions
ResourcesUnique assets? Strong financials? Key partnerships?
CapabilitiesCore competencies? Skilled workforce? Technology?
Market PositionBrand recognition? Customer loyalty? Market share?
CultureInnovation culture? Agility? Employee engagement?
Step 3: Identify Weaknesses

Internal limitations that hinder performance:

CategoryExample Questions
ResourcesFunding gaps? Aging infrastructure? Missing skills?
CapabilitiesInefficient processes? Technical debt? Skill gaps?
Market PositionWeak brand? High churn? Limited reach?
CultureResistance to change? Silos? Leadership gaps?
Step 4: Identify Opportunities

External conditions that could benefit the organization:

CategoryExample Questions
MarketGrowing segments? Unmet needs? Geographic expansion?
TechnologyEmerging tech? Automation potential? Digital channels?
RegulatoryFavorable regulation? Deregulation? Incentives?
CompetitiveCompetitor weaknesses? Market consolidation?
Step 5: Identify Threats

External conditions that could harm the organization:

CategoryExample Questions
MarketDeclining demand? Commoditization? Price pressure?
TechnologyDisruption? Obsolescence? Cyber risks?
RegulatoryNew compliance? Trade barriers? Legal risks?
CompetitiveNew entrants? Substitutes? Aggressive competitors?
Step 6: Strategic Implications

Cross-reference quadrants to identify strategic options:

CombinationStrategy TypeApproach
S-OOffensiveUse strengths to capture opportunities
W-ODevelopmentalAddress weaknesses to pursue opportunities
S-TDefensiveUse strengths to counter threats
W-TSurvivalMinimize weaknesses and avoid threats

SWOT Output Format

## SWOT Analysis: [Subject]

**Date:** [ISO date]
**Analyst:** swot-analyst
**Purpose:** [Strategic context]

### Strengths
| # | Strength | Impact | Evidence |
|---|----------|--------|----------|
| S1 | [Description] | High/Med/Low | [Supporting data] |

### Weaknesses
| # | Weakness | Impact | Evidence |
|---|----------|--------|----------|
| W1 | [Description] | High/Med/Low | [Supporting data] |

### Opportunities
| # | Opportunity | Impact | Timing |
|---|-------------|--------|--------|
| O1 | [Description] | High/Med/Low | Near/Mid/Long term |

### Threats
| # | Threat | Impact | Likelihood |
|---|--------|--------|------------|
| T1 | [Description] | High/Med/Low | High/Med/Low |

### Strategic Implications
| Strategy | S/W | O/T | Recommendation |
|----------|-----|-----|----------------|
| S-O: Offensive | S1, S2 | O1 | [Action] |
| W-O: Developmental | W1 | O2 | [Action] |
| S-T: Defensive | S3 | T1 | [Action] |
| W-T: Survival | W2 | T2 | [Action] |

SWOT Mermaid Diagram

quadrantChart
    title SWOT Analysis
    x-axis Internal --> External
    y-axis Negative --> Positive
    quadrant-1 Opportunities
    quadrant-2 Strengths
    quadrant-3 Weaknesses
    quadrant-4 Threats
    "Strong brand": [0.3, 0.8]
    "Skilled team": [0.2, 0.7]
    "Legacy systems": [0.3, 0.3]
    "Limited budget": [0.2, 0.2]
    "Growing market": [0.8, 0.85]
    "New technology": [0.7, 0.75]
    "New competitor": [0.8, 0.25]
    "Regulation change": [0.7, 0.15]

Framework 2: PESTLE Analysis

What is PESTLE?

PESTLE examines six macro-environmental factors:

FactorFocusExample Considerations
PoliticalGovernment, policyElections, trade policy, stability, taxation
EconomicEconomy, marketsGDP, inflation, interest rates, unemployment
SocialSociety, demographicsPopulation, culture, lifestyle, attitudes
TechnologicalTechnology, innovationR&D, automation, digital transformation
LegalLaws, regulationsEmployment law, consumer protection, IP
EnvironmentalEcology, sustainabilityClimate, resources, sustainability mandates

PESTLE Workflow

Step 1: Define Context
## PESTLE Context

**Subject:** [Organization / Market / Initiative]
**Geography:** [Region / Country / Global]
**Time Horizon:** [Current / 1-3 years / 3-5 years]
**Purpose:** [Market entry / Strategy / Risk assessment]
Step 2: Analyze Each Factor

For each PESTLE factor:

  1. Identify relevant trends in that category
  2. Assess impact on your organization (positive/negative)
  3. Rate importance (High/Medium/Low)
  4. Determine timing (immediate/near-term/long-term)
  5. Identify strategic implications
Step 3: Rate and Prioritize
Impact RatingDescription
HighFundamental to strategy, requires response
MediumModerate effect, should monitor
LowMinimal impact, awareness only

PESTLE Output Format

## PESTLE Analysis: [Subject]

**Date:** [ISO date]
**Geography:** [Scope]
**Analyst:** pestle-analyst

### Political Factors
| Factor | Trend | Impact | Importance | Timing | Implication |
|--------|-------|--------|------------|--------|-------------|
| [Factor] | [↑/↓/→] | +/- | H/M/L | Now/Near/Long | [Action] |

### Economic Factors
| Factor | Trend | Impact | Importance | Timing | Implication |
|--------|-------|--------|------------|--------|-------------|

### Social Factors
| Factor | Trend | Impact | Importance | Timing | Implication |
|--------|-------|--------|------------|--------|-------------|

### Technological Factors
| Factor | Trend | Impact | Importance | Timing | Implication |
|--------|-------|--------|------------|--------|-------------|

### Legal Factors
| Factor | Trend | Impact | Importance | Timing | Implication |
|--------|-------|--------|------------|--------|-------------|

### Environmental Factors
| Factor | Trend | Impact | Importance | Timing | Implication |
|--------|-------|--------|------------|--------|-------------|

### Summary: Key Factors
| Priority | Factor | Category | Strategic Response |
|----------|--------|----------|-------------------|
| 1 | [Most impactful] | [P/E/S/T/L/E] | [Action] |
| 2 | [...] | [...] | [...] |

PESTLE Mermaid Diagram

mindmap
  root((PESTLE))
    Political
      Government stability
      Trade policy
      Taxation
    Economic
      GDP growth
      Inflation
      Exchange rates
    Social
      Demographics
      Consumer trends
      Education
    Technological
      Innovation rate
      Automation
      R&D investment
    Legal
      Employment law
      Consumer protection
      Data privacy
    Environmental
      Climate policy
      Sustainability
      Resource scarcity

Framework 3: Porter's Five Forces

What are the Five Forces?

Porter's Five Forces analyze industry structure and profitability:

ForceQuestionHigh =
Competitive RivalryHow intense is competition?Lower profits
Threat of New EntrantsHow easy to enter market?More competition
Threat of SubstitutesAre alternatives available?Price pressure
Bargaining Power of SuppliersCan suppliers dictate terms?Higher costs
Bargaining Power of BuyersCan buyers dictate terms?Lower prices

Five Forces Workflow

Step 1: Define Industry
## Five Forces Context

**Industry:** [Specific industry definition]
**Scope:** [Geographic / Segment focus]
**Purpose:** [Entry decision / Positioning / Strategy]
**Date:** [ISO date]
Step 2: Analyze Each Force

Competitive Rivalry:

FactorAssessment
Number of competitorsFew / Many
Industry growthHigh / Low
Product differentiationHigh / Low
Exit barriersHigh / Low
Fixed costsHigh / Low

Threat of New Entrants:

BarrierHeight
Capital requirementsHigh / Low
Economies of scaleStrong / Weak
Brand loyaltyStrong / Weak
Regulatory barriersHigh / Low
Access to distributionEasy / Hard

Threat of Substitutes:

FactorAssessment
Substitute availabilityMany / Few
Switching costsHigh / Low
Price-performance ratioBetter / Worse
Buyer propensity to switchHigh / Low

Bargaining Power of Suppliers:

FactorAssessment
Supplier concentrationHigh / Low
Differentiation of inputsHigh / Low
Switching costsHigh / Low
Forward integration threatHigh / Low

Bargaining Power of Buyers:

FactorAssessment
Buyer concentrationHigh / Low
Volume of purchasesLarge / Small
Product differentiationHigh / Low
Switching costsHigh / Low
Price sensitivityHigh / Low
Step 3: Rate Forces
RatingIndustry Attractiveness
1 (Very Strong Force)Very Unattractive
2 (Strong Force)Unattractive
3 (Moderate Force)Neutral
4 (Weak Force)Attractive
5 (Very Weak Force)Very Attractive

Five Forces Output Format

## Porter's Five Forces: [Industry]

**Date:** [ISO date]
**Scope:** [Geography / Segment]
**Analyst:** five-forces-analyst

### Force Analysis

| Force | Rating (1-5) | Key Drivers | Strategic Implication |
|-------|--------------|-------------|----------------------|
| Competitive Rivalry | [1-5] | [Top factors] | [Response] |
| New Entrants | [1-5] | [Barriers] | [Response] |
| Substitutes | [1-5] | [Threats] | [Response] |
| Supplier Power | [1-5] | [Factors] | [Response] |
| Buyer Power | [1-5] | [Factors] | [Response] |

### Industry Attractiveness

**Overall Score:** [Sum/5 = Average]
**Assessment:** [Very Attractive / Attractive / Neutral / Unattractive / Very Unattractive]

### Strategic Recommendations

1. **[Priority 1]:** [Action to address strongest force]
2. **[Priority 2]:** [Action to build competitive advantage]
3. **[Priority 3]:** [Action to improve positioning]

Five Forces Mermaid Diagram

flowchart TD
    subgraph Industry
        CR[Competitive Rivalry<br/>Rating: X/5]
    end

    NE[Threat of<br/>New Entrants<br/>Rating: X/5] --> CR
    SUB[Threat of<br/>Substitutes<br/>Rating: X/5] --> CR
    SUP[Supplier<br/>Power<br/>Rating: X/5] --> CR
    BUY[Buyer<br/>Power<br/>Rating: X/5] --> CR

    style CR fill:#f9f,stroke:#333
    style NE fill:#bbf,stroke:#333
    style SUB fill:#bbf,stroke:#333
    style SUP fill:#bfb,stroke:#333
    style BUY fill:#bfb,stroke:#333

Combined Analysis

When to Use Each Framework

ScenarioSWOTPESTLEFive Forces
Quick strategic assessment✅ PrimarySupporting-
Market entry decisionSupporting✅ Primary✅ Primary
Competitive positioning✅ PrimarySupporting✅ Primary
Regulatory planningSupporting✅ Primary-
Investment decision✅ Primary✅ Primary✅ Primary
Annual strategic review✅ Primary✅ PrimarySupporting

Integrated Analysis Workflow

For comprehensive strategic analysis:

  1. Start with PESTLE - Understand macro-environment
  2. Apply Five Forces - Analyze industry dynamics
  3. Conduct SWOT - Position organization within context
  4. Synthesize - Create unified strategic recommendations

Structured Data (YAML)

strategic_analysis:
  version: "1.0"
  date: "2025-01-15"
  analyst: "strategic-analyst"
  subject: "Acme Corp Market Expansion"

  swot:
    strengths:
      - id: S1
        description: "Strong brand recognition"
        impact: high
        evidence: "Top 3 in brand awareness surveys"
    weaknesses:
      - id: W1
        description: "Limited digital presence"
        impact: medium
        evidence: "20% of sales from online"
    opportunities:
      - id: O1
        description: "Growing Asian market"
        impact: high
        timing: near_term
    threats:
      - id: T1
        description: "New market entrant"
        impact: high
        likelihood: high

  pestle:
    political:
      - factor: "Trade agreements"
        trend: positive
        impact: positive
        importance: high
    economic:
      - factor: "Interest rates"
        trend: increasing
        impact: negative
        importance: medium
    # ... other factors

  five_forces:
    competitive_rivalry:
      rating: 3
      key_drivers: ["Many competitors", "Low differentiation"]
    threat_new_entrants:
      rating: 4
      key_drivers: ["High capital requirements"]
    threat_substitutes:
      rating: 2
      key_drivers: ["Digital alternatives emerging"]
    supplier_power:
      rating: 4
      key_drivers: ["Many suppliers available"]
    buyer_power:
      rating: 2
      key_drivers: ["Large buyer concentration"]
    overall_attractiveness: 3.0

  synthesis:
    key_insight: "Market attractive but digital disruption imminent"
    priority_actions:
      - "Accelerate digital transformation (address W1, T1)"
      - "Expand Asian operations (leverage S1, capture O1)"
      - "Build strategic supplier partnerships (counter S-T)"

When to Use Strategic Analysis

ScenarioRecommended Approach
Annual planningSWOT + PESTLE
New market entryPESTLE + Five Forces
Competitive responseSWOT + Five Forces
M&A due diligenceAll three frameworks
Product launchSWOT (focused)
Risk assessmentPESTLE (focused)

Integration

Upstream

  • stakeholder-analysis - Identify who provides input
  • capability-mapping - Link strengths to capabilities
  • Domain research - Gather market data

Downstream

  • Requirements - Strategic requirements
  • Business cases - Investment justification
  • Roadmaps - Strategic initiatives

Related Skills

  • capability-mapping - Internal capability assessment
  • stakeholder-analysis - Stakeholder perspectives
  • value-stream-mapping - Operational efficiency
  • benchmarking - Competitive comparison
  • risk-analysis - Risk identification and mitigation

User-Facing Interface

When invoked directly by the user, this skill operates as follows.

Arguments

  • <subject>: Organization, product, market, or initiative to analyze
  • --mode: Analysis framework (default: swot)

- swot: SWOT analysis only (~4K tokens) - full: SWOT + PESTLE + Porter's Five Forces (~12K tokens) - pestle: Macro-environment analysis only (~4K tokens) - porter: Industry structure analysis only (~4K tokens)

  • --output: Output format (default: both)

- yaml: Structured YAML for downstream processing - mermaid: Mermaid diagram visualization - both: Both formats

  • --dir: Output directory (default: docs/analysis/)

Execution Workflow

  1. Parse Arguments - Extract subject, mode, and output format. If no subject provided, ask the user what to analyze.
  2. Execute Based on Mode:

- SWOT: Analyze Strengths, Weaknesses, Opportunities, Threats with strategic implications (S-O offensive, W-O developmental, S-T defensive, W-T survival). - Full: Spawn the strategic-analyst agent for comprehensive SWOT + PESTLE + Porter's Five Forces with cross-framework synthesis. - PESTLE: Analyze Political, Economic, Social, Technological, Legal, Environmental factors with impact and likelihood ratings. - Porter: Analyze Competitive Rivalry, Threat of New Entrants, Threat of Substitutes, Supplier Power, Buyer Power with overall industry attractiveness score.

  1. Generate Output - Produce YAML structure, Mermaid diagrams (quadrantChart for SWOT, mindmap for PESTLE, flowchart for Five Forces), and summary report.
  2. Save Results - Save to docs/analysis/swot-analysis.yaml and/or docs/analysis/swot-analysis.md (or custom --dir).
  3. Suggest Follow-Ups - Recommend capability-mapping for gap identification, risk analysis for threat elaboration, and decision-analysis for strategic option evaluation.

Version History

  • v1.0.0 (2025-12-26): Initial release

平台分布

Antigravity

29.06%
按下载量换算196

windsurf

26.39%
按下载量换算178

Claude Code

18.31%
按下载量换算124

trae

14.08%
按下载量换算95

Codex

7.5%
按下载量换算51

OpenCode

3.49%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills