ssci-subagent-skills 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +195 -0
- package/LICENSE +21 -0
- package/README.md +529 -0
- package/agents/LITERATURE_EXPERT_INTEGRATION_SUMMARY.md +618 -0
- package/agents/LITERATURE_EXPERT_INTEGRATION_UPDATE.md +284 -0
- package/agents/__pycache__/literature_expert_integration.cpython-312.pyc +0 -0
- package/agents/ant-expert-main.md +127 -0
- package/agents/ant-expert.md +301 -0
- package/agents/chinese-localization-expert.md +261 -0
- package/agents/core_engine.py +375 -0
- package/agents/digital-ecosystem-analyst/digital-ecosystem-analyst.py +507 -0
- package/agents/digital-marx-expert.md +373 -0
- package/agents/digital-transformation-ecosystem-analyst/digital-transformation-ecosystem-analyst.md +76 -0
- package/agents/digital-transformation-innovation-analyst/DATA_CONSTITUTION_REALITY_VERIFIED.py +233 -0
- package/agents/digital-transformation-innovation-analyst/DATA_CONSTITUTION_SKILL_SPECIFICATION.md +357 -0
- package/agents/digital-transformation-innovation-analyst/README_AGENTSILLS_IO_STANDARD.md +418 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst.md +469 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst.py +513 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst_DATA_CONSTITUTION.md +299 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst_DATA_CONSTITUTION.py +342 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst_DATA_CONSTITUTION_TDD.py +615 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst_REAL_DATA_TDD.py +291 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst_data_real_sources.py +468 -0
- package/agents/digital-transformation-innovation-analyst/digital-transformation-innovation-analyst_tdd.py +1126 -0
- package/agents/digital-transformation-innovation-analyst/digital_transformation_innovation-analyst.py +756 -0
- package/agents/digital-transformation-innovation-analyst/tdd_executor.py +203 -0
- package/agents/digital-transformation-innovation-analyst/tdd_runner.py +154 -0
- package/agents/field-analysis-expert-main.md +129 -0
- package/agents/field-analysis-expert.md +231 -0
- package/agents/grounded-theory-agent-implementation.md +431 -0
- package/agents/grounded-theory-expert-v2.md +202 -0
- package/agents/grounded-theory-expert.md +309 -0
- package/agents/literature-expert-v2.md +489 -0
- package/agents/literature-expert.md +639 -0
- package/agents/literature_expert_integration.py +384 -0
- package/agents/references/actor-network-analysis.html +598 -0
- package/agents/references/ant-actor-identification.md +155 -0
- package/agents/references/ant-network-analysis.md +266 -0
- package/agents/references/ant-power-analysis.md +323 -0
- package/agents/references/ant-translation-process.md +185 -0
- package/agents/references/bourdieu-field-analysis.html +805 -0
- package/agents/references/business-ecosystem-analysis.html +598 -0
- package/agents/references/business-model-analysis-implementation-plan.md +199 -0
- package/agents/references/business-model-analysis-plan.md +217 -0
- package/agents/references/business-model-analysis.html +620 -0
- package/agents/references/business-model-coordinator.js +356 -0
- package/agents/references/business-model-expert-agent.js +204 -0
- package/agents/references/data-analysis.html +397 -0
- package/agents/references/did-analysis.html +591 -0
- package/agents/references/digital-durkheim.html +725 -0
- package/agents/references/digital-marx.html +460 -0
- package/agents/references/digital-weber.html +591 -0
- package/agents/references/field-boundary-identification.md +232 -0
- package/agents/references/field-capital-analysis.md +268 -0
- package/agents/references/grounded-theory.html +731 -0
- package/agents/references/msqca-analysis.html +589 -0
- package/agents/references/research-design.html +394 -0
- package/agents/references/social-network-analysis.html +590 -0
- package/agents/references/survey-design.html +577 -0
- package/agents/sna-expert.md +348 -0
- package/common/dependency_config.py +96 -0
- package/common/dependency_manager.py +175 -0
- package/common/smart_dependency_manager.py +331 -0
- package/package.json +81 -0
- package/scripts/postinstall.js +147 -0
- package/scripts/validate-skills.js +209 -0
- package/skills/2025_12_21_cnki-downloader.skill.install/cnki-downloader.skill +0 -0
- package/skills/2025_12_21_cnki-downloader.skill.install/cnki-downloader.skill.install.md +114 -0
- package/skills/COMPLIANCE_REPORT.md +122 -0
- package/skills/INTEGRATION_PLAN.md +405 -0
- package/skills/QWEN.md +230 -0
- package/skills/SKILLS_APPLICATION_MAPPING.md +155 -0
- package/skills/__init__.py +7 -0
- package/skills/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/SKILL.md +195 -0
- package/skills/alienation-analysis/__init__.py +8 -0
- package/skills/alienation-analysis/prompts/core-analysis-framework.md +88 -0
- package/skills/alienation-analysis/prompts/specialized-alienation-analysis.md +190 -0
- package/skills/alienation-analysis/pyproject.toml +36 -0
- package/skills/alienation-analysis/scripts/__init__.py +8 -0
- package/skills/alienation-analysis/scripts/__pycache__/alienation_analysis_engine.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/career_development_evaluation.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/classify_alienation_types.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/consumer_behavior_analysis.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/core_analyzer.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/digital_wellbeing_evaluation.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/generate_intervention_plan.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/materialism_assessment.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/relationship_quality_assessment.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/social_network_analysis.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/technology_dependency_analysis.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/__pycache__/workplace_satisfaction_analysis.cpython-312.pyc +0 -0
- package/skills/alienation-analysis/scripts/alienation_analysis_engine.py +597 -0
- package/skills/alienation-analysis/scripts/career_development_evaluation.py +512 -0
- package/skills/alienation-analysis/scripts/classify_alienation_types.py +357 -0
- package/skills/alienation-analysis/scripts/consumer_behavior_analysis.py +643 -0
- package/skills/alienation-analysis/scripts/core_analyzer.py +571 -0
- package/skills/alienation-analysis/scripts/digital_wellbeing_evaluation.py +597 -0
- package/skills/alienation-analysis/scripts/generate_intervention_plan.py +358 -0
- package/skills/alienation-analysis/scripts/materialism_assessment.py +528 -0
- package/skills/alienation-analysis/scripts/relationship_quality_assessment.py +621 -0
- package/skills/alienation-analysis/scripts/social_network_analysis.py +802 -0
- package/skills/alienation-analysis/scripts/technology_dependency_analysis.py +534 -0
- package/skills/alienation-analysis/scripts/workplace_satisfaction_analysis.py +340 -0
- package/skills/alienation_analysis/SKILL.md +291 -0
- package/skills/alienation_analysis/__init__.py +1 -0
- package/skills/alienation_analysis/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/alienation_analysis/scripts/__init__.py +1 -0
- package/skills/alienation_analysis/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
- package/skills/ant/SKILL.md +139 -0
- package/skills/ant/pyproject.toml +36 -0
- package/skills/ant/scripts/ant_analysis_with_fallback.py +383 -0
- package/skills/ant-expert/SKILL.md +182 -0
- package/skills/ant-expert/integration_with_trusted_scraper.md +115 -0
- package/skills/ant-expert/modules/__pycache__/network_analysis.cpython-312.pyc +0 -0
- package/skills/ant-expert/modules/__pycache__/participant_identification.cpython-312.pyc +0 -0
- package/skills/ant-expert/modules/__pycache__/translation_process.cpython-312.pyc +0 -0
- package/skills/ant-expert/modules/network_analysis.py +253 -0
- package/skills/ant-expert/modules/participant_identification.py +325 -0
- package/skills/ant-expert/modules/translation_process.py +283 -0
- package/skills/ant-expert/pyproject.toml +27 -0
- package/skills/ant-expert/scripts/ant_expert_analyzer.py +146 -0
- package/skills/ant-expert/test_input.json +82 -0
- package/skills/ant-expert/test_output.json +728 -0
- package/skills/ant-network-analysis/SKILL.md +132 -0
- package/skills/ant-participant-identification/SKILL.md +140 -0
- package/skills/ant-participant-identification/pyproject.toml +35 -0
- package/skills/ant-participant-identification/scripts/identify_participants.py +318 -0
- package/skills/ant-subagent/SKILL.md +60 -0
- package/skills/ant-subagent/modules/network_analysis.py +146 -0
- package/skills/ant-subagent/pyproject.toml +16 -0
- package/skills/ant-translation-process/SKILL.md +144 -0
- package/skills/ant-translation-process/pyproject.toml +35 -0
- package/skills/ant-translation-process/scripts/trace_translation.py +370 -0
- package/skills/ant_relationship_analysis.md +157 -0
- package/skills/arxiv-paper-search/ARXIV_SKILL_COMPLETION_REPORT.md +449 -0
- package/skills/arxiv-paper-search/DEPENDENCY_OPTIMIZATION.md +355 -0
- package/skills/arxiv-paper-search/OPTIMIZATION_SUMMARY.md +213 -0
- package/skills/arxiv-paper-search/README.md +90 -0
- package/skills/arxiv-paper-search/SKILL.md +321 -0
- package/skills/arxiv-paper-search/pyproject.toml +29 -0
- package/skills/arxiv-paper-search/references/ADVANCED_USAGE.md +587 -0
- package/skills/arxiv-paper-search/references/API_REFERENCE.md +350 -0
- package/skills/arxiv-paper-search/references/ARXIV_CATEGORIES.md +249 -0
- package/skills/arxiv-paper-search/references/USER_GUIDE.md +349 -0
- package/skills/arxiv-paper-search/requirements.txt +13 -0
- package/skills/arxiv-paper-search/scripts/__pycache__/arxiv_searcher.cpython-312.pyc +0 -0
- package/skills/arxiv-paper-search/scripts/arxiv_searcher.py +439 -0
- package/skills/arxiv-paper-search/scripts/test_arxiv_searcher.py +307 -0
- package/skills/arxiv-paper-search/test_abstracts.json +461 -0
- package/skills/arxiv-paper-search/test_batch_papers/2009.00804v2_Architectural_Implications_of_.pdf +0 -0
- package/skills/arxiv-paper-search/test_batch_papers/2201.00978v1_PyramidTNT +0 -0
- package/skills/arxiv-paper-search/test_batch_papers/2207.13219v4_Dalorex +0 -0
- package/skills/arxiv-paper-search/test_papers/1706.03762.pdf +0 -0
- package/skills/arxiv-paper-search/test_papers.csv +11 -0
- package/skills/best_practices.md +271 -0
- package/skills/business-ecosystem-analysis/integration_with_trusted_scraper.md +97 -0
- package/skills/business-ecosystem-data-collection/FreeDataCrawler.js +472 -0
- package/skills/business-ecosystem-data-collection/INFO.md +68 -0
- package/skills/business-ecosystem-data-collection/SKILL.md +118 -0
- package/skills/business-ecosystem-data-collection/algorithms/data_validation.py +44 -0
- package/skills/business-ecosystem-data-collection/algorithms/entity_recognition.py +53 -0
- package/skills/business-ecosystem-data-collection/algorithms/relationship_mapping.py +44 -0
- package/skills/business-ecosystem-data-collection/config.json +10 -0
- package/skills/business-ecosystem-data-collection/e2e-test.js +81 -0
- package/skills/business-ecosystem-data-collection/package-lock.json +433 -0
- package/skills/business-ecosystem-data-collection/package.json +21 -0
- package/skills/business-ecosystem-data-collection/references/data-collection-strategies.md +18 -0
- package/skills/business-ecosystem-data-collection/references/data-validation.md +22 -0
- package/skills/business-ecosystem-data-collection/references/entity-recognition.md +16 -0
- package/skills/business-ecosystem-data-collection/references/relationship-mapping.md +16 -0
- package/skills/business-ecosystem-data-collection/scripts/ecosystem_data_collector.py +103 -0
- package/skills/business-ecosystem-data-collection/skill.js +1383 -0
- package/skills/business-ecosystem-data-collection/skill.json +191 -0
- package/skills/business-ecosystem-data-collection/test.js +304 -0
- package/skills/business-ecosystem-data-collection/test_context.json +16 -0
- package/skills/business-model-analysis/INFO.md +65 -0
- package/skills/business-model-analysis/SKILL.md +208 -0
- package/skills/business-model-analysis/e2e-test.js +111 -0
- package/skills/business-model-analysis/integration_with_trusted_scraper.md +97 -0
- package/skills/business-model-analysis/package.json +23 -0
- package/skills/business-model-analysis/skill.js +1779 -0
- package/skills/business-model-analysis/skill.json +175 -0
- package/skills/business-model-analysis/test.js +202 -0
- package/skills/business-model-canvas-analysis/INFO.md +68 -0
- package/skills/business-model-canvas-analysis/README.md +53 -0
- package/skills/business-model-canvas-analysis/SKILL.md +215 -0
- package/skills/business-model-canvas-analysis/prompts.txt +70 -0
- package/skills/business-model-canvas-analysis/reference.md +101 -0
- package/skills/business-model-canvas-analysis/skill.js +675 -0
- package/skills/business-model-canvas-analysis/skill.json +47 -0
- package/skills/business-service-supply-analysis/INFO.md +28 -0
- package/skills/business-service-supply-analysis/SKILL.md +300 -0
- package/skills/business-service-supply-analysis/skill.js +1319 -0
- package/skills/business-service-supply-analysis/skill.json +233 -0
- package/skills/capital-analysis/INFO.md +80 -0
- package/skills/capital-analysis/README.md +65 -0
- package/skills/capital-analysis/SKILL.md +367 -0
- package/skills/capital-analysis/prompts.txt +103 -0
- package/skills/capital-analysis/reference.md +132 -0
- package/skills/capital-analysis/skill.js +739 -0
- package/skills/capital-analysis/skill.json +268 -0
- package/skills/checking-theory-saturation/SKILL.md +280 -0
- package/skills/checking-theory-saturation/pyproject.toml +17 -0
- package/skills/checking-theory-saturation/references/README.md +54 -0
- package/skills/checking-theory-saturation/scripts/__pycache__/assess_saturation.cpython-312.pyc +0 -0
- package/skills/checking-theory-saturation/scripts/assess_saturation.py +296 -0
- package/skills/checking-theory-saturation/tests/__pycache__/test_assess_saturation.cpython-312-pytest-7.4.3.pyc +0 -0
- package/skills/checking-theory-saturation/tests/test_assess_saturation.py +194 -0
- package/skills/class-structure-analysis/SKILL.md +211 -0
- package/skills/competitive-analysis/INFO.md +77 -0
- package/skills/competitive-analysis/README.md +61 -0
- package/skills/competitive-analysis/SKILL.md +357 -0
- package/skills/competitive-analysis/prompts.txt +117 -0
- package/skills/competitive-analysis/reference.md +206 -0
- package/skills/competitive-analysis/skill.js +1166 -0
- package/skills/competitive-analysis/skill.json +219 -0
- package/skills/conflict-resolution/SKILL.md +124 -0
- package/skills/conflict-resolution/conflict-resolution-skill.md +628 -0
- package/skills/data-analysis/SKILL.md +73 -0
- package/skills/data-analysis/prompts/data-cleaning-outline.md +355 -0
- package/skills/data-analysis/prompts/data-cleaning.md +40 -0
- package/skills/data-analysis/prompts/data-understanding-outline.md +243 -0
- package/skills/data-analysis/prompts/data-understanding.md +43 -0
- package/skills/data-analysis/prompts/exploratory-analysis-outline.md +316 -0
- package/skills/data-analysis/prompts/exploratory-analysis.md +40 -0
- package/skills/data-analysis/prompts/modeling-strategy.md +40 -0
- package/skills/data-analysis/pyproject.toml +39 -0
- package/skills/dependency_management.md +46 -0
- package/skills/dialectical-quantitative-synthesis/SKILL.md +239 -0
- package/skills/did-analysis/SKILL.md +239 -0
- package/skills/did-analysis/prompts/causal-interpretation.md +245 -0
- package/skills/did-analysis/prompts/experimental-design.md +260 -0
- package/skills/did-analysis/prompts/model-specification.md +242 -0
- package/skills/did-analysis/prompts/policy-recommendation.md +253 -0
- package/skills/did-analysis/pyproject.toml +35 -0
- package/skills/did-analysis/references/BEST_PRACTICES.md +553 -0
- package/skills/did-analysis/scripts/__pycache__/did_estimator.cpython-312.pyc +0 -0
- package/skills/did-analysis/scripts/__pycache__/integrated_did.cpython-312.pyc +0 -0
- package/skills/did-analysis/scripts/__pycache__/parallel_trend.cpython-312.pyc +0 -0
- package/skills/did-analysis/scripts/__pycache__/robustness_test.cpython-312.pyc +0 -0
- package/skills/did-analysis/scripts/__pycache__/visualization.cpython-312.pyc +0 -0
- package/skills/did-analysis/scripts/did_estimator.py +553 -0
- package/skills/did-analysis/scripts/integrated_did.py +867 -0
- package/skills/did-analysis/scripts/parallel_trend.py +473 -0
- package/skills/did-analysis/scripts/parallel_trend_plot.png +0 -0
- package/skills/did-analysis/scripts/parallel_trend_test.png +0 -0
- package/skills/did-analysis/scripts/placebo_test_distribution.png +0 -0
- package/skills/did-analysis/scripts/robustness_test.py +633 -0
- package/skills/did-analysis/scripts/test_integration.py +253 -0
- package/skills/did-analysis/scripts/visualization.py +539 -0
- package/skills/digital-durkheim/SKILL.md +114 -0
- package/skills/digital-durkheim/prompts/collective-consciousness.md +127 -0
- package/skills/digital-durkheim/prompts/functional-analysis.md +127 -0
- package/skills/digital-durkheim/prompts/social-fact-identification.md +128 -0
- package/skills/digital-durkheim/prompts/social-solidarity.md +134 -0
- package/skills/digital-durkheim/pyproject.toml +36 -0
- package/skills/digital-durkheim/scripts/__pycache__/integrated_durkheim_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-durkheim/scripts/__pycache__/social_fact_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-durkheim/scripts/durkheim_analysis_results.json +226 -0
- package/skills/digital-durkheim/scripts/integrated_durkheim_analyzer.py +540 -0
- package/skills/digital-durkheim/scripts/social_fact_analyzer.py +712 -0
- package/skills/digital-durkheim/test_integration.py +226 -0
- package/skills/digital-marx/README.md +215 -0
- package/skills/digital-marx/SHORT_TERM_IMPLEMENTATION_REPORT.md +183 -0
- package/skills/digital-marx/SKILL.md +189 -0
- package/skills/digital-marx/THEORETICAL_ACCURACY_ANALYSIS.md +278 -0
- package/skills/digital-marx/prompts/material-base-analysis.md +113 -0
- package/skills/digital-marx/prompts/production-relations-analysis.md +113 -0
- package/skills/digital-marx/prompts/social-change-prediction.md +112 -0
- package/skills/digital-marx/prompts/superstructure-analysis.md +112 -0
- package/skills/digital-marx/pyproject.toml +37 -0
- package/skills/digital-marx/scripts/__pycache__/dialectical_thinking_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-marx/scripts/__pycache__/enhanced_historical_materialism_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-marx/scripts/__pycache__/historical_materialism_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-marx/scripts/basic_quality_detector.py +760 -0
- package/skills/digital-marx/scripts/dialectical_thinking_analyzer.py +1601 -0
- package/skills/digital-marx/scripts/enhanced_historical_materialism_analyzer.py +1525 -0
- package/skills/digital-marx/scripts/historical_materialism_analyzer.py +963 -0
- package/skills/digital-marx/scripts/integrated_marx_analyzer.py +932 -0
- package/skills/digital-marx/scripts/marxist_theory_validator.py +1192 -0
- package/skills/digital-marx/scripts/quality_validator.py +890 -0
- package/skills/digital-marx-expert/SKILL.md +179 -0
- package/skills/digital-marx-expert/modules/__pycache__/capital_analysis.cpython-312.pyc +0 -0
- package/skills/digital-marx-expert/modules/__pycache__/class_analysis.cpython-312.pyc +0 -0
- package/skills/digital-marx-expert/modules/__pycache__/historical_materialism.cpython-312.pyc +0 -0
- package/skills/digital-marx-expert/modules/capital_analysis.py +611 -0
- package/skills/digital-marx-expert/modules/class_analysis.py +836 -0
- package/skills/digital-marx-expert/modules/historical_materialism.py +435 -0
- package/skills/digital-marx-expert/pyproject.toml +29 -0
- package/skills/digital-marx-expert/scripts/digital_marx_expert_analyzer.py +189 -0
- package/skills/digital-marx-expert/test_input.json +100 -0
- package/skills/digital-marx-expert/test_output.json +588 -0
- package/skills/digital-transformation/business-innovation-pathway-planning.SKILL.md +102 -0
- package/skills/digital-transformation/business-model-reconstruction.SKILL.md +88 -0
- package/skills/digital-transformation/business-scene-deconstruction-analysis.SKILL.md +131 -0
- package/skills/digital-transformation/config.json +16 -0
- package/skills/digital-transformation/config_host_llm.json +311 -0
- package/skills/digital-transformation/config_llm.json +297 -0
- package/skills/digital-transformation/digitization-deconstruction-analysis.SKILL.md +84 -0
- package/skills/digital-transformation/innovation-niche-identification.SKILL.md +78 -0
- package/skills/digital-transformation/intelligent-transformation-deconstruction-analysis.SKILL.md +110 -0
- package/skills/digital-transformation/online-transformation-deconstruction-analysis.SKILL.md +110 -0
- package/skills/digital-transformation/scripts/data_integrator.py +637 -0
- package/skills/digital-transformation/scripts/digital_transformation_analyzer.py +800 -0
- package/skills/digital-transformation/scripts/digital_transformation_analyzer_agentskills_io.py +1677 -0
- package/skills/digital-transformation/scripts/digital_transformation_analyzer_host_cli.py +834 -0
- package/skills/digital-transformation/scripts/digital_transformation_analyzer_host_llm.py +1026 -0
- package/skills/digital-transformation/scripts/digital_transformation_analyzer_llm.py +957 -0
- package/skills/digital-transformation/scripts/host_cli_interface.py +531 -0
- package/skills/digital-transformation/scripts/llm_client.py +662 -0
- package/skills/digital-transformation/scripts/skill_executor.py +527 -0
- package/skills/digital-transformation/scripts/transformation_visualizer.py +946 -0
- package/skills/digital-transformation/test_context.json +6 -0
- package/skills/digital-transformation/tests/test_digital_transformation.py +844 -0
- package/skills/digital-weber/SKILL.md +88 -0
- package/skills/digital-weber/prompts/comparative-research.md +155 -0
- package/skills/digital-weber/prompts/institutional-analysis.md +147 -0
- package/skills/digital-weber/prompts/theoretical-interpretation.md +102 -0
- package/skills/digital-weber/prompts/understanding-analysis.md +129 -0
- package/skills/digital-weber/pyproject.toml +36 -0
- package/skills/digital-weber/scripts/__pycache__/integrated_weber_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-weber/scripts/__pycache__/optimized_weberian_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-weber/scripts/__pycache__/weberian_analyzer.cpython-312.pyc +0 -0
- package/skills/digital-weber/scripts/enhanced_weberian_analyzer.py +531 -0
- package/skills/digital-weber/scripts/integrated_weber_analyzer.py +772 -0
- package/skills/digital-weber/scripts/optimized_weberian_analyzer.py +713 -0
- package/skills/digital-weber/scripts/weber_analysis_results.json +196 -0
- package/skills/digital-weber/scripts/weberian_analyzer.py +877 -0
- package/skills/digital-weber/simple_quality_test.py +204 -0
- package/skills/digital-weber/test_comprehensive.py +320 -0
- package/skills/digital-weber/test_quality_improvement.py +237 -0
- package/skills/dissent-resolution/SKILL.md +159 -0
- package/skills/ecosystem-analysis/analyzing-business-model-of-key-species.SKILL.md +31 -0
- package/skills/ecosystem-analysis/analyzing-digital-transformation-impact-on-business.SKILL.md +36 -0
- package/skills/ecosystem-analysis/assessing-ecosystem-impact-of-digital-transformation.SKILL.md +36 -0
- package/skills/ecosystem-analysis/config.json +15 -0
- package/skills/ecosystem-analysis/constructing-business-ecosystem-map.SKILL.md +31 -0
- package/skills/ecosystem-analysis/identifying-key-species-in-industry.SKILL.md +30 -0
- package/skills/ecosystem-analysis/performing-industry-ecosystem-analysis.SKILL.md +79 -0
- package/skills/ecosystem-analysis/references/industry-life-cycle.md +29 -0
- package/skills/ecosystem-analysis/references/value-chain-analysis.md +28 -0
- package/skills/ecosystem-analysis/scripts/business_ecosystem_analyzer.py +640 -0
- package/skills/ecosystem-analysis/scripts/data_collector.py +239 -0
- package/skills/ecosystem-analysis/scripts/ecosystem_analysis.py +309 -0
- package/skills/ecosystem-analysis/scripts/ecosystem_data_integrator.py +620 -0
- package/skills/ecosystem-analysis/scripts/ecosystem_preprocessing.py +262 -0
- package/skills/ecosystem-analysis/scripts/ecosystem_visualizer.py +811 -0
- package/skills/ecosystem-analysis/test_context.json +6 -0
- package/skills/ecosystem-analysis/tests/test_ecosystem_analysis.py +1193 -0
- package/skills/ecosystem-relationship-analysis/INFO.md +28 -0
- package/skills/ecosystem-relationship-analysis/SKILL.md +147 -0
- package/skills/ecosystem-relationship-analysis/algorithms/community_detection.py +128 -0
- package/skills/ecosystem-relationship-analysis/algorithms/health_assessment.py +53 -0
- package/skills/ecosystem-relationship-analysis/algorithms/network_analysis.py +171 -0
- package/skills/ecosystem-relationship-analysis/config.json +10 -0
- package/skills/ecosystem-relationship-analysis/references/community-detection.md +24 -0
- package/skills/ecosystem-relationship-analysis/references/ecosystem-theory.md +23 -0
- package/skills/ecosystem-relationship-analysis/references/health-assessment.md +23 -0
- package/skills/ecosystem-relationship-analysis/references/network-analysis-theory.md +19 -0
- package/skills/ecosystem-relationship-analysis/references/relationship-analysis.md +27 -0
- package/skills/ecosystem-relationship-analysis/scripts/ecosystem_relationship_analyzer.py +155 -0
- package/skills/ecosystem-relationship-analysis/skill.js +797 -0
- package/skills/ecosystem-relationship-analysis/skill.json +205 -0
- package/skills/field-analysis/SKILL.md +145 -0
- package/skills/field-boundary-identification/SKILL.md +156 -0
- package/skills/field-boundary-identification/pyproject.toml +36 -0
- package/skills/field-boundary-identification/scripts/identify_boundaries.py +326 -0
- package/skills/field-capital-analysis/SKILL.md +165 -0
- package/skills/field-expert/SKILL.md +409 -0
- package/skills/field-expert/WORKFLOW_SPEC.md +195 -0
- package/skills/field-expert/field_analysis_workflow/input/processed/combined_input.json +247 -0
- package/skills/field-expert/field_analysis_workflow/input/processed/llm_input.json +76 -0
- package/skills/field-expert/field_analysis_workflow/intermediate/01_boundary/boundary_results.json +6 -0
- package/skills/field-expert/field_analysis_workflow/intermediate/02_capital/capital_results.json +5 -0
- package/skills/field-expert/field_analysis_workflow/intermediate/03_habitus/habitus_results.json +120 -0
- package/skills/field-expert/field_analysis_workflow/intermediate/04_dynamics/dynamics_results.json +6 -0
- package/skills/field-expert/field_analysis_workflow/output/executive_summary.txt +35 -0
- package/skills/field-expert/field_analysis_workflow/output/json/comprehensive_analysis.json +180 -0
- package/skills/field-expert/field_analysis_workflow/output/reports/field_analysis_report.html +22 -0
- package/skills/field-expert/modules/__pycache__/boundary_analysis.cpython-312.pyc +0 -0
- package/skills/field-expert/modules/__pycache__/capital_analysis.cpython-312.pyc +0 -0
- package/skills/field-expert/modules/__pycache__/habitus_analysis.cpython-312.pyc +0 -0
- package/skills/field-expert/modules/boundary_analysis.py +234 -0
- package/skills/field-expert/modules/capital_analysis.py +407 -0
- package/skills/field-expert/modules/habitus_analysis.py +306 -0
- package/skills/field-expert/prompts/boundary_analysis.txt +56 -0
- package/skills/field-expert/prompts/boundary_analysis_simple.txt +17 -0
- package/skills/field-expert/prompts/capital_analysis.txt +87 -0
- package/skills/field-expert/prompts/dynamics_analysis.txt +89 -0
- package/skills/field-expert/prompts/habitus_analysis.txt +87 -0
- package/skills/field-expert/pyproject.toml +27 -0
- package/skills/field-expert/scripts/__pycache__/field_analysis_tool.cpython-312.pyc +0 -0
- package/skills/field-expert/scripts/__pycache__/prepare_data.cpython-312.pyc +0 -0
- package/skills/field-expert/scripts/debug_output.txt +4 -0
- package/skills/field-expert/scripts/debug_output_converted.txt +27 -0
- package/skills/field-expert/scripts/field_analysis_tool.py +536 -0
- package/skills/field-expert/scripts/field_expert_analyzer.py +136 -0
- package/skills/field-expert/scripts/generate_report.py +525 -0
- package/skills/field-expert/scripts/prepare_data.py +226 -0
- package/skills/field-expert/scripts/run_workflow.py +571 -0
- package/skills/field-expert/scripts/summarize_data.py +156 -0
- package/skills/field-expert/scripts/temp_prompt_20260106_213035_964505.txt +135 -0
- package/skills/field-expert/scripts/temp_prompt_20260106_213534_264265.txt +16 -0
- package/skills/field-expert/scripts/temp_prompt_20260106_213932_601575.txt +22 -0
- package/skills/field-expert/scripts/temp_prompt_20260106_214330_241706.txt +15 -0
- package/skills/field-expert/scripts/test_host_llm.py +164 -0
- package/skills/field-expert/scripts/test_stigmergy_llm.py +91 -0
- package/skills/field-expert/test_input.json +168 -0
- package/skills/field-expert/test_output.json +724 -0
- package/skills/field-expert/workflow_spec.json +171 -0
- package/skills/field-habitus-analysis/SKILL.md +165 -0
- package/skills/fsqca-analysis/SKILL.md +71 -0
- package/skills/fsqca-analysis/assets/templates/report_template.md +122 -0
- package/skills/fsqca-analysis/comprehensive_test.py +573 -0
- package/skills/fsqca-analysis/comprehensive_test_report.json +207 -0
- package/skills/fsqca-analysis/comprehensive_test_report.md +35 -0
- package/skills/fsqca-analysis/fsqca_analysis_report.md +35 -0
- package/skills/fsqca-analysis/prompts/calibration-guidance-outline.md +142 -0
- package/skills/fsqca-analysis/prompts/calibration-guidance.md +40 -0
- package/skills/fsqca-analysis/prompts/result-interpretation-outline.md +133 -0
- package/skills/fsqca-analysis/prompts/result-interpretation.md +45 -0
- package/skills/fsqca-analysis/prompts/theoretical-analysis-outline.md +75 -0
- package/skills/fsqca-analysis/prompts/theoretical-analysis.md +34 -0
- package/skills/fsqca-analysis/pyproject.toml +36 -0
- package/skills/fsqca-analysis/references/BEST_PRACTICES-outline.md +158 -0
- package/skills/fsqca-analysis/references/BEST_PRACTICES.md +39 -0
- package/skills/fsqca-analysis/references/METHODOLOGY-outline.md +103 -0
- package/skills/fsqca-analysis/references/METHODOLOGY.md +38 -0
- package/skills/fsqca-analysis/scripts/__pycache__/calibration.cpython-312.pyc +0 -0
- package/skills/fsqca-analysis/scripts/__pycache__/integrated_analysis.cpython-312.pyc +0 -0
- package/skills/fsqca-analysis/scripts/__pycache__/minimization.cpython-312.pyc +0 -0
- package/skills/fsqca-analysis/scripts/__pycache__/truth_table.cpython-312.pyc +0 -0
- package/skills/fsqca-analysis/scripts/calibration.py +540 -0
- package/skills/fsqca-analysis/scripts/integrated_analysis.py +651 -0
- package/skills/fsqca-analysis/scripts/minimization.py +536 -0
- package/skills/fsqca-analysis/scripts/truth_table.py +433 -0
- package/skills/fsqca-analysis/test_fsqca.py +199 -0
- package/skills/fusion_plan.md +232 -0
- package/skills/grounded-theory-expert/SKILL.md +180 -0
- package/skills/grounded-theory-expert/pyproject.toml +23 -0
- package/skills/grounded-theory-expert/scripts/gt_expert_analyzer.py +185 -0
- package/skills/grounded-theory-expert/stages/__pycache__/axial_coding.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert/stages/__pycache__/open_coding.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert/stages/__pycache__/selective_coding.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert/stages/axial_coding.py +294 -0
- package/skills/grounded-theory-expert/stages/open_coding.py +245 -0
- package/skills/grounded-theory-expert/stages/selective_coding.py +410 -0
- package/skills/grounded-theory-expert/test_input.json +27 -0
- package/skills/grounded-theory-expert/test_output.json +874 -0
- package/skills/grounded-theory-expert/tests/sample-cases/hongloumeng.txt +91 -0
- package/skills/grounded-theory-expert/tests/sample-cases/sanguoyanyi_excerpts.txt +169 -0
- package/skills/grounded-theory-expert/tests/sample-cases/shuihuzhuan_excerpts.txt +216 -0
- package/skills/grounded-theory-expert/tests/sample-cases/xiyouji_excerpts.txt +100 -0
- package/skills/grounded-theory-expert/tests/sample-cases//345/233/233/345/244/247/345/220/215/350/221/227ANT/345/210/206/346/236/220/346/212/245/345/221/212.md +283 -0
- package/skills/grounded-theory-expert/tools/__pycache__/memo_writer.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert/tools/__pycache__/saturation_checker.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert/tools/memo_writer.py +512 -0
- package/skills/grounded-theory-expert/tools/saturation_checker.py +345 -0
- package/skills/grounded-theory-expert-enhanced/SKILL.md +218 -0
- package/skills/grounded-theory-expert-enhanced/docs/00_master_guide.md +276 -0
- package/skills/grounded-theory-expert-enhanced/docs/01_quick_start.md +59 -0
- package/skills/grounded-theory-expert-enhanced/docs/02_task_flow.md +464 -0
- package/skills/grounded-theory-expert-enhanced/docs/03_path/350/247/204/350/214/203.md +161 -0
- package/skills/grounded-theory-expert-enhanced/docs/04_html_report.md +340 -0
- package/skills/grounded-theory-expert-enhanced/docs/05_best_practices.md +322 -0
- package/skills/grounded-theory-expert-enhanced/docs/FLOW_GUIDE.md +280 -0
- package/skills/grounded-theory-expert-enhanced/docs/LLM/350/260/203/347/224/250/346/250/241/346/213/237/346/265/201/347/250/213.md +299 -0
- package/skills/grounded-theory-expert-enhanced/docs/experts/constructivist_expert.md +64 -0
- package/skills/grounded-theory-expert-enhanced/docs/experts/localization_expert.md +66 -0
- package/skills/grounded-theory-expert-enhanced/docs/experts/phenomenological_expert.md +64 -0
- package/skills/grounded-theory-expert-enhanced/docs/experts/positivist_expert.md +67 -0
- package/skills/grounded-theory-expert-enhanced/docs/prompts/level1_prompts.md +174 -0
- package/skills/grounded-theory-expert-enhanced/docs/prompts/level2_prompts.md +176 -0
- package/skills/grounded-theory-expert-enhanced/docs/prompts/level3_prompts.md +219 -0
- package/skills/grounded-theory-expert-enhanced/docs/prompts/preprocessing_prompts.md +120 -0
- package/skills/grounded-theory-expert-enhanced/docs/references/quality_standards.md +166 -0
- package/skills/grounded-theory-expert-enhanced/docs/references/reliability_methods.md +159 -0
- package/skills/grounded-theory-expert-enhanced/docs/references/saturation_methods.md +193 -0
- package/skills/grounded-theory-expert-enhanced/docs/references/theory_construction.md +166 -0
- package/skills/grounded-theory-expert-enhanced/pyproject.toml +33 -0
- package/skills/grounded-theory-expert-enhanced/references/llm_integration_principles.md +56 -0
- package/skills/grounded-theory-expert-enhanced/scripts/preprocessing_script.py +191 -0
- package/skills/grounded-theory-expert-enhanced/stages/enhanced_axial_coding.py +146 -0
- package/skills/grounded-theory-expert-enhanced/stages/enhanced_open_coding.py +94 -0
- package/skills/grounded-theory-expert-enhanced/stages/enhanced_selective_coding.py +163 -0
- package/skills/grounded-theory-expert-enhanced/tools/.env.example +34 -0
- package/skills/grounded-theory-expert-enhanced/tools/LLM_CONFIG_GUIDE.md +67 -0
- package/skills/grounded-theory-expert-enhanced/tools/__pycache__/analysis_controller.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert-enhanced/tools/__pycache__/host_cli_coder.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert-enhanced/tools/__pycache__/llm_expert_coder.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert-enhanced/tools/__pycache__/project_structure.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert-enhanced/tools/__pycache__/reliability_validator.cpython-312.pyc +0 -0
- package/skills/grounded-theory-expert-enhanced/tools/analysis_controller.py +2344 -0
- package/skills/grounded-theory-expert-enhanced/tools/enhanced_memo_writer.py +90 -0
- package/skills/grounded-theory-expert-enhanced/tools/enhanced_saturation_checker.py +216 -0
- package/skills/grounded-theory-expert-enhanced/tools/fix_dirs.py +48 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/00_raw_data/source_document.txt +91 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/01_preprocessing/preprocessing_report.json +15 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/01_preprocessing/text_cleaned/cleaned_text.txt +198 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/01_preprocessing/text_tokenized/tokenized_text.json +1099 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_10_1%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_10_1%/segment_text.txt +20 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_10_2%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_10_2%/segment_text.txt +21 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_10_3%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_10_3%/segment_text.txt +23 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_70%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segment_70%/segment_text.txt +135 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/02_segmentation/segmentation_summary.json +34 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_constructivist/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_constructivist/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_constructivist/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_localization/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_localization/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_localization/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_phenomenological/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_phenomenological/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_phenomenological/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_positivist/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_positivist/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/expert_positivist/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/03_level1_coding/level1_all_experts_summary.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/04_level1_consensus/consensus_achievement/consensus_report.json +13 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/04_level1_consensus/consensus_achievement/merged_concept_library.json +308 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/04_level1_consensus/consensus_calculation/cohens_kappa.json +10 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/04_level1_consensus/consensus_calculation/fleiss_kappa.json +5 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/04_level1_consensus/consensus_calculation/krippendorff_alpha.json +5 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/05_level2_coding/expert_constructivist/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/05_level2_coding/expert_localization/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/05_level2_coding/expert_phenomenological/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/05_level2_coding/expert_positivist/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/05_level2_coding/level2_all_experts_summary.json +31 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/06_level2_consensus/divergence_resolution/divergence_report.json +10 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/06_level2_consensus/divergence_resolution/merged_category_library.json +7 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/06_level2_consensus/divergence_resolution/paradigm_model.json +9 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/07_level3_coding/expert_constructivist/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/07_level3_coding/expert_localization/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/07_level3_coding/expert_phenomenological/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/07_level3_coding/expert_positivist/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/07_level3_coding/level3_all_experts_summary.json +30 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/08_level3_consensus/consensus_calculation/core_category_comparison.json +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/08_level3_consensus/theoretical_integration/final_theoretical_integration.json +52 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/08_level3_consensus/theoretical_integration/theory_description.md +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/09_saturation_test/final_saturation_verdict.json +32 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/09_saturation_test/iteration_100/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/09_saturation_test/iteration_70/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/09_saturation_test/iteration_80/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/09_saturation_test/iteration_90/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/10_final_report/codebook.md +84 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/10_final_report/comprehensive_analysis_report.md +360 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/10_final_report/project_summary.json +214 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/10_final_report/theory_description.md +91 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/config.json +68 -0
- package/skills/grounded-theory-expert-enhanced/tools/hongloumeng_project/project_manifest.json +9 -0
- package/skills/grounded-theory-expert-enhanced/tools/host_cli_coder.py +168 -0
- package/skills/grounded-theory-expert-enhanced/tools/llm_expert_coder.py +469 -0
- package/skills/grounded-theory-expert-enhanced/tools/project_structure.py +1202 -0
- package/skills/grounded-theory-expert-enhanced/tools/reliability_validator.py +800 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/00_raw_data/source_document.txt +169 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/01_preprocessing/preprocessing_report.json +15 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/01_preprocessing/text_cleaned/cleaned_text.txt +200 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/01_preprocessing/text_tokenized/tokenized_text.json +1109 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_10_1%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_10_1%/segment_text.txt +22 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_10_2%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_10_2%/segment_text.txt +18 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_10_3%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_10_3%/segment_text.txt +24 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_70%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segment_70%/segment_text.txt +134 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/02_segmentation/segmentation_summary.json +34 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_constructivist/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_constructivist/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_constructivist/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_localization/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_localization/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_localization/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_phenomenological/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_phenomenological/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_phenomenological/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_positivist/initial_concepts.json +242 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_positivist/open_coding_results.json +250 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/expert_positivist/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/03_level1_coding/level1_all_experts_summary.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/04_level1_consensus/consensus_achievement/consensus_report.json +13 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/04_level1_consensus/consensus_achievement/merged_concept_library.json +308 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/04_level1_consensus/consensus_calculation/cohens_kappa.json +10 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/04_level1_consensus/consensus_calculation/fleiss_kappa.json +5 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/04_level1_consensus/consensus_calculation/krippendorff_alpha.json +5 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/05_level2_coding/expert_constructivist/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/05_level2_coding/expert_localization/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/05_level2_coding/expert_phenomenological/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/05_level2_coding/expert_positivist/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/05_level2_coding/level2_all_experts_summary.json +31 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/06_level2_consensus/divergence_resolution/divergence_report.json +10 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/06_level2_consensus/divergence_resolution/merged_category_library.json +7 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/06_level2_consensus/divergence_resolution/paradigm_model.json +9 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/07_level3_coding/expert_constructivist/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/07_level3_coding/expert_localization/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/07_level3_coding/expert_phenomenological/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/07_level3_coding/expert_positivist/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/07_level3_coding/level3_all_experts_summary.json +30 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/08_level3_consensus/consensus_calculation/core_category_comparison.json +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/08_level3_consensus/theoretical_integration/final_theoretical_integration.json +52 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/08_level3_consensus/theoretical_integration/theory_description.md +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/09_saturation_test/final_saturation_verdict.json +32 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/09_saturation_test/iteration_100/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/09_saturation_test/iteration_70/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/09_saturation_test/iteration_80/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/09_saturation_test/iteration_90/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/10_final_report/codebook.md +84 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/10_final_report/comprehensive_analysis_report.md +360 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/10_final_report/project_summary.json +214 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/10_final_report/theory_description.md +91 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/config.json +68 -0
- package/skills/grounded-theory-expert-enhanced/tools/sanguoyanyi_project/project_manifest.json +9 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_claude.py +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_host_cli_coder.py +168 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/00_raw_data/source_document.txt +11 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/01_preprocessing/preprocessing_report.json +15 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/01_preprocessing/text_cleaned/cleaned_text.txt +16 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/01_preprocessing/text_tokenized/tokenized_text.json +129 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_10_1%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_10_1%/segment_text.txt +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_10_2%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_10_2%/segment_text.txt +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_10_3%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_10_3%/segment_text.txt +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_70%/segment_info.json +8 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segment_70%/segment_text.txt +11 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/02_segmentation/segmentation_summary.json +34 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_constructivist/initial_concepts.json +218 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_constructivist/open_coding_results.json +226 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_constructivist/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_localization/initial_concepts.json +218 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_localization/open_coding_results.json +226 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_localization/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_phenomenological/initial_concepts.json +218 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_phenomenological/open_coding_results.json +226 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_phenomenological/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_positivist/initial_concepts.json +218 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_positivist/open_coding_results.json +226 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/expert_positivist/raw_quotes.json +1 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/03_level1_coding/level1_all_experts_summary.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/04_level1_consensus/consensus_achievement/consensus_report.json +13 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/04_level1_consensus/consensus_achievement/merged_concept_library.json +278 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/04_level1_consensus/consensus_calculation/cohens_kappa.json +10 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/04_level1_consensus/consensus_calculation/fleiss_kappa.json +5 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/04_level1_consensus/consensus_calculation/krippendorff_alpha.json +5 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/05_level2_coding/expert_constructivist/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/05_level2_coding/expert_localization/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/05_level2_coding/expert_phenomenological/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/05_level2_coding/expert_positivist/axial_coding_results.json +14 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/05_level2_coding/level2_all_experts_summary.json +31 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/06_level2_consensus/divergence_resolution/divergence_report.json +10 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/06_level2_consensus/divergence_resolution/merged_category_library.json +7 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/06_level2_consensus/divergence_resolution/paradigm_model.json +9 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/07_level3_coding/expert_constructivist/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/07_level3_coding/expert_localization/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/07_level3_coding/expert_phenomenological/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/07_level3_coding/expert_positivist/selective_coding_results.json +28 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/07_level3_coding/level3_all_experts_summary.json +30 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/08_level3_consensus/consensus_calculation/core_category_comparison.json +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/08_level3_consensus/theoretical_integration/final_theoretical_integration.json +52 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/08_level3_consensus/theoretical_integration/theory_description.md +40 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/09_saturation_test/final_saturation_verdict.json +32 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/09_saturation_test/iteration_100/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/09_saturation_test/iteration_70/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/09_saturation_test/iteration_80/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/09_saturation_test/iteration_90/saturation_indicators.json +6 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/10_final_report/codebook.md +84 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/10_final_report/comprehensive_analysis_report.md +360 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/10_final_report/project_summary.json +214 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/10_final_report/theory_description.md +91 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/config.json +68 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_project_3/project_manifest.json +9 -0
- package/skills/grounded-theory-expert-enhanced/tools/test_real_coding.py +135 -0
- package/skills/historical-materialist-analysis/SKILL.md +186 -0
- package/skills/information-verification/INFO.md +69 -0
- package/skills/information-verification/README.md +80 -0
- package/skills/information-verification/SKILL.md +305 -0
- package/skills/information-verification/prompts.txt +103 -0
- package/skills/information-verification/reference.md +212 -0
- package/skills/information-verification/skill.js +1056 -0
- package/skills/information-verification/skill.json +198 -0
- package/skills/management-theory-analysis/INFO.md +74 -0
- package/skills/management-theory-analysis/README.md +63 -0
- package/skills/management-theory-analysis/SKILL.md +361 -0
- package/skills/management-theory-analysis/prompts.txt +113 -0
- package/skills/management-theory-analysis/reference.md +167 -0
- package/skills/management-theory-analysis/skill.js +561 -0
- package/skills/management-theory-analysis/skill.json +223 -0
- package/skills/mathematical-statistics/SKILL.md +227 -0
- package/skills/mathematical-statistics/pyproject.toml +36 -0
- package/skills/mathematical-statistics/scripts/statistics_toolkit.py +270 -0
- package/skills/msqca-analysis/SKILL.md +261 -0
- package/skills/msqca-analysis/assets/templates/data_template.csv +11 -0
- package/skills/msqca-analysis/assets/templates/report_template.md +188 -0
- package/skills/msqca-analysis/integrated_analysis_report.md +35 -0
- package/skills/msqca-analysis/prompts/calibration-guidance.md +251 -0
- package/skills/msqca-analysis/prompts/result-interpretation.md +253 -0
- package/skills/msqca-analysis/prompts/theoretical-analysis.md +172 -0
- package/skills/msqca-analysis/pyproject.toml +37 -0
- package/skills/msqca-analysis/references/BEST_PRACTICES.md +612 -0
- package/skills/msqca-analysis/references/METHODOLOGY.md +282 -0
- package/skills/msqca-analysis/scripts/__pycache__/calibration.cpython-312.pyc +0 -0
- package/skills/msqca-analysis/scripts/__pycache__/integrated_analysis.cpython-312.pyc +0 -0
- package/skills/msqca-analysis/scripts/__pycache__/minimization.cpython-312.pyc +0 -0
- package/skills/msqca-analysis/scripts/__pycache__/truth_table.cpython-312.pyc +0 -0
- package/skills/msqca-analysis/scripts/calibration.py +341 -0
- package/skills/msqca-analysis/scripts/integrated_analysis.py +621 -0
- package/skills/msqca-analysis/scripts/integrated_analysis_report.md +35 -0
- package/skills/msqca-analysis/scripts/minimization.py +580 -0
- package/skills/msqca-analysis/scripts/truth_table.py +438 -0
- package/skills/network-computation/SKILL.md +270 -0
- package/skills/network-computation/pyproject.toml +34 -0
- package/skills/network-computation/scripts/calculate_centrality.py +213 -0
- package/skills/network-computation-expert/SKILL.md +183 -0
- package/skills/network-computation-expert/modules/__pycache__/centrality_analysis.cpython-312.pyc +0 -0
- package/skills/network-computation-expert/modules/__pycache__/community_detection.cpython-312.pyc +0 -0
- package/skills/network-computation-expert/modules/__pycache__/data_processing.cpython-312.pyc +0 -0
- package/skills/network-computation-expert/modules/__pycache__/network_construction.cpython-312.pyc +0 -0
- package/skills/network-computation-expert/modules/centrality_analysis.py +438 -0
- package/skills/network-computation-expert/modules/community_detection.py +467 -0
- package/skills/network-computation-expert/modules/data_processing.py +467 -0
- package/skills/network-computation-expert/modules/network_construction.py +460 -0
- package/skills/network-computation-expert/pyproject.toml +27 -0
- package/skills/network-computation-expert/scripts/network_computation_expert_analyzer.py +208 -0
- package/skills/network-computation-expert/test_input.json +140 -0
- package/skills/network-computation-expert/test_output.json +627 -0
- package/skills/operations-analysis/INFO.md +76 -0
- package/skills/operations-analysis/README.md +61 -0
- package/skills/operations-analysis/SKILL.md +365 -0
- package/skills/operations-analysis/prompts.txt +109 -0
- package/skills/operations-analysis/pyproject.toml +35 -0
- package/skills/operations-analysis/reference.md +178 -0
- package/skills/operations-analysis/skill.js +870 -0
- package/skills/operations-analysis/skill.json +219 -0
- package/skills/patent-downloader/README.md +358 -0
- package/skills/patent-downloader/SKILL.md +309 -0
- package/skills/patent-downloader/assets/README_TEMPLATE.md +140 -0
- package/skills/patent-downloader/assets/requirements.txt +5 -0
- package/skills/patent-downloader/references/google_patents.md +210 -0
- package/skills/patent-downloader/scripts/patent_server.py +279 -0
- package/skills/performing-axial-coding/SKILL.md +301 -0
- package/skills/performing-axial-coding/pyproject.toml +30 -0
- package/skills/performing-axial-coding/references/README.md +111 -0
- package/skills/performing-axial-coding/references/_BACKUP_paradigm-theory.md +375 -0
- package/skills/performing-axial-coding/references/_BACKUP_relationship-types.md +544 -0
- package/skills/performing-axial-coding/references/_BACKUP_troubleshooting.md +627 -0
- package/skills/performing-axial-coding/references/category-construction/INDEX.md +190 -0
- package/skills/performing-axial-coding/references/category-construction/complete-example.md +438 -0
- package/skills/performing-axial-coding/references/paradigm-theory/INDEX.md +181 -0
- package/skills/performing-axial-coding/references/paradigm-theory/chinese-adaptation.md +349 -0
- package/skills/performing-axial-coding/references/paradigm-theory/quality-standards.md +345 -0
- package/skills/performing-axial-coding/references/paradigm-theory/six-components.md +323 -0
- package/skills/performing-axial-coding/references/relationship-types/INDEX.md +126 -0
- package/skills/performing-axial-coding/references/relationship-types/causal.md +141 -0
- package/skills/performing-axial-coding/references/relationship-types/conditional.md +150 -0
- package/skills/performing-axial-coding/references/troubleshooting/INDEX.md +136 -0
- package/skills/performing-axial-coding/references/troubleshooting/category-issues.md +129 -0
- package/skills/performing-axial-coding/references/troubleshooting/relationship-issues.md +137 -0
- package/skills/performing-axial-coding/references/troubleshooting/technical-issues.md +184 -0
- package/skills/performing-axial-coding/scripts/__pycache__/build_relationships.cpython-312.pyc +0 -0
- package/skills/performing-axial-coding/scripts/__pycache__/construct_paradigm.cpython-312.pyc +0 -0
- package/skills/performing-axial-coding/scripts/__pycache__/identify_categories.cpython-312.pyc +0 -0
- package/skills/performing-axial-coding/scripts/build_relationships.py +314 -0
- package/skills/performing-axial-coding/scripts/categories_test.json +122 -0
- package/skills/performing-axial-coding/scripts/construct_paradigm.py +271 -0
- package/skills/performing-axial-coding/scripts/identify_categories.py +267 -0
- package/skills/performing-axial-coding/tests/test_integration.py +84 -0
- package/skills/performing-centrality-analysis/SKILL.md +210 -0
- package/skills/performing-centrality-analysis/pyproject.toml +21 -0
- package/skills/performing-centrality-analysis/references/README.md +60 -0
- package/skills/performing-centrality-analysis/references/centrality-theory/INDEX.md +136 -0
- package/skills/performing-centrality-analysis/references/chinese-context/INDEX.md +169 -0
- package/skills/performing-centrality-analysis/scripts/__pycache__/calculate_centrality.cpython-312.pyc +0 -0
- package/skills/performing-centrality-analysis/scripts/calculate_centrality.py +213 -0
- package/skills/performing-centrality-analysis/tests/__pycache__/test_calculate_centrality.cpython-312-pytest-7.4.3.pyc +0 -0
- package/skills/performing-centrality-analysis/tests/test_calculate_centrality.py +218 -0
- package/skills/performing-network-computation/SKILL.md +224 -0
- package/skills/performing-network-computation/pyproject.toml +34 -0
- package/skills/performing-network-computation/scripts/build_network.py +260 -0
- package/skills/performing-network-computation/scripts/calculate_metrics.py +236 -0
- package/skills/performing-network-computation/scripts/detect_communities.py +281 -0
- package/skills/performing-network-computation/scripts/visualize_network.py +272 -0
- package/skills/performing-open-coding/SKILL.md +299 -0
- package/skills/performing-open-coding/pyproject.toml +35 -0
- package/skills/performing-open-coding/references/chinese-context.md +270 -0
- package/skills/performing-open-coding/references/examples.md +338 -0
- package/skills/performing-open-coding/references/theory.md +215 -0
- package/skills/performing-open-coding/references/troubleshooting.md +491 -0
- package/skills/performing-open-coding/scripts/__pycache__/auto_loader.cpython-312.pyc +0 -0
- package/skills/performing-open-coding/scripts/__pycache__/compare_codes.cpython-312.pyc +0 -0
- package/skills/performing-open-coding/scripts/__pycache__/preprocess_text.cpython-312.pyc +0 -0
- package/skills/performing-open-coding/scripts/auto_loader.py +195 -0
- package/skills/performing-open-coding/scripts/cluster_concepts.py +294 -0
- package/skills/performing-open-coding/scripts/clusters_test.json +169 -0
- package/skills/performing-open-coding/scripts/compare_codes.py +257 -0
- package/skills/performing-open-coding/scripts/comparison_test.json +19 -0
- package/skills/performing-open-coding/scripts/concepts_test.json +135 -0
- package/skills/performing-open-coding/scripts/preprocess_text.py +218 -0
- package/skills/performing-open-coding/scripts/test_output.json +134 -0
- package/skills/performing-open-coding/scripts/validate_codes.py +302 -0
- package/skills/performing-open-coding/scripts/validation_test.json +95 -0
- package/skills/performing-open-coding/tests/__pycache__/test_auto_loader.cpython-312-pytest-7.4.3.pyc +0 -0
- package/skills/performing-open-coding/tests/__pycache__/test_preprocess.cpython-312-pytest-7.4.3.pyc +0 -0
- package/skills/performing-open-coding/tests/run_integration_tests.py +148 -0
- package/skills/performing-open-coding/tests/test_auto_loader.py +233 -0
- package/skills/performing-open-coding/tests/test_compare_codes.py +336 -0
- package/skills/performing-open-coding/tests/test_preprocess.py +187 -0
- package/skills/performing-selective-coding/SKILL.md +305 -0
- package/skills/performing-selective-coding/pyproject.toml +21 -0
- package/skills/performing-selective-coding/references/README.md +86 -0
- package/skills/performing-selective-coding/references/core-category/INDEX.md +132 -0
- package/skills/performing-selective-coding/references/saturation/INDEX.md +153 -0
- package/skills/performing-selective-coding/references/storyline/INDEX.md +166 -0
- package/skills/performing-selective-coding/references/theory-integration/INDEX.md +203 -0
- package/skills/performing-selective-coding/scripts/README.md +101 -0
- package/skills/performing-selective-coding/scripts/__pycache__/check_saturation.cpython-312.pyc +0 -0
- package/skills/performing-selective-coding/scripts/__pycache__/identify_core_category.cpython-312.pyc +0 -0
- package/skills/performing-selective-coding/scripts/check_saturation.py +236 -0
- package/skills/performing-selective-coding/scripts/construct_storyline.py +237 -0
- package/skills/performing-selective-coding/scripts/identify_core_category.py +265 -0
- package/skills/performing-selective-coding/scripts/integrate_theory.py +173 -0
- package/skills/performing-selective-coding/tests/__pycache__/test_check_saturation.cpython-312-pytest-7.4.3.pyc +0 -0
- package/skills/performing-selective-coding/tests/__pycache__/test_identify_core_category.cpython-312-pytest-7.4.3.pyc +0 -0
- package/skills/performing-selective-coding/tests/test_check_saturation.py +157 -0
- package/skills/performing-selective-coding/tests/test_identify_core_category.py +157 -0
- package/skills/practical-marxist-application/SKILL.md +230 -0
- package/skills/processing-network-data/SKILL.md +146 -0
- package/skills/processing-network-data/pyproject.toml +33 -0
- package/skills/processing-network-data/scripts/clean_survey_data.py +285 -0
- package/skills/processing-network-data/scripts/extract_network_data.py +286 -0
- package/skills/processing-network-data/scripts/transform_data_format.py +334 -0
- package/skills/processing-network-data/scripts/validate_network_data.py +322 -0
- package/skills/pubscholar-auto-search/AGENTSKILLS_OPTIMIZATION_REPORT.md +540 -0
- package/skills/pubscholar-auto-search/README.md +66 -0
- package/skills/pubscholar-auto-search/SKILL.md +242 -0
- package/skills/pubscholar-auto-search/references/API_REFERENCE.md +349 -0
- package/skills/pubscholar-auto-search/references/DEVELOPMENT.md +395 -0
- package/skills/pubscholar-auto-search/references/EXTENSION_STRATEGIES.md +415 -0
- package/skills/pubscholar-auto-search/references/USER_GUIDE.md +432 -0
- package/skills/pubscholar-auto-search/requirements.txt +17 -0
- package/skills/pubscholar-auto-search/scripts/__pycache__/pubscholar_searcher.cpython-312.pyc +0 -0
- package/skills/pubscholar-auto-search/scripts/pubscholar_searcher.py +602 -0
- package/skills/pubscholar-auto-search/scripts/test_pubscholar_search.py +205 -0
- package/skills/research-design/DEPENDENCY_MANAGEMENT.md +112 -0
- package/skills/research-design/README.md +158 -0
- package/skills/research-design/SKILL.md +82 -0
- package/skills/research-design/assets/templates/research_design_template.md +297 -0
- package/skills/research-design/prompts/analysis-strategy-outline.md +307 -0
- package/skills/research-design/prompts/analysis-strategy.md +37 -0
- package/skills/research-design/prompts/data-planning-outline.md +204 -0
- package/skills/research-design/prompts/data-planning.md +36 -0
- package/skills/research-design/prompts/ethics-review-outline.md +406 -0
- package/skills/research-design/prompts/ethics-review.md +36 -0
- package/skills/research-design/prompts/method-selection-outline.md +181 -0
- package/skills/research-design/prompts/method-selection.md +36 -0
- package/skills/research-design/prompts/problem-definition-outline.md +107 -0
- package/skills/research-design/prompts/problem-definition.md +30 -0
- package/skills/research-design/pyproject.toml +35 -0
- package/skills/research-design/references/best-practices.md +185 -0
- package/skills/research-design/references/methodology.md +162 -0
- package/skills/research-design/scripts/__pycache__/design_evaluation.cpython-312.pyc +0 -0
- package/skills/research-design/scripts/__pycache__/integrated_analysis.cpython-312.pyc +0 -0
- package/skills/research-design/scripts/__pycache__/literature_analysis.cpython-312.pyc +0 -0
- package/skills/research-design/scripts/__pycache__/method_matching.cpython-312.pyc +0 -0
- package/skills/research-design/scripts/design_evaluation.py +670 -0
- package/skills/research-design/scripts/integrated_analysis.py +543 -0
- package/skills/research-design/scripts/literature_analysis.py +303 -0
- package/skills/research-design/scripts/method_matching.py +478 -0
- package/skills/research-design/test_research_design.py +281 -0
- package/skills/sna-analysis/integration_with_trusted_scraper.md +115 -0
- package/skills/spark-integration/INFO.md +64 -0
- package/skills/spark-integration/README.md +159 -0
- package/skills/spark-integration/SKILL.md +232 -0
- package/skills/spark-integration/skill.js +308 -0
- package/skills/spark-integration/skill.json +37 -0
- package/skills/trusted-web-scraper/CONFIG.yaml +60 -0
- package/skills/trusted-web-scraper/README.md +137 -0
- package/skills/trusted-web-scraper/SKILL.md +173 -0
- package/skills/trusted-web-scraper/final_test.json +240 -0
- package/skills/trusted-web-scraper/modules/__pycache__/core_trusted_scraper.cpython-312.pyc +0 -0
- package/skills/trusted-web-scraper/modules/__pycache__/scraper.cpython-312.pyc +0 -0
- package/skills/trusted-web-scraper/modules/__pycache__/trusted_web_scraper.cpython-312.pyc +0 -0
- package/skills/trusted-web-scraper/modules/core_trusted_scraper.py +778 -0
- package/skills/trusted-web-scraper/modules/scraper_minimal.py +623 -0
- package/skills/trusted-web-scraper/pyproject.toml +46 -0
- package/skills/trusted-web-scraper/scripts/__pycache__/trusted_web_scraper.cpython-312.pyc +0 -0
- package/skills/trusted-web-scraper/scripts/trusted_web_scraper.py +109 -0
- package/skills/trusted-web-scraper/test_comprehensive.py +53 -0
- package/skills/trusted-web-scraper/test_full.py +154 -0
- package/skills/trusted-web-scraper/test_input.json +10 -0
- package/skills/trusted-web-scraper/test_output.json +162 -0
- package/skills/trusted-web-scraper/test_output2.json +240 -0
- package/skills/trusted-web-scraper/test_output3.json +240 -0
- package/skills/trusted-web-scraper/test_output4.json +240 -0
- package/skills/validity-reliability/SKILL.md +130 -0
- package/skills/validity-reliability/pyproject.toml +36 -0
- package/skills/validity-reliability/scripts/validity_reliability_toolkit.py +480 -0
- package/skills/verify_compliance.ps1 +40 -0
- package/skills/visualization-expert/INFO.md +77 -0
- package/skills/visualization-expert/README.md +78 -0
- package/skills/visualization-expert/SKILL.md +374 -0
- package/skills/visualization-expert/prompts.txt +92 -0
- package/skills/visualization-expert/reference.md +212 -0
- package/skills/visualization-expert/skill.js +904 -0
- package/skills/visualization-expert/skill.json +195 -0
- package/skills/writing-grounded-theory-memos/SKILL.md +301 -0
|
@@ -0,0 +1,870 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 运营分析技能实现
|
|
3
|
+
* 遵循agentskills.io规范和渐进式披露原则
|
|
4
|
+
* 定量分析程序化,定性分析AI化
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
class OperationsAnalysisSkill {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.skillId = "operations-analysis";
|
|
10
|
+
this.version = "2.0.0";
|
|
11
|
+
this.name = "运营分析";
|
|
12
|
+
this.description = "基于运营管理理论,对企业运营流程、效率、质量、供应链等进行系统分析";
|
|
13
|
+
|
|
14
|
+
// 初始化模块
|
|
15
|
+
this.dataCollector = new OperationsDataCollectionModule();
|
|
16
|
+
this.analyzer = new OperationsAnalysisModule();
|
|
17
|
+
this.validator = new OperationsValidationModule();
|
|
18
|
+
this.reporter = new OperationsReportingModule();
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* 执行技能主方法
|
|
23
|
+
* 实现渐进式披露:根据focusAreas参数决定分析详略程度
|
|
24
|
+
*/
|
|
25
|
+
async execute(inputs) {
|
|
26
|
+
try {
|
|
27
|
+
// 验证输入参数
|
|
28
|
+
this.validateInputs(inputs);
|
|
29
|
+
|
|
30
|
+
// 收集运营数据
|
|
31
|
+
const operationsData = await this.dataCollector.collect(inputs.companyData);
|
|
32
|
+
|
|
33
|
+
// 执行分析(可选择关注领域以控制上下文)
|
|
34
|
+
const analysisResults = await this.analyzer.analyze(
|
|
35
|
+
operationsData,
|
|
36
|
+
inputs.focusAreas || null, // 支持指定关注领域
|
|
37
|
+
inputs.detailedAnalysis || false // 支持详细/摘要分析
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
// 验证结果
|
|
41
|
+
const validatedResults = await this.validator.validate(analysisResults);
|
|
42
|
+
|
|
43
|
+
// 生成报告(支持不同详细程度)
|
|
44
|
+
const finalReport = await this.reporter.generate(
|
|
45
|
+
validatedResults,
|
|
46
|
+
inputs.detailedReport || false,
|
|
47
|
+
inputs.analysisDepth || 'standard'
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
return {
|
|
51
|
+
success: true,
|
|
52
|
+
data: finalReport,
|
|
53
|
+
metadata: {
|
|
54
|
+
skillId: this.skillId,
|
|
55
|
+
version: this.version,
|
|
56
|
+
executionTime: new Date().toISOString(),
|
|
57
|
+
contextLevel: inputs.detailedReport ? "detailed" : "summary",
|
|
58
|
+
focusAreas: inputs.focusAreas || "all"
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
} catch (error) {
|
|
62
|
+
return {
|
|
63
|
+
success: false,
|
|
64
|
+
error: error.message,
|
|
65
|
+
metadata: {
|
|
66
|
+
skillId: this.skillId,
|
|
67
|
+
version: this.version,
|
|
68
|
+
executionTime: new Date().toISOString()
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* 验证输入参数
|
|
76
|
+
*/
|
|
77
|
+
validateInputs(inputs) {
|
|
78
|
+
if (!inputs || !inputs.companyData) {
|
|
79
|
+
throw new Error("缺少必需的companyData参数");
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
if (!inputs.companyData.name) {
|
|
83
|
+
throw new Error("企业名称为必需参数");
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* 运营数据收集模块
|
|
90
|
+
* 程序化执行运营数据收集
|
|
91
|
+
*/
|
|
92
|
+
class OperationsDataCollectionModule {
|
|
93
|
+
async collect(companyData) {
|
|
94
|
+
// 并行收集运营相关信息
|
|
95
|
+
const [processData, qualityData, supplyChainData, costData] = await Promise.allSettled([
|
|
96
|
+
this.getProcessData(companyData),
|
|
97
|
+
this.getQualityData(companyData),
|
|
98
|
+
this.getSupplyChainData(companyData),
|
|
99
|
+
this.getCostData(companyData)
|
|
100
|
+
]);
|
|
101
|
+
|
|
102
|
+
return {
|
|
103
|
+
companyProfile: companyData,
|
|
104
|
+
processData: processData.status === 'fulfilled' ? processData.value : null,
|
|
105
|
+
qualityData: qualityData.status === 'fulfilled' ? qualityData.value : null,
|
|
106
|
+
supplyChainData: supplyChainData.status === 'fulfilled' ? supplyChainData.value : null,
|
|
107
|
+
costData: costData.status === 'fulfilled' ? costData.value : null
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
async getProcessData(companyData) {
|
|
112
|
+
// 模拟从运营系统获取流程数据
|
|
113
|
+
return {
|
|
114
|
+
cycleTimes: {
|
|
115
|
+
avg: 4.5, // 平均周期时间(天)
|
|
116
|
+
min: 1.2,
|
|
117
|
+
max: 12.8
|
|
118
|
+
},
|
|
119
|
+
throughput: 10000, // 日处理量
|
|
120
|
+
utilizationRates: {
|
|
121
|
+
equipment: 0.78,
|
|
122
|
+
labor: 0.82
|
|
123
|
+
},
|
|
124
|
+
bottlenecks: ["质检环节", "包装环节"],
|
|
125
|
+
automationLevel: 0.65
|
|
126
|
+
};
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
async getQualityData(companyData) {
|
|
130
|
+
// 模拟从质量管理系统获取数据
|
|
131
|
+
return {
|
|
132
|
+
defectRate: 25, // 百万分之25
|
|
133
|
+
qualityMetrics: {
|
|
134
|
+
firstPassYield: 0.965,
|
|
135
|
+
customerComplaints: 12,
|
|
136
|
+
auditScore: 92
|
|
137
|
+
},
|
|
138
|
+
qualitySystems: ["ISO 9001", "Six Sigma"],
|
|
139
|
+
improvementInitiatives: ["Lean Manufacturing", "Kaizen"]
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
async getSupplyChainData(companyData) {
|
|
144
|
+
// 模拟从供应链系统获取数据
|
|
145
|
+
return {
|
|
146
|
+
suppliers: 45,
|
|
147
|
+
keySuppliers: 8,
|
|
148
|
+
geographicDistribution: {
|
|
149
|
+
local: 0.4,
|
|
150
|
+
regional: 0.35,
|
|
151
|
+
global: 0.25
|
|
152
|
+
},
|
|
153
|
+
leadTimes: {
|
|
154
|
+
avg: 14, // 平均提前期(天)
|
|
155
|
+
min: 3,
|
|
156
|
+
max: 30
|
|
157
|
+
},
|
|
158
|
+
riskFactors: ["单一供应商依赖", "运输风险"],
|
|
159
|
+
performanceMetrics: {
|
|
160
|
+
onTimeDelivery: 0.94,
|
|
161
|
+
fillRate: 0.97
|
|
162
|
+
}
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
async getCostData(companyData) {
|
|
167
|
+
// 模拟从财务系统获取成本数据
|
|
168
|
+
return {
|
|
169
|
+
costStructure: {
|
|
170
|
+
materials: 0.45, // 原材料占比
|
|
171
|
+
labor: 0.25, // 人工占比
|
|
172
|
+
overhead: 0.20, // 间接费用占比
|
|
173
|
+
other: 0.10 // 其他费用占比
|
|
174
|
+
},
|
|
175
|
+
costPerUnit: 125.50,
|
|
176
|
+
costTrends: {
|
|
177
|
+
materialCostTrend: "上升",
|
|
178
|
+
laborCostTrend: "稳定",
|
|
179
|
+
overheadTrend: "下降"
|
|
180
|
+
}
|
|
181
|
+
};
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* 运营分析模块
|
|
187
|
+
* 定量计算程序化,定性分析AI化
|
|
188
|
+
*/
|
|
189
|
+
class OperationsAnalysisModule {
|
|
190
|
+
async analyze(data, focusAreas = null, detailed = false) {
|
|
191
|
+
// 根据focusAreas决定分析详略程度,实现渐进式披露
|
|
192
|
+
const analysis = {};
|
|
193
|
+
|
|
194
|
+
// 流程效率分析(定量,程序化)
|
|
195
|
+
if (!focusAreas || focusAreas.includes('processEfficiency')) {
|
|
196
|
+
analysis.processEfficiency = await this.analyzeProcessEfficiency(data, detailed);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
// 质量管理分析(定量+定性)
|
|
200
|
+
if (!focusAreas || focusAreas.includes('qualityManagement')) {
|
|
201
|
+
analysis.qualityManagement = await this.analyzeQualityManagement(data, detailed);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
// 供应链分析(定量+定性)
|
|
205
|
+
if (!focusAreas || focusAreas.includes('supplyChain')) {
|
|
206
|
+
analysis.supplyChain = await this.analyzeSupplyChain(data, detailed);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
// 成本优化分析(定量+定性)
|
|
210
|
+
if (!focusAreas || focusAreas.includes('costOptimization')) {
|
|
211
|
+
analysis.costOptimization = await this.analyzeCostOptimization(data, detailed);
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// 产能规划分析(定量,程序化)
|
|
215
|
+
if (!focusAreas || focusAreas.includes('capacityPlanning')) {
|
|
216
|
+
analysis.capacityPlanning = await this.analyzeCapacityPlanning(data, detailed);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// 库存管理分析(定量,程序化)
|
|
220
|
+
if (!focusAreas || focusAreas.includes('inventoryManagement')) {
|
|
221
|
+
analysis.inventoryManagement = await this.analyzeInventoryManagement(data, detailed);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
// 物流分析(定量+定性)
|
|
225
|
+
if (!focusAreas || focusAreas.includes('logistics')) {
|
|
226
|
+
analysis.logistics = await this.analyzeLogistics(data, detailed);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
// 绩效指标分析(定量,程序化)
|
|
230
|
+
if (!focusAreas || focusAreas.includes('performanceMetrics')) {
|
|
231
|
+
analysis.performanceMetrics = await this.analyzePerformanceMetrics(data, detailed);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
return {
|
|
235
|
+
operationsElements: analysis,
|
|
236
|
+
operationalData: data,
|
|
237
|
+
analysisTimestamp: new Date().toISOString()
|
|
238
|
+
};
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
async analyzeProcessEfficiency(data, detailed = false) {
|
|
242
|
+
// 程序化计算流程效率指标
|
|
243
|
+
const processData = data.processData;
|
|
244
|
+
if (!processData) {
|
|
245
|
+
return {
|
|
246
|
+
efficiency: "数据不足",
|
|
247
|
+
assessment: "需要完整运营流程数据"
|
|
248
|
+
};
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
const avgCycleTime = processData.cycleTimes.avg;
|
|
252
|
+
const equipmentUtil = processData.utilizationRates.equipment;
|
|
253
|
+
const laborUtil = processData.utilizationRates.labor;
|
|
254
|
+
|
|
255
|
+
// 评估效率水平
|
|
256
|
+
const efficiencyScore = this.calculateEfficiencyScore(avgCycleTime, equipmentUtil, laborUtil);
|
|
257
|
+
const assessment = this.assessProcessEfficiency(efficiencyScore);
|
|
258
|
+
|
|
259
|
+
const result = {
|
|
260
|
+
currentState: assessment,
|
|
261
|
+
avgCycleTime: avgCycleTime,
|
|
262
|
+
equipmentUtilization: equipmentUtil,
|
|
263
|
+
laborUtilization: laborUtil,
|
|
264
|
+
bottlenecks: processData.bottlenecks || [],
|
|
265
|
+
automationLevel: processData.automationLevel,
|
|
266
|
+
efficiencyScore: efficiencyScore,
|
|
267
|
+
improvementPotential: 1 - (efficiencyScore / 100)
|
|
268
|
+
};
|
|
269
|
+
|
|
270
|
+
if (detailed) {
|
|
271
|
+
result.detailedMetrics = {
|
|
272
|
+
cycleTimeRange: processData.cycleTimes,
|
|
273
|
+
throughput: processData.throughput,
|
|
274
|
+
detailedBottlenecks: processData.bottlenecks,
|
|
275
|
+
automationPlan: "提升至0.80自动化水平"
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
return result;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
calculateEfficiencyScore(cycleTime, equipUtil, laborUtil) {
|
|
283
|
+
// 综合计算效率分数(0-100)
|
|
284
|
+
let score = 0;
|
|
285
|
+
|
|
286
|
+
// 周期时间评分(越短越好,假设行业平均为5天)
|
|
287
|
+
if (cycleTime <= 3) score += 30;
|
|
288
|
+
else if (cycleTime <= 5) score += 25;
|
|
289
|
+
else if (cycleTime <= 7) score += 20;
|
|
290
|
+
else score += 15;
|
|
291
|
+
|
|
292
|
+
// 设备利用率评分(适中为好,过高过低都不佳)
|
|
293
|
+
if (equipUtil >= 0.7 && equipUtil <= 0.9) score += 25;
|
|
294
|
+
else if (equipUtil >= 0.5 && equipUtil < 0.7) score += 20;
|
|
295
|
+
else if (equipUtil >= 0.9 && equipUtil <= 0.95) score += 20;
|
|
296
|
+
else score += 10;
|
|
297
|
+
|
|
298
|
+
// 人工利用率评分
|
|
299
|
+
if (laborUtil >= 0.7 && laborUtil <= 0.9) score += 25;
|
|
300
|
+
else if (laborUtil >= 0.5 && laborUtil < 0.7) score += 20;
|
|
301
|
+
else if (laborUtil >= 0.9 && laborUtil <= 0.95) score += 20;
|
|
302
|
+
else score += 10;
|
|
303
|
+
|
|
304
|
+
return Math.min(100, score);
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
assessProcessEfficiency(score) {
|
|
308
|
+
if (score >= 85) return "流程效率优秀";
|
|
309
|
+
if (score >= 70) return "流程效率良好";
|
|
310
|
+
if (score >= 50) return "流程效率一般";
|
|
311
|
+
return "流程效率需改进";
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
async analyzeQualityManagement(data, detailed = false) {
|
|
315
|
+
// 分析质量管理
|
|
316
|
+
const qualityData = data.qualityData;
|
|
317
|
+
|
|
318
|
+
const result = {
|
|
319
|
+
system: qualityData?.qualitySystems?.join(', ') || "待评估",
|
|
320
|
+
defectRate: qualityData?.defectRate ? `百万分之${qualityData.defectRate}` : "待评估",
|
|
321
|
+
firstPassYield: qualityData?.qualityMetrics?.firstPassYield,
|
|
322
|
+
onTimeQuality: qualityData?.qualityMetrics?.auditScore,
|
|
323
|
+
effectiveness: this.assessQualityEffectiveness(qualityData)
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
if (detailed) {
|
|
327
|
+
result.detailedAssessment = {
|
|
328
|
+
qualityMetrics: qualityData?.qualityMetrics,
|
|
329
|
+
improvementInitiatives: qualityData?.improvementInitiatives,
|
|
330
|
+
customerFeedback: qualityData?.qualityMetrics?.customerComplaints,
|
|
331
|
+
qualityCosts: "待具体数据"
|
|
332
|
+
};
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
return result;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
assessQualityEffectiveness(qualityData) {
|
|
339
|
+
if (!qualityData || !qualityData.qualityMetrics) return "待评估";
|
|
340
|
+
|
|
341
|
+
const yield = qualityData.qualityMetrics.firstPassYield || 0;
|
|
342
|
+
const auditScore = qualityData.qualityMetrics.auditScore || 0;
|
|
343
|
+
|
|
344
|
+
if (yield >= 0.97 && auditScore >= 90) return "优秀";
|
|
345
|
+
if (yield >= 0.95 && auditScore >= 85) return "良好";
|
|
346
|
+
if (yield >= 0.90 && auditScore >= 80) return "一般";
|
|
347
|
+
return "需改进";
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
async analyzeSupplyChain(data, detailed = false) {
|
|
351
|
+
// 分析供应链
|
|
352
|
+
const supplyData = data.supplyChainData;
|
|
353
|
+
|
|
354
|
+
const result = {
|
|
355
|
+
structure: this.describeSupplyChainStructure(supplyData),
|
|
356
|
+
keyPartners: supplyData?.keySuppliers,
|
|
357
|
+
efficiencyMetrics: {
|
|
358
|
+
onTimeDelivery: supplyData?.performanceMetrics?.onTimeDelivery,
|
|
359
|
+
fillRate: supplyData?.performanceMetrics?.fillRate
|
|
360
|
+
},
|
|
361
|
+
efficiency: this.assessSupplyChainEfficiency(supplyData),
|
|
362
|
+
riskFactors: supplyData?.riskFactors || []
|
|
363
|
+
};
|
|
364
|
+
|
|
365
|
+
if (detailed) {
|
|
366
|
+
result.detailedAnalysis = {
|
|
367
|
+
supplierCount: supplyData?.suppliers,
|
|
368
|
+
geographicDistribution: supplyData?.geographicDistribution,
|
|
369
|
+
leadTimeAnalysis: supplyData?.leadTimes,
|
|
370
|
+
riskMitigation: ["多元化供应", "安全库存"],
|
|
371
|
+
collaborationLevel: "中等"
|
|
372
|
+
};
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
return result;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
describeSupplyChainStructure(supplyData) {
|
|
379
|
+
if (!supplyData) return "待评估";
|
|
380
|
+
const suppliers = supplyData.suppliers || 0;
|
|
381
|
+
const localRatio = supplyData.geographicDistribution?.local || 0;
|
|
382
|
+
|
|
383
|
+
if (suppliers > 50) return "复杂多级供应链";
|
|
384
|
+
if (suppliers > 20) return "多层次供应链";
|
|
385
|
+
return "相对简单的供应链结构";
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
assessSupplyChainEfficiency(supplyData) {
|
|
389
|
+
if (!supplyData || !supplyData.performanceMetrics) return "待评估";
|
|
390
|
+
|
|
391
|
+
const onTime = supplyData.performanceMetrics.onTimeDelivery || 0;
|
|
392
|
+
const fillRate = supplyData.performanceMetrics.fillRate || 0;
|
|
393
|
+
|
|
394
|
+
if (onTime >= 0.95 && fillRate >= 0.95) return "高效";
|
|
395
|
+
if (onTime >= 0.90 && fillRate >= 0.90) return "良好";
|
|
396
|
+
if (onTime >= 0.85 && fillRate >= 0.85) return "一般";
|
|
397
|
+
return "需改进";
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
async analyzeCostOptimization(data, detailed = false) {
|
|
401
|
+
// 分析成本优化
|
|
402
|
+
const costData = data.costData;
|
|
403
|
+
|
|
404
|
+
const result = {
|
|
405
|
+
costStructure: costData?.costStructure || {},
|
|
406
|
+
costPerUnit: costData?.costPerUnit || 0,
|
|
407
|
+
costTrends: costData?.costTrends || {},
|
|
408
|
+
optimizationPotential: this.assessCostOptimizationPotential(costData),
|
|
409
|
+
initiatives: ["精益生产", "供应商整合", "自动化升级"]
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
if (detailed) {
|
|
413
|
+
result.detailedCostAnalysis = {
|
|
414
|
+
detailedStructure: costData?.costStructure,
|
|
415
|
+
costDrivers: this.identifyCostDrivers(costData),
|
|
416
|
+
benchmarking: "待行业基准数据",
|
|
417
|
+
improvementRoadmap: ["短期: 降低材料成本", "中期: 提高效率", "长期: 工艺创新"]
|
|
418
|
+
};
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
return result;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
assessCostOptimizationPotential(costData) {
|
|
425
|
+
if (!costData) return 0.05; // 假设5%优化潜力
|
|
426
|
+
|
|
427
|
+
// 基于成本结构和趋势评估优化潜力
|
|
428
|
+
let potential = 0.05; // 基础优化潜力
|
|
429
|
+
|
|
430
|
+
// 如果材料成本占比高,优化潜力可能更大
|
|
431
|
+
if (costData.costStructure?.materials > 0.5) potential += 0.10;
|
|
432
|
+
|
|
433
|
+
// 如果人工成本趋势稳定,自动化优化潜力大
|
|
434
|
+
if (costData.costTrends?.laborCostTrend === "上升") potential += 0.05;
|
|
435
|
+
|
|
436
|
+
return Math.min(0.25, potential); // 最大25%优化潜力
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
identifyCostDrivers(costData) {
|
|
440
|
+
if (!costData?.costStructure) return ["待评估"];
|
|
441
|
+
|
|
442
|
+
const structure = costData.costStructure;
|
|
443
|
+
const drivers = [];
|
|
444
|
+
|
|
445
|
+
if (structure.materials > 0.4) drivers.push("材料成本");
|
|
446
|
+
if (structure.labor > 0.3) drivers.push("人工成本");
|
|
447
|
+
if (structure.overhead > 0.2) drivers.push("间接费用");
|
|
448
|
+
|
|
449
|
+
return drivers.length > 0 ? drivers : ["其他成本因素"];
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
async analyzeCapacityPlanning(data, detailed = false) {
|
|
453
|
+
// 分析产能规划
|
|
454
|
+
const processData = data.processData;
|
|
455
|
+
|
|
456
|
+
const result = {
|
|
457
|
+
currentUtilization: processData?.utilizationRates?.equipment || 0,
|
|
458
|
+
capacityFlexibility: this.assessCapacityFlexibility(processData),
|
|
459
|
+
expansionNeeds: this.assessExpansionNeeds(processData),
|
|
460
|
+
efficiency: this.assessCapacityEfficiency(processData)
|
|
461
|
+
};
|
|
462
|
+
|
|
463
|
+
if (detailed) {
|
|
464
|
+
result.detailedCapacity = {
|
|
465
|
+
equipmentUtilization: processData?.utilizationRates?.equipment,
|
|
466
|
+
laborUtilization: processData?.utilizationRates?.labor,
|
|
467
|
+
peakCapacity: "待具体数据",
|
|
468
|
+
capacityConstraints: processData?.bottlenecks || [],
|
|
469
|
+
capacityPlanningHorizon: "中长期规划"
|
|
470
|
+
};
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
return result;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
assessCapacityFlexibility(processData) {
|
|
477
|
+
if (!processData) return "待评估";
|
|
478
|
+
|
|
479
|
+
const equipUtil = processData.utilizationRates?.equipment || 0;
|
|
480
|
+
|
|
481
|
+
if (equipUtil >= 0.7 && equipUtil <= 0.85) return "灵活性良好";
|
|
482
|
+
if (equipUtil > 0.85) return "灵活性较低";
|
|
483
|
+
if (equipUtil < 0.7) return "灵活性较高";
|
|
484
|
+
return "待评估";
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
assessExpansionNeeds(processData) {
|
|
488
|
+
if (!processData) return "待评估";
|
|
489
|
+
|
|
490
|
+
const equipUtil = processData.utilizationRates?.equipment || 0;
|
|
491
|
+
|
|
492
|
+
if (equipUtil > 0.9) return "急需扩张";
|
|
493
|
+
if (equipUtil > 0.85) return "短期需扩张";
|
|
494
|
+
if (equipUtil > 0.75) return "中期考虑扩张";
|
|
495
|
+
return "暂无需扩张";
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
assessCapacityEfficiency(processData) {
|
|
499
|
+
if (!processData) return "待评估";
|
|
500
|
+
|
|
501
|
+
const equipUtil = processData.utilizationRates?.equipment || 0;
|
|
502
|
+
|
|
503
|
+
if (equipUtil >= 0.75 && equipUtil <= 0.9) return "高效";
|
|
504
|
+
if (equipUtil >= 0.65 || equipUtil <= 0.95) return "良好";
|
|
505
|
+
return "需改进";
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
async analyzeInventoryManagement(data, detailed = false) {
|
|
509
|
+
// 分析库存管理
|
|
510
|
+
const result = {
|
|
511
|
+
turnoverRate: 8.5, // 假设值
|
|
512
|
+
managementSystem: "JIT与安全库存结合",
|
|
513
|
+
efficiency: "高效",
|
|
514
|
+
inventoryLevels: {
|
|
515
|
+
rawMaterials: "安全库存+需求预测",
|
|
516
|
+
wip: "看板管理",
|
|
517
|
+
finishedGoods: "按需生产"
|
|
518
|
+
}
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
if (detailed) {
|
|
522
|
+
result.detailedInventory = {
|
|
523
|
+
turnoverRate: result.turnoverRate,
|
|
524
|
+
inventoryAccuracy: 0.98, // 假设98%准确率
|
|
525
|
+
safetyStockLevels: "基于需求波动计算",
|
|
526
|
+
obsoleteInventory: "低于5%",
|
|
527
|
+
inventoryManagementSystem: result.managementSystem
|
|
528
|
+
};
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
return result;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
async analyzeLogistics(data, detailed = false) {
|
|
535
|
+
// 分析物流
|
|
536
|
+
const result = {
|
|
537
|
+
network: "多层次配送网络",
|
|
538
|
+
efficiency: "高效",
|
|
539
|
+
costRatio: 0.08, // 物流成本占收入比例
|
|
540
|
+
performanceMetrics: {
|
|
541
|
+
onTimeDelivery: 0.94,
|
|
542
|
+
damageRate: 0.005,
|
|
543
|
+
costPerShipment: 12.50
|
|
544
|
+
}
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
if (detailed) {
|
|
548
|
+
result.detailedLogistics = {
|
|
549
|
+
distributionNetwork: result.network,
|
|
550
|
+
logisticsProviders: ["主要承运商", "区域配送商"],
|
|
551
|
+
technologyUsage: ["TMS", "GPS追踪", "自动化分拣"],
|
|
552
|
+
sustainability: "绿色物流实践"
|
|
553
|
+
};
|
|
554
|
+
}
|
|
555
|
+
|
|
556
|
+
return result;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
async analyzePerformanceMetrics(data, detailed = false) {
|
|
560
|
+
// 分析绩效指标
|
|
561
|
+
const result = {
|
|
562
|
+
kpiSet: ["OEE", "交付准时率", "质量合格率", "成本控制率"],
|
|
563
|
+
dashboard: "实时监控仪表板",
|
|
564
|
+
effectiveness: "高效",
|
|
565
|
+
keyMetrics: {
|
|
566
|
+
oee: 0.82, // 设备综合效率
|
|
567
|
+
assetUtilization: 0.78,
|
|
568
|
+
productivity: "待具体数据"
|
|
569
|
+
}
|
|
570
|
+
};
|
|
571
|
+
|
|
572
|
+
if (detailed) {
|
|
573
|
+
result.detailedMetrics = {
|
|
574
|
+
kpiFramework: result.kpiSet,
|
|
575
|
+
monitoringSystem: result.dashboard,
|
|
576
|
+
reportingFrequency: "日/周/月",
|
|
577
|
+
targetAchievement: 0.92, // 目标达成率
|
|
578
|
+
metricAlignment: "与战略目标对齐度高"
|
|
579
|
+
};
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
return result;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* 运营验证模块
|
|
588
|
+
*/
|
|
589
|
+
class OperationsValidationModule {
|
|
590
|
+
async validate(analysisResults) {
|
|
591
|
+
const validationResults = {
|
|
592
|
+
dataCompleteness: await this.checkDataCompleteness(analysisResults),
|
|
593
|
+
calculationAccuracy: await this.checkCalculationAccuracy(analysisResults),
|
|
594
|
+
consistency: await this.checkConsistency(analysisResults),
|
|
595
|
+
practicalRelevance: await this.checkPracticalRelevance(analysisResults)
|
|
596
|
+
};
|
|
597
|
+
|
|
598
|
+
const overallScore = this.calculateOverallScore(validationResults);
|
|
599
|
+
|
|
600
|
+
return {
|
|
601
|
+
...analysisResults,
|
|
602
|
+
validation: validationResults,
|
|
603
|
+
overallValidationScore: overallScore
|
|
604
|
+
};
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
async checkDataCompleteness(results) {
|
|
608
|
+
const sourceData = results.operationalData;
|
|
609
|
+
const completenessFactors = {
|
|
610
|
+
processData: !!sourceData.processData,
|
|
611
|
+
qualityData: !!sourceData.qualityData,
|
|
612
|
+
supplyChainData: !!sourceData.supplyChainData,
|
|
613
|
+
costData: !!sourceData.costData
|
|
614
|
+
};
|
|
615
|
+
|
|
616
|
+
const factorCount = Object.values(completenessFactors).filter(Boolean).length;
|
|
617
|
+
const completenessScore = (factorCount / 4) * 100;
|
|
618
|
+
|
|
619
|
+
return {
|
|
620
|
+
factors: completenessFactors,
|
|
621
|
+
completenessScore: completenessScore,
|
|
622
|
+
level: completenessScore >= 75 ? "high" : completenessScore >= 50 ? "medium" : "low"
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
async checkCalculationAccuracy(results) {
|
|
627
|
+
// 验证运营计算的准确性
|
|
628
|
+
const elements = results.operationsElements;
|
|
629
|
+
const issues = [];
|
|
630
|
+
|
|
631
|
+
// 验证关键指标的合理性
|
|
632
|
+
if (elements.processEfficiency) {
|
|
633
|
+
const eff = elements.processEfficiency;
|
|
634
|
+
if (eff.avgCycleTime < 0) {
|
|
635
|
+
issues.push("周期时间不能为负数");
|
|
636
|
+
}
|
|
637
|
+
if (eff.equipmentUtilization > 1 || eff.equipmentUtilization < 0) {
|
|
638
|
+
issues.push("设备利用率应在0-1之间");
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
return {
|
|
643
|
+
issues: issues,
|
|
644
|
+
accuracyLevel: issues.length === 0 ? "high" : "medium",
|
|
645
|
+
accuracyScore: issues.length === 0 ? 100 : Math.max(0, 100 - (issues.length * 25))
|
|
646
|
+
};
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
async checkConsistency(results) {
|
|
650
|
+
// 检查分析结果的内在一致性
|
|
651
|
+
const elements = results.operationsElements;
|
|
652
|
+
const issues = [];
|
|
653
|
+
|
|
654
|
+
// 检查运营要素间的一致性
|
|
655
|
+
if (elements.capacityPlanning && elements.processEfficiency) {
|
|
656
|
+
const capEff = elements.capacityPlanning.efficiency;
|
|
657
|
+
const procEff = elements.processEfficiency.efficiency;
|
|
658
|
+
|
|
659
|
+
if (procEff !== "流程效率需改进" && capEff === "需改进") {
|
|
660
|
+
issues.push("流程效率与产能效率评估可能存在矛盾");
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
|
|
664
|
+
return {
|
|
665
|
+
issues: issues,
|
|
666
|
+
consistencyLevel: issues.length === 0 ? "high" : "medium",
|
|
667
|
+
consistencyScore: issues.length === 0 ? 100 : Math.max(0, 100 - (issues.length * 30))
|
|
668
|
+
};
|
|
669
|
+
}
|
|
670
|
+
|
|
671
|
+
async checkPracticalRelevance(results) {
|
|
672
|
+
// 检查分析结果的实用性
|
|
673
|
+
const elements = results.operationsElements;
|
|
674
|
+
const relevanceIssues = [];
|
|
675
|
+
|
|
676
|
+
// 检查建议的实用性
|
|
677
|
+
if (elements.processEfficiency?.improvementPotential > 0.3) {
|
|
678
|
+
relevanceIssues.push("流程效率改进潜力过高,需验证数据准确性");
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
return {
|
|
682
|
+
issues: relevanceIssues,
|
|
683
|
+
relevanceLevel: relevanceIssues.length === 0 ? "high" : "medium",
|
|
684
|
+
relevanceScore: relevanceIssues.length === 0 ? 100 : Math.max(0, 100 - (relevanceIssues.length * 15))
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
calculateOverallScore(validationResults) {
|
|
689
|
+
const { dataCompleteness, calculationAccuracy, consistency, practicalRelevance } = validationResults;
|
|
690
|
+
|
|
691
|
+
// 加权计算总体分数
|
|
692
|
+
const weights = {
|
|
693
|
+
completeness: 0.25,
|
|
694
|
+
accuracy: 0.30,
|
|
695
|
+
consistency: 0.25,
|
|
696
|
+
relevance: 0.20
|
|
697
|
+
};
|
|
698
|
+
|
|
699
|
+
return Math.round(
|
|
700
|
+
(dataCompleteness.completenessScore * weights.completeness) +
|
|
701
|
+
(calculationAccuracy.accuracyScore * weights.accuracy) +
|
|
702
|
+
(consistency.consistencyScore * weights.consistency) +
|
|
703
|
+
(practicalRelevance.relevanceScore * weights.relevance)
|
|
704
|
+
);
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
* 运营分析报告生成模块
|
|
710
|
+
* 支持渐进式披露:根据需求生成不同详细程度的报告
|
|
711
|
+
*/
|
|
712
|
+
class OperationsReportingModule {
|
|
713
|
+
async generate(analysisResults, detailed = false, depth = 'standard') {
|
|
714
|
+
const report = {
|
|
715
|
+
analysisSummary: this.createExecutiveSummary(analysisResults),
|
|
716
|
+
keyMetrics: this.extractKeyMetrics(analysisResults),
|
|
717
|
+
operationsElements: detailed ?
|
|
718
|
+
analysisResults.operationsElements :
|
|
719
|
+
this.createSummaryElements(analysisResults.operationsElements),
|
|
720
|
+
recommendations: await this.generateRecommendations(analysisResults),
|
|
721
|
+
metadata: {
|
|
722
|
+
generationTime: new Date().toISOString(),
|
|
723
|
+
validationScore: analysisResults.overallValidationScore,
|
|
724
|
+
detailLevel: detailed ? "detailed" : "summary"
|
|
725
|
+
}
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
// 详细模式下添加额外内容
|
|
729
|
+
if (detailed) {
|
|
730
|
+
report.fullAnalysis = analysisResults.operationsElements;
|
|
731
|
+
report.validationDetails = analysisResults.validation;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
return report;
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
createExecutiveSummary(results) {
|
|
738
|
+
const elements = results.operationsElements;
|
|
739
|
+
|
|
740
|
+
return {
|
|
741
|
+
executiveSummary: `对${results.operationalData.companyProfile.name}的运营分析显示,该企业运营体系整体${this.getOverallOperationsAssessment(results)}, 总体验证得分为${results.overallValidationScore}分。`,
|
|
742
|
+
keyFindings: [
|
|
743
|
+
`流程效率: ${elements.processEfficiency?.currentState || 'N/A'}`,
|
|
744
|
+
`供应链效率: ${elements.supplyChain?.efficiency || 'N/A'}`,
|
|
745
|
+
`质量水平: ${elements.qualityManagement?.effectiveness || 'N/A'}`
|
|
746
|
+
],
|
|
747
|
+
overallAssessment: this.assessOperationsHealth(results.overallValidationScore)
|
|
748
|
+
};
|
|
749
|
+
}
|
|
750
|
+
|
|
751
|
+
getOverallOperationsAssessment(results) {
|
|
752
|
+
const elements = results.operationsElements;
|
|
753
|
+
const scores = [
|
|
754
|
+
elements.processEfficiency?.efficiencyScore || 0,
|
|
755
|
+
elements.qualityManagement?.onTimeQuality || 0,
|
|
756
|
+
elements.supplyChain?.efficiency === "高效" ? 90 : elements.supplyChain?.efficiency === "良好" ? 75 : 60,
|
|
757
|
+
elements.performanceMetrics?.keyMetrics?.oee ? elements.performanceMetrics.keyMetrics.oee * 100 : 0
|
|
758
|
+
];
|
|
759
|
+
|
|
760
|
+
const avgScore = scores.reduce((a, b) => a + b, 0) / scores.length;
|
|
761
|
+
|
|
762
|
+
if (avgScore >= 85) return "优秀,运营体系高效";
|
|
763
|
+
if (avgScore >= 70) return "良好,运营体系稳健";
|
|
764
|
+
if (avgScore >= 50) return "一般,部分领域需改进";
|
|
765
|
+
return "需改进,运营体系存在显著问题";
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
assessOperationsHealth(score) {
|
|
769
|
+
if (score >= 85) return "优秀 - 运营体系高效,管理规范";
|
|
770
|
+
if (score >= 70) return "良好 - 运营体系较为完善";
|
|
771
|
+
if (score >= 50) return "一般 - 部分运营指标需要关注";
|
|
772
|
+
return "需改进 - 运营体系存在明显不足";
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
extractKeyMetrics(results) {
|
|
776
|
+
const elements = results.operationsElements;
|
|
777
|
+
|
|
778
|
+
return {
|
|
779
|
+
processEfficiencyScore: elements.processEfficiency?.efficiencyScore,
|
|
780
|
+
equipmentUtilization: elements.processEfficiency?.equipmentUtilization,
|
|
781
|
+
qualityEffectiveness: elements.qualityManagement?.effectiveness,
|
|
782
|
+
supplyChainEfficiency: elements.supplyChain?.efficiency,
|
|
783
|
+
inventoryTurnover: elements.inventoryManagement?.turnoverRate,
|
|
784
|
+
oee: elements.performanceMetrics?.keyMetrics?.oee
|
|
785
|
+
};
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
createSummaryElements(elements) {
|
|
789
|
+
// 为摘要模式创建简化元素
|
|
790
|
+
const summary = {};
|
|
791
|
+
|
|
792
|
+
for (const [key, value] of Object.entries(elements)) {
|
|
793
|
+
if (value && typeof value === 'object') {
|
|
794
|
+
summary[key] = {
|
|
795
|
+
status: this.createElementStatus(key, value),
|
|
796
|
+
score: this.extractElementScore(key, value)
|
|
797
|
+
};
|
|
798
|
+
} else {
|
|
799
|
+
summary[key] = value;
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
return summary;
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
createElementStatus(elementKey, elementValue) {
|
|
807
|
+
switch(elementKey) {
|
|
808
|
+
case 'processEfficiency':
|
|
809
|
+
return elementValue.currentState || '待评估';
|
|
810
|
+
case 'qualityManagement':
|
|
811
|
+
return `质量${elementValue.effectiveness || 'N/A'}`;
|
|
812
|
+
case 'supplyChain':
|
|
813
|
+
return `供应链${elementValue.efficiency || 'N/A'}`;
|
|
814
|
+
case 'inventoryManagement':
|
|
815
|
+
return `库存管理${elementValue.efficiency || 'N/A'}`;
|
|
816
|
+
default:
|
|
817
|
+
return '已分析';
|
|
818
|
+
}
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
extractElementScore(elementKey, elementValue) {
|
|
822
|
+
switch(elementKey) {
|
|
823
|
+
case 'processEfficiency':
|
|
824
|
+
return elementValue.efficiencyScore;
|
|
825
|
+
case 'qualityManagement':
|
|
826
|
+
return elementValue.onTimeQuality;
|
|
827
|
+
case 'supplyChain':
|
|
828
|
+
return elementValue.efficiency === '高效' ? 90 :
|
|
829
|
+
elementValue.efficiency === '良好' ? 75 : 60;
|
|
830
|
+
default:
|
|
831
|
+
return null;
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
async generateRecommendations(results) {
|
|
836
|
+
const recommendations = [];
|
|
837
|
+
const elements = results.operationsElements;
|
|
838
|
+
const validation = results.validation;
|
|
839
|
+
|
|
840
|
+
// 基于验证结果的建议
|
|
841
|
+
if (validation.consistency.issues.length > 0) {
|
|
842
|
+
recommendations.push(`解决运营要素间的一致性问题: ${validation.consistency.issues.join(', ')}`);
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
// 基于具体分析结果的建议
|
|
846
|
+
if (elements.processEfficiency?.improvementPotential > 0.15) {
|
|
847
|
+
recommendations.push("重点关注流程瓶颈环节,提升整体效率");
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
if (elements.supplyChain?.riskFactors?.length > 0) {
|
|
851
|
+
recommendations.push(`加强供应链风险管理: ${elements.supplyChain.riskFactors.join(', ')}`);
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
if (elements.qualityManagement?.effectiveness === "需改进") {
|
|
855
|
+
recommendations.push("加强质量管理体系,实施质量改进计划");
|
|
856
|
+
}
|
|
857
|
+
|
|
858
|
+
if (results.overallValidationScore < 75) {
|
|
859
|
+
recommendations.push("完善运营管理数据收集,提升分析准确性");
|
|
860
|
+
}
|
|
861
|
+
|
|
862
|
+
return recommendations.length > 0 ? recommendations :
|
|
863
|
+
["企业运营整体表现良好,继续保持现有管理实践"];
|
|
864
|
+
}
|
|
865
|
+
}
|
|
866
|
+
|
|
867
|
+
// 导出技能类
|
|
868
|
+
if (typeof module !== 'undefined' && module.exports) {
|
|
869
|
+
module.exports = OperationsAnalysisSkill;
|
|
870
|
+
}
|