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,480 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Validity and Reliability Analysis Toolkit
|
|
3
|
+
信度效度分析工具包
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import numpy as np
|
|
7
|
+
import pandas as pd
|
|
8
|
+
import scipy.stats as stats
|
|
9
|
+
import matplotlib.pyplot as plt
|
|
10
|
+
import seaborn as sns
|
|
11
|
+
from sklearn.decomposition import FactorAnalysis
|
|
12
|
+
from sklearn.preprocessing import StandardScaler
|
|
13
|
+
from factor_analyzer import FactorAnalyzer
|
|
14
|
+
from factor_analyzer.factor_analyzer import calculate_bartlett_sphericity, calculate_kmo
|
|
15
|
+
import pingouin as pg
|
|
16
|
+
from scipy.stats import pearsonr
|
|
17
|
+
import warnings
|
|
18
|
+
warnings.filterwarnings('ignore')
|
|
19
|
+
|
|
20
|
+
class ValidityReliabilityAnalyzer:
|
|
21
|
+
"""信度效度分析器"""
|
|
22
|
+
|
|
23
|
+
def __init__(self):
|
|
24
|
+
self.data = None
|
|
25
|
+
self.results = {}
|
|
26
|
+
|
|
27
|
+
def load_data(self, data_path=None, data_frame=None):
|
|
28
|
+
"""加载数据"""
|
|
29
|
+
if data_path:
|
|
30
|
+
self.data = pd.read_csv(data_path)
|
|
31
|
+
elif data_frame is not None:
|
|
32
|
+
self.data = data_frame.copy()
|
|
33
|
+
else:
|
|
34
|
+
raise ValueError("请提供数据路径或DataFrame")
|
|
35
|
+
|
|
36
|
+
print(f"数据加载成功: {self.data.shape[0]} 行, {self.data.shape[1]} 列")
|
|
37
|
+
return self.data.head()
|
|
38
|
+
|
|
39
|
+
def reliability_analysis(self, items, alpha=0.05):
|
|
40
|
+
"""信度分析"""
|
|
41
|
+
# 移除缺失值
|
|
42
|
+
data_clean = self.data[items].dropna()
|
|
43
|
+
|
|
44
|
+
# Cronbach's Alpha
|
|
45
|
+
cronbach_alpha = self._calculate_cronbach_alpha(data_clean)
|
|
46
|
+
|
|
47
|
+
# 分半信度
|
|
48
|
+
split_half = self._calculate_split_half_reliability(data_clean)
|
|
49
|
+
|
|
50
|
+
# 项目统计
|
|
51
|
+
item_stats = self._calculate_item_statistics(data_clean)
|
|
52
|
+
|
|
53
|
+
# 删除项后的Alpha
|
|
54
|
+
alpha_if_deleted = self._calculate_alpha_if_deleted(data_clean)
|
|
55
|
+
|
|
56
|
+
# McDonald's Omega
|
|
57
|
+
omega = self._calculate_omega(data_clean)
|
|
58
|
+
|
|
59
|
+
result = {
|
|
60
|
+
'cronbach_alpha': cronbach_alpha,
|
|
61
|
+
'omega': omega,
|
|
62
|
+
'split_half_reliability': split_half,
|
|
63
|
+
'item_statistics': item_stats,
|
|
64
|
+
'alpha_if_deleted': alpha_if_deleted,
|
|
65
|
+
'interpretation': self._interpret_reliability(cronbach_alpha)
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return result
|
|
69
|
+
|
|
70
|
+
def _calculate_cronbach_alpha(self, data):
|
|
71
|
+
"""计算Cronbach's Alpha"""
|
|
72
|
+
from pingouin import cronbach_alpha
|
|
73
|
+
alpha, _ = cronbach_alpha(data)
|
|
74
|
+
return alpha
|
|
75
|
+
|
|
76
|
+
def _calculate_omega(self, data):
|
|
77
|
+
"""计算McDonald's Omega"""
|
|
78
|
+
# 使用因子分析计算Omega
|
|
79
|
+
fa = FactorAnalyzer(n_factors=1, rotation=None)
|
|
80
|
+
fa.fit(data)
|
|
81
|
+
|
|
82
|
+
loadings = fa.loadings_.flatten()
|
|
83
|
+
loadings_sq = loadings ** 2
|
|
84
|
+
error_variances = 1 - loadings_sq
|
|
85
|
+
|
|
86
|
+
omega = np.sum(loadings_sq) / (np.sum(loadings_sq) + np.sum(error_variances))
|
|
87
|
+
return omega
|
|
88
|
+
|
|
89
|
+
def _calculate_split_half_reliability(self, data):
|
|
90
|
+
"""计算分半信度"""
|
|
91
|
+
n_items = data.shape[1]
|
|
92
|
+
half = n_items // 2
|
|
93
|
+
|
|
94
|
+
first_half = data.iloc[:, :half]
|
|
95
|
+
second_half = data.iloc[:, half:]
|
|
96
|
+
|
|
97
|
+
# 计算两半的总分
|
|
98
|
+
first_half_score = first_half.sum(axis=1)
|
|
99
|
+
second_half_score = second_half.sum(axis=1)
|
|
100
|
+
|
|
101
|
+
# 计算相关系数
|
|
102
|
+
correlation, _ = stats.pearsonr(first_half_score, second_half_score)
|
|
103
|
+
|
|
104
|
+
# Spearman-Brown校正
|
|
105
|
+
spearman_brown = (2 * correlation) / (1 + correlation)
|
|
106
|
+
|
|
107
|
+
return spearman_brown
|
|
108
|
+
|
|
109
|
+
def _calculate_item_statistics(self, data):
|
|
110
|
+
"""计算项目统计"""
|
|
111
|
+
item_stats = {}
|
|
112
|
+
|
|
113
|
+
for item in data.columns:
|
|
114
|
+
item_data = data[item]
|
|
115
|
+
|
|
116
|
+
stats_dict = {
|
|
117
|
+
'mean': item_data.mean(),
|
|
118
|
+
'std': item_data.std(),
|
|
119
|
+
'item_total_correlation': self._item_total_correlation(data, item),
|
|
120
|
+
'skewness': stats.skew(item_data),
|
|
121
|
+
'kurtosis': stats.kurtosis(item_data),
|
|
122
|
+
'difficulty': item_data.mean() / item_data.max() if item_data.max() > 0 else 0
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
item_stats[item] = stats_dict
|
|
126
|
+
|
|
127
|
+
return pd.DataFrame(item_stats).T
|
|
128
|
+
|
|
129
|
+
def _item_total_correlation(self, data, item):
|
|
130
|
+
"""计算项目-总分相关"""
|
|
131
|
+
total_scores = data.drop(columns=[item]).sum(axis=1)
|
|
132
|
+
correlation, _ = stats.pearsonr(data[item], total_scores)
|
|
133
|
+
return correlation
|
|
134
|
+
|
|
135
|
+
def _calculate_alpha_if_deleted(self, data):
|
|
136
|
+
"""计算删除某项后的Alpha"""
|
|
137
|
+
alpha_if_deleted = {}
|
|
138
|
+
|
|
139
|
+
for item in data.columns:
|
|
140
|
+
data_without_item = data.drop(columns=[item])
|
|
141
|
+
alpha = self._calculate_cronbach_alpha(data_without_item)
|
|
142
|
+
alpha_if_deleted[item] = alpha
|
|
143
|
+
|
|
144
|
+
return alpha_if_deleted
|
|
145
|
+
|
|
146
|
+
def _interpret_reliability(self, alpha):
|
|
147
|
+
"""解释信度系数"""
|
|
148
|
+
if alpha < 0.6:
|
|
149
|
+
return "不可接受"
|
|
150
|
+
elif alpha < 0.7:
|
|
151
|
+
return "可接受但需改进"
|
|
152
|
+
elif alpha < 0.8:
|
|
153
|
+
return "可接受"
|
|
154
|
+
elif alpha < 0.9:
|
|
155
|
+
return "良好"
|
|
156
|
+
else:
|
|
157
|
+
return "优秀"
|
|
158
|
+
|
|
159
|
+
def construct_validity_analysis(self, items, n_factors=None, rotation='varimax'):
|
|
160
|
+
"""构念效度分析"""
|
|
161
|
+
# 数据准备
|
|
162
|
+
data_subset = self.data[items].dropna()
|
|
163
|
+
|
|
164
|
+
# 标准化数据
|
|
165
|
+
scaler = StandardScaler()
|
|
166
|
+
data_scaled = scaler.fit_transform(data_subset)
|
|
167
|
+
|
|
168
|
+
# KMO和Bartlett检验
|
|
169
|
+
kmo_result = self._kmo_test(data_scaled)
|
|
170
|
+
bartlett_result = self._bartlett_test(data_scaled)
|
|
171
|
+
|
|
172
|
+
# 确定因子数量
|
|
173
|
+
if n_factors is None:
|
|
174
|
+
n_factors = self._determine_factors(data_scaled)
|
|
175
|
+
|
|
176
|
+
# 执行因子分析
|
|
177
|
+
fa = FactorAnalysis(n_components=n_factors, rotation=rotation, random_state=42)
|
|
178
|
+
fa.fit(data_scaled)
|
|
179
|
+
|
|
180
|
+
# 因子载荷矩阵
|
|
181
|
+
loadings = pd.DataFrame(
|
|
182
|
+
fa.components_.T,
|
|
183
|
+
index=items,
|
|
184
|
+
columns=[f'Factor_{i+1}' for i in range(n_factors)]
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
# 因子得分
|
|
188
|
+
factor_scores = fa.transform(data_scaled)
|
|
189
|
+
|
|
190
|
+
# 收敛效度和区分效度
|
|
191
|
+
validity_metrics = self._calculate_validity_metrics(data_scaled, loadings)
|
|
192
|
+
|
|
193
|
+
result = {
|
|
194
|
+
'kmo_test': kmo_result,
|
|
195
|
+
'bartlett_test': bartlett_result,
|
|
196
|
+
'n_factors': n_factors,
|
|
197
|
+
'rotation': rotation,
|
|
198
|
+
'loadings': loadings,
|
|
199
|
+
'factor_scores': factor_scores,
|
|
200
|
+
'explained_variance': fa.explained_variance_,
|
|
201
|
+
'explained_variance_ratio': fa.explained_variance_ratio_,
|
|
202
|
+
'communalities': self._calculate_communalities(loadings),
|
|
203
|
+
'validity_metrics': validity_metrics
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
return result
|
|
207
|
+
|
|
208
|
+
def _kmo_test(self, data):
|
|
209
|
+
"""KMO检验"""
|
|
210
|
+
from factor_analyzer import calculate_kmo
|
|
211
|
+
kmo_all, kmo_model = calculate_kmo(data)
|
|
212
|
+
|
|
213
|
+
return {
|
|
214
|
+
'kmo_overall': kmo_model,
|
|
215
|
+
'kmo_individual': kmo_all,
|
|
216
|
+
'interpretation': self._interpret_kmo(kmo_model)
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
def _bartlett_test(self, data):
|
|
220
|
+
"""Bartlett球形检验"""
|
|
221
|
+
from factor_analyzer import calculate_bartlett_sphericity
|
|
222
|
+
chi_square, p_value = calculate_bartlett_sphericity(data)
|
|
223
|
+
|
|
224
|
+
return {
|
|
225
|
+
'chi_square': chi_square,
|
|
226
|
+
'p_value': p_value,
|
|
227
|
+
'significant': p_value < 0.05
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
def _interpret_kmo(self, kmo_value):
|
|
231
|
+
"""解释KMO值"""
|
|
232
|
+
if kmo_value < 0.5:
|
|
233
|
+
return "不适合进行因子分析"
|
|
234
|
+
elif kmo_value < 0.6:
|
|
235
|
+
return "不太适合"
|
|
236
|
+
elif kmo_value < 0.7:
|
|
237
|
+
return "中等程度适合"
|
|
238
|
+
elif kmo_value < 0.8:
|
|
239
|
+
return "适合"
|
|
240
|
+
elif kmo_value < 0.9:
|
|
241
|
+
return "很适合"
|
|
242
|
+
else:
|
|
243
|
+
return "非常适合"
|
|
244
|
+
|
|
245
|
+
def _determine_factors(self, data):
|
|
246
|
+
"""确定因子数量"""
|
|
247
|
+
# 特征值大于1准则
|
|
248
|
+
from factor_analyzer import FactorAnalyzer
|
|
249
|
+
fa = FactorAnalyzer(rotation=None)
|
|
250
|
+
fa.fit(data)
|
|
251
|
+
ev, _ = fa.get_eigenvalues()
|
|
252
|
+
n_factors_eigen = sum(ev > 1)
|
|
253
|
+
|
|
254
|
+
# 碎石图
|
|
255
|
+
plt.figure(figsize=(8, 6))
|
|
256
|
+
plt.plot(range(1, len(ev) + 1), ev, 'bo-')
|
|
257
|
+
plt.axhline(y=1, color='r', linestyle='--')
|
|
258
|
+
plt.xlabel('因子数量')
|
|
259
|
+
plt.ylabel('特征值')
|
|
260
|
+
plt.title('碎石图')
|
|
261
|
+
plt.grid(True)
|
|
262
|
+
plt.savefig('scree_plot.png', dpi=300, bbox_inches='tight')
|
|
263
|
+
plt.show()
|
|
264
|
+
|
|
265
|
+
return max(1, n_factors_eigen)
|
|
266
|
+
|
|
267
|
+
def _calculate_communalities(self, loadings):
|
|
268
|
+
"""计算共同度"""
|
|
269
|
+
communalities = (loadings ** 2).sum(axis=1)
|
|
270
|
+
return communalities.to_dict()
|
|
271
|
+
|
|
272
|
+
def _calculate_validity_metrics(self, data, loadings):
|
|
273
|
+
"""计算效度指标"""
|
|
274
|
+
# 收敛效度 (AVE)
|
|
275
|
+
n_factors = loadings.shape[1]
|
|
276
|
+
ave_values = {}
|
|
277
|
+
|
|
278
|
+
for i in range(n_factors):
|
|
279
|
+
factor_items = loadings.iloc[:, i]
|
|
280
|
+
factor_loadings_sq = factor_items ** 2
|
|
281
|
+
ave = np.sum(factor_loadings_sq) / len(factor_loadings_sq)
|
|
282
|
+
ave_values[f'Factor_{i+1}'] = ave
|
|
283
|
+
|
|
284
|
+
# 区分效度 (Fornell-Larcker准则)
|
|
285
|
+
factor_correlations = np.corrcoef(data.T)
|
|
286
|
+
|
|
287
|
+
return {
|
|
288
|
+
'convergent_validity': ave_values,
|
|
289
|
+
'discriminant_validity': factor_correlations,
|
|
290
|
+
'composite_reliability': self._calculate_composite_reliability(loadings)
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
def _calculate_composite_reliability(self, loadings):
|
|
294
|
+
"""计算组合信度"""
|
|
295
|
+
n_factors = loadings.shape[1]
|
|
296
|
+
cr_values = {}
|
|
297
|
+
|
|
298
|
+
for i in range(n_factors):
|
|
299
|
+
factor_loadings = loadings.iloc[:, i]
|
|
300
|
+
loadings_sq = factor_loadings ** 2
|
|
301
|
+
sum_loadings_sq = np.sum(loadings_sq)
|
|
302
|
+
sum_error_variances = np.sum(1 - loadings_sq)
|
|
303
|
+
|
|
304
|
+
cr = sum_loadings_sq / (sum_loadings_sq + sum_error_variances)
|
|
305
|
+
cr_values[f'Factor_{i+1}'] = cr
|
|
306
|
+
|
|
307
|
+
return cr_values
|
|
308
|
+
|
|
309
|
+
def content_validity_analysis(self, expert_ratings):
|
|
310
|
+
"""内容效度分析"""
|
|
311
|
+
"""
|
|
312
|
+
expert_ratings: DataFrame,行为专家,列为项目
|
|
313
|
+
"""
|
|
314
|
+
# 计算内容效度比 (CVR)
|
|
315
|
+
n_experts = len(expert_ratings)
|
|
316
|
+
essential_ratings = (expert_ratings == 3).sum() # 假设3分表示"必要"
|
|
317
|
+
cvr = (essential_ratings - n_experts/2) / (n_experts/2)
|
|
318
|
+
|
|
319
|
+
# 计算内容效度指数 (CVI)
|
|
320
|
+
cvi_i = (expert_ratings >= 3).sum() / n_experts # 项目水平CVI
|
|
321
|
+
cvi_s = cvr.mean() # 量表水平CVI
|
|
322
|
+
|
|
323
|
+
result = {
|
|
324
|
+
'content_validity_ratio': cvr,
|
|
325
|
+
'cvi_item': cvi_i,
|
|
326
|
+
'cvi_scale': cvi_s,
|
|
327
|
+
'interpretation': self._interpret_cvi(cvi_s)
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
return result
|
|
331
|
+
|
|
332
|
+
def _interpret_cvi(self, cvi_value):
|
|
333
|
+
"""解释CVI值"""
|
|
334
|
+
if cvi_value >= 0.99:
|
|
335
|
+
return "优秀的内容效度"
|
|
336
|
+
elif cvi_value >= 0.80:
|
|
337
|
+
return "良好的内容效度"
|
|
338
|
+
elif cvi_value >= 0.70:
|
|
339
|
+
return "可接受的内容效度"
|
|
340
|
+
else:
|
|
341
|
+
return "需要改进的内容效度"
|
|
342
|
+
|
|
343
|
+
def criterion_validity_analysis(self, scale_scores, criterion_measures):
|
|
344
|
+
"""效标效度分析"""
|
|
345
|
+
"""
|
|
346
|
+
scale_scores: 量表总分
|
|
347
|
+
criterion_measures: 效标测量
|
|
348
|
+
"""
|
|
349
|
+
correlations = {}
|
|
350
|
+
|
|
351
|
+
for criterion in criterion_measures.columns:
|
|
352
|
+
corr, p_value = stats.pearsonr(scale_scores, criterion_measures[criterion])
|
|
353
|
+
correlations[criterion] = {
|
|
354
|
+
'correlation': corr,
|
|
355
|
+
'p_value': p_value,
|
|
356
|
+
'significant': p_value < 0.05,
|
|
357
|
+
'interpretation': self._interpret_correlation(corr)
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
return correlations
|
|
361
|
+
|
|
362
|
+
def _interpret_correlation(self, r):
|
|
363
|
+
"""解释相关系数"""
|
|
364
|
+
abs_r = abs(r)
|
|
365
|
+
if abs_r < 0.1:
|
|
366
|
+
return "极弱相关"
|
|
367
|
+
elif abs_r < 0.3:
|
|
368
|
+
return "弱相关"
|
|
369
|
+
elif abs_r < 0.5:
|
|
370
|
+
return "中等相关"
|
|
371
|
+
elif abs_r < 0.7:
|
|
372
|
+
return "强相关"
|
|
373
|
+
else:
|
|
374
|
+
return "极强相关"
|
|
375
|
+
|
|
376
|
+
def generate_report(self, output_file='validity_reliability_report.md'):
|
|
377
|
+
"""生成分析报告"""
|
|
378
|
+
report = ["# 信度效度分析报告\n"]
|
|
379
|
+
|
|
380
|
+
for test_name, test_result in self.results.items():
|
|
381
|
+
if isinstance(test_result, dict):
|
|
382
|
+
report.append(f"## {test_name.replace('_', ' ').title()}")
|
|
383
|
+
|
|
384
|
+
for key, value in test_result.items():
|
|
385
|
+
if isinstance(value, dict):
|
|
386
|
+
report.append(f"### {key}")
|
|
387
|
+
for sub_key, sub_value in value.items():
|
|
388
|
+
report.append(f"- {sub_key}: {sub_value}")
|
|
389
|
+
else:
|
|
390
|
+
report.append(f"- {key}: {value}")
|
|
391
|
+
|
|
392
|
+
report.append("")
|
|
393
|
+
|
|
394
|
+
# 保存报告
|
|
395
|
+
with open(output_file, 'w', encoding='utf-8') as f:
|
|
396
|
+
f.write('\n'.join(report))
|
|
397
|
+
|
|
398
|
+
print(f"信度效度分析报告已保存到 {output_file}")
|
|
399
|
+
|
|
400
|
+
# 使用示例
|
|
401
|
+
def main():
|
|
402
|
+
"""主函数示例"""
|
|
403
|
+
# 创建模拟量表数据
|
|
404
|
+
np.random.seed(42)
|
|
405
|
+
n = 300
|
|
406
|
+
|
|
407
|
+
# 6个项目的量表
|
|
408
|
+
scale_data = pd.DataFrame({
|
|
409
|
+
'item1': np.random.normal(4, 1, n),
|
|
410
|
+
'item2': np.random.normal(4.2, 1.1, n),
|
|
411
|
+
'item3': np.random.normal(3.8, 0.9, n),
|
|
412
|
+
'item4': np.random.normal(4.1, 1.2, n),
|
|
413
|
+
'item5': np.random.normal(3.9, 1.0, n),
|
|
414
|
+
'item6': np.random.normal(4.3, 1.1, n)
|
|
415
|
+
})
|
|
416
|
+
|
|
417
|
+
# 确保数据在合理范围内(1-5分李克特量表)
|
|
418
|
+
for col in scale_data.columns:
|
|
419
|
+
scale_data[col] = np.clip(scale_data[col], 1, 5)
|
|
420
|
+
|
|
421
|
+
# 创建分析器实例
|
|
422
|
+
analyzer = ValidityReliabilityAnalyzer()
|
|
423
|
+
analyzer.load_data(data_frame=scale_data)
|
|
424
|
+
|
|
425
|
+
# 1. 信度分析
|
|
426
|
+
print("=== 信度分析 ===")
|
|
427
|
+
reliability_results = analyzer.reliability_analysis(scale_data.columns.tolist())
|
|
428
|
+
print(f"Cronbach's Alpha: {reliability_results['cronbach_alpha']:.3f}")
|
|
429
|
+
print(f"McDonald's Omega: {reliability_results['omega']:.3f}")
|
|
430
|
+
print(f"分半信度: {reliability_results['split_half_reliability']:.3f}")
|
|
431
|
+
print(f"信度评价: {reliability_results['interpretation']}")
|
|
432
|
+
|
|
433
|
+
# 2. 构念效度分析
|
|
434
|
+
print("\n=== 构念效度分析 ===")
|
|
435
|
+
validity_results = analyzer.construct_validity_analysis(scale_data.columns.tolist())
|
|
436
|
+
print(f"KMO值: {validity_results['kmo_test']['kmo_overall']:.3f}")
|
|
437
|
+
print(f"KMO评价: {validity_results['kmo_test']['interpretation']}")
|
|
438
|
+
print(f"因子数量: {validity_results['n_factors']}")
|
|
439
|
+
|
|
440
|
+
# 3. 专家评分(模拟)
|
|
441
|
+
print("\n=== 内容效度分析 ===")
|
|
442
|
+
expert_ratings = pd.DataFrame({
|
|
443
|
+
'item1': np.random.choice([1, 2, 3], size=5, p=[0.1, 0.2, 0.7]),
|
|
444
|
+
'item2': np.random.choice([1, 2, 3], size=5, p=[0.1, 0.3, 0.6]),
|
|
445
|
+
'item3': np.random.choice([1, 2, 3], size=5, p=[0.2, 0.2, 0.6]),
|
|
446
|
+
'item4': np.random.choice([1, 2, 3], size=5, p=[0.1, 0.2, 0.7]),
|
|
447
|
+
'item5': np.random.choice([1, 2, 3], size=5, p=[0.1, 0.3, 0.6]),
|
|
448
|
+
'item6': np.random.choice([1, 2, 3], size=5, p=[0.1, 0.2, 0.7])
|
|
449
|
+
})
|
|
450
|
+
|
|
451
|
+
content_validity = analyzer.content_validity_analysis(expert_ratings)
|
|
452
|
+
print(f"内容效度指数 (CVI): {content_validity['cvi_scale']:.3f}")
|
|
453
|
+
print(f"内容效度评价: {content_validity['interpretation']}")
|
|
454
|
+
|
|
455
|
+
# 4. 效标效度(模拟)
|
|
456
|
+
print("\n=== 效标效度分析 ===")
|
|
457
|
+
scale_scores = scale_data.sum(axis=1)
|
|
458
|
+
criterion_measures = pd.DataFrame({
|
|
459
|
+
'job_performance': np.random.normal(3.5, 0.8, n),
|
|
460
|
+
'job_satisfaction': np.random.normal(3.8, 0.7, n),
|
|
461
|
+
'turnover_intention': np.random.normal(2.5, 0.9, n)
|
|
462
|
+
})
|
|
463
|
+
|
|
464
|
+
criterion_validity = analyzer.criterion_validity_analysis(scale_scores, criterion_measures)
|
|
465
|
+
for criterion, results in criterion_validity.items():
|
|
466
|
+
print(f"{criterion}: r = {results['correlation']:.3f}, p = {results['p_value']:.3f} ({results['interpretation']})")
|
|
467
|
+
|
|
468
|
+
# 生成完整报告
|
|
469
|
+
analyzer.results = {
|
|
470
|
+
'reliability_analysis': reliability_results,
|
|
471
|
+
'construct_validity': validity_results,
|
|
472
|
+
'content_validity': content_validity,
|
|
473
|
+
'criterion_validity': criterion_validity
|
|
474
|
+
}
|
|
475
|
+
analyzer.generate_report()
|
|
476
|
+
|
|
477
|
+
print("\n信度效度分析完成!报告已保存。")
|
|
478
|
+
|
|
479
|
+
if __name__ == "__main__":
|
|
480
|
+
main()
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# PowerShell script to verify all skill files compliance with agentskills.io standard
|
|
2
|
+
|
|
3
|
+
$dirs = Get-ChildItem 'D:\stigmergy-CLI-Multi-Agents\sscisubagent-skills\skills' -Directory
|
|
4
|
+
$compliant = 0
|
|
5
|
+
$nonCompliant = 0
|
|
6
|
+
$totalCount = 0
|
|
7
|
+
|
|
8
|
+
foreach ($dir in $dirs) {
|
|
9
|
+
$skillFile = Join-Path $dir.FullName 'SKILL.md'
|
|
10
|
+
if (Test-Path $skillFile) {
|
|
11
|
+
$totalCount++
|
|
12
|
+
$lines = Get-Content $skillFile
|
|
13
|
+
|
|
14
|
+
# Check if first line is ---
|
|
15
|
+
if ($lines.Count -ge 1 -and $lines[0] -eq '---') {
|
|
16
|
+
# Check if second line contains name field
|
|
17
|
+
if ($lines.Count -ge 2) {
|
|
18
|
+
$secondLine = $lines[1].Trim()
|
|
19
|
+
if ($secondLine -match '^name:\s*(.+)$') {
|
|
20
|
+
Write-Host "$($dir.Name): COMPLIANT" -ForegroundColor Green
|
|
21
|
+
$compliant++
|
|
22
|
+
} else {
|
|
23
|
+
Write-Host "$($dir.Name): MISSING name field in second line" -ForegroundColor Red
|
|
24
|
+
$nonCompliant++
|
|
25
|
+
}
|
|
26
|
+
} else {
|
|
27
|
+
Write-Host "$($dir.Name): TOO FEW LINES" -ForegroundColor Red
|
|
28
|
+
$nonCompliant++
|
|
29
|
+
}
|
|
30
|
+
} else {
|
|
31
|
+
Write-Host "$($dir.Name): MISSING YAML frontmatter separator" -ForegroundColor Red
|
|
32
|
+
$nonCompliant++
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
Write-Host ""
|
|
38
|
+
Write-Host "Total skills checked: $totalCount" -ForegroundColor Yellow
|
|
39
|
+
Write-Host "Compliant skills: $compliant" -ForegroundColor Yellow
|
|
40
|
+
Write-Host "Non-compliant skills: $nonCompliant" -ForegroundColor Yellow
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
# 可视化专家技能 - AI优化参考文档
|
|
2
|
+
|
|
3
|
+
## 技能核心信息
|
|
4
|
+
- **技能ID**: visualization-expert
|
|
5
|
+
- **版本**: 2.0.0
|
|
6
|
+
- **分类**: 数据可视化
|
|
7
|
+
- **类型**: 可视化生成与设计类技能
|
|
8
|
+
|
|
9
|
+
## 技能概述(简明扼要)
|
|
10
|
+
可视化专家技能基于数据可视化理论和最佳实践,为企业分析结果创建直观、有效的可视化图表和仪表板。该技能运用信息设计原则和视觉分析技术,将复杂数据转化为易于理解的视觉表现形式。
|
|
11
|
+
|
|
12
|
+
## 核心功能(要点式)
|
|
13
|
+
1. 图表生成 - 创建柱状图、折线图、饼图等基础图表
|
|
14
|
+
2. 仪表板设计 - 构建综合性数据仪表板
|
|
15
|
+
3. 网络图可视化 - 展示关系和连接数据
|
|
16
|
+
4. 热力图生成 - 表现数据密度和强度
|
|
17
|
+
5. 散点图分析 - 展示变量间关系
|
|
18
|
+
6. 无障碍访问 - 确保可视化内容可访问性
|
|
19
|
+
7. 主题定制 - 支持多种视觉主题风格
|
|
20
|
+
8. 格式输出 - 支持多种输出格式
|
|
21
|
+
|
|
22
|
+
## 输入输出规范
|
|
23
|
+
### 输入参数
|
|
24
|
+
- `data`: 待可视化的数据对象(必需)
|
|
25
|
+
- `visualizationType`: 可视化类型(必需)
|
|
26
|
+
- `config`: 可视化配置选项(可选)
|
|
27
|
+
- `targetAudience`: 目标受众(可选)
|
|
28
|
+
|
|
29
|
+
### 输出结果
|
|
30
|
+
- `visualization`: 可视化对象
|
|
31
|
+
- `recommendations`: 可视化改进建议
|
|
32
|
+
- `accessibilityReport`: 无障碍访问报告
|
|
33
|
+
- `validationScore`: 验证分数
|
|
34
|
+
|
|
35
|
+
## 执行流程(步骤化)
|
|
36
|
+
1. **数据解析** - 解析输入数据结构和类型
|
|
37
|
+
2. **图表选择** - 根据数据特征选择合适的可视化类型
|
|
38
|
+
3. **设计生成** - 应用设计原则生成可视化图表
|
|
39
|
+
4. **无障碍处理** - 添加无障碍访问支持
|
|
40
|
+
5. **质量验证** - 验证可视化质量和可读性
|
|
41
|
+
6. **结果输出** - 生成指定格式的可视化结果
|
|
42
|
+
|
|
43
|
+
## 关键算法与方法
|
|
44
|
+
- **图表类型选择算法** - 基于数据特征的可视化类型推荐
|
|
45
|
+
- **视觉编码算法** - 颜色、形状、大小的最优映射
|
|
46
|
+
- **布局优化算法** - 图表元素的空间布局优化
|
|
47
|
+
- **无障碍算法** - 确保可视化内容对所有用户可访问
|
|
48
|
+
|
|
49
|
+
## 应用场景
|
|
50
|
+
- 业务分析报告可视化
|
|
51
|
+
- 管理仪表板创建
|
|
52
|
+
- 数据探索和发现
|
|
53
|
+
- 演示文稿图表制作
|
|
54
|
+
- 决策支持系统界面
|
|
55
|
+
|
|
56
|
+
## 常见使用模式
|
|
57
|
+
- 快速图表生成:基于默认设置快速生成图表
|
|
58
|
+
- 定制化设计:根据特定需求定制视觉风格
|
|
59
|
+
- 仪表板构建:创建综合性数据仪表板
|
|
60
|
+
- 批量可视化:批量处理多个数据集
|
|
61
|
+
|
|
62
|
+
## 关键配置选项
|
|
63
|
+
- `visualizationType`: 可视化类型(柱状图/折线图/饼图等)
|
|
64
|
+
- `theme`: 主题风格(明亮/暗色/企业/简约)
|
|
65
|
+
- `format`: 输出格式(SVG/PNG/HTML/JSON)
|
|
66
|
+
- `targetAudience`: 目标受众(高管/经理/分析师/客户)
|
|
67
|
+
|
|
68
|
+
## 评估标准
|
|
69
|
+
- **验证分数**: 80分以上为合格可视化
|
|
70
|
+
- **可读性要求**: 图表清晰易懂,无歧义
|
|
71
|
+
- **无障碍标准**: 符合WCAG可访问性指南
|
|
72
|
+
|
|
73
|
+
## 与其他技能的交互
|
|
74
|
+
- 从其他分析技能获取数据输入
|
|
75
|
+
- 为报告生成技能提供可视化内容
|
|
76
|
+
- 与数据处理技能配合进行数据准备
|
|
77
|
+
- 可调用信息验证技能确保数据质量
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
# 可视化专家技能文档
|
|
2
|
+
|
|
3
|
+
## 概述
|
|
4
|
+
可视化专家技能是商业模型系统分析智能体的重要组成部分,专门负责将复杂的商业数据和分析结果转换为直观、易于理解的图表和仪表板。该技能基于数据可视化理论和最佳实践,遵循信息设计原则,确保可视化结果既美观又有效传达信息。
|
|
5
|
+
|
|
6
|
+
## 功能特性
|
|
7
|
+
1. **多种图表类型**:支持柱状图、折线图、饼图、散点图等多种图表
|
|
8
|
+
2. **仪表板创建**:创建综合性的数据仪表板
|
|
9
|
+
3. **智能推荐**:根据数据特征推荐最适合的可视化类型
|
|
10
|
+
4. **主题定制**:支持多种主题和样式定制
|
|
11
|
+
5. **无障碍设计**:确保可视化内容对所有用户可访问
|
|
12
|
+
6. **交互功能**:提供交互式可视化功能
|
|
13
|
+
7. **响应式设计**:适配不同设备和屏幕尺寸
|
|
14
|
+
8. **数据故事化**:将数据转化为有逻辑的故事
|
|
15
|
+
|
|
16
|
+
## 输入参数
|
|
17
|
+
- `data`:待可视化的数据对象(必需)
|
|
18
|
+
- `visualizationType`:可视化类型(必需)
|
|
19
|
+
- `bar-chart`:柱状图
|
|
20
|
+
- `line-chart`:折线图
|
|
21
|
+
- `pie-chart`:饼图
|
|
22
|
+
- `scatter-plot`:散点图
|
|
23
|
+
- `dashboard`:仪表板
|
|
24
|
+
- `heatmap`:热力图
|
|
25
|
+
- `network-graph`:网络图
|
|
26
|
+
- `custom-visualization`:自定义可视化
|
|
27
|
+
- `config`:可视化配置选项
|
|
28
|
+
- `title`:图表标题
|
|
29
|
+
- `theme`:主题风格
|
|
30
|
+
- `size`:图表尺寸
|
|
31
|
+
- `format`:输出格式
|
|
32
|
+
- `targetAudience`:目标受众类型
|
|
33
|
+
|
|
34
|
+
## 输出结果
|
|
35
|
+
返回包含以下字段的可视化结果对象:
|
|
36
|
+
- `visualization`:可视化对象
|
|
37
|
+
- `type`:可视化类型
|
|
38
|
+
- `content`:可视化内容
|
|
39
|
+
- `metadata`:元数据信息
|
|
40
|
+
- `recommendations`:可视化改进建议
|
|
41
|
+
- `accessibilityReport`:无障碍访问报告
|
|
42
|
+
- `validationScore`:验证分数
|
|
43
|
+
- `metadata`:元数据信息
|
|
44
|
+
|
|
45
|
+
## 实现架构
|
|
46
|
+
该技能采用模块化设计,包含以下核心模块:
|
|
47
|
+
1. **VisualizationDataProcessor**:数据处理
|
|
48
|
+
2. **ChartRecommendationModule**:图表推荐
|
|
49
|
+
3. **VisualizationGenerator**:可视化生成
|
|
50
|
+
4. **AccessibilityModule**:无障碍访问
|
|
51
|
+
5. **VisualizationReportingModule**:报告生成
|
|
52
|
+
|
|
53
|
+
## 设计原则
|
|
54
|
+
1. **渐进式信息披露**:根据用户需求逐步展开详细信息
|
|
55
|
+
2. **数据驱动设计**:根据数据特征选择最佳可视化方式
|
|
56
|
+
3. **用户体验优先**:确保可视化易于理解和使用
|
|
57
|
+
4. **无障碍访问**:遵循无障碍设计标准
|
|
58
|
+
5. **美观与功能并重**:在保证功能的同时注重美观
|
|
59
|
+
|
|
60
|
+
## 使用示例
|
|
61
|
+
```javascript
|
|
62
|
+
const skill = new VisualizationExpertSkill();
|
|
63
|
+
const inputs = {
|
|
64
|
+
data: {
|
|
65
|
+
labels: ["产品A", "产品B", "产品C"],
|
|
66
|
+
values: [100, 150, 200]
|
|
67
|
+
},
|
|
68
|
+
visualizationType: "bar-chart",
|
|
69
|
+
config: {
|
|
70
|
+
title: "产品销售情况",
|
|
71
|
+
theme: "corporate",
|
|
72
|
+
size: { width: 800, height: 600 }
|
|
73
|
+
},
|
|
74
|
+
targetAudience: "managers"
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
const result = await skill.execute(inputs);
|
|
78
|
+
```
|