skene 0.3.0__tar.gz

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.
Files changed (199) hide show
  1. skene-0.3.0/.github/workflows/ci.yml +77 -0
  2. skene-0.3.0/.github/workflows/publish.yml +38 -0
  3. skene-0.3.0/.github/workflows/tui-ci.yml +50 -0
  4. skene-0.3.0/.github/workflows/tui-release.yml +94 -0
  5. skene-0.3.0/.gitignore +99 -0
  6. skene-0.3.0/CODE_OF_CONDUCT.md +128 -0
  7. skene-0.3.0/LICENSE +21 -0
  8. skene-0.3.0/PKG-INFO +130 -0
  9. skene-0.3.0/README.md +94 -0
  10. skene-0.3.0/RELEASING.md +117 -0
  11. skene-0.3.0/benchmarks/README.md +181 -0
  12. skene-0.3.0/benchmarks/config-flagship-models.toml +147 -0
  13. skene-0.3.0/benchmarks/config.toml +126 -0
  14. skene-0.3.0/benchmarks/evaluation/__init__.py +0 -0
  15. skene-0.3.0/benchmarks/evaluation/factual.py +309 -0
  16. skene-0.3.0/benchmarks/evaluation/ground_truth.py +95 -0
  17. skene-0.3.0/benchmarks/evaluation/llm_judge.py +39 -0
  18. skene-0.3.0/benchmarks/evaluation/models.py +70 -0
  19. skene-0.3.0/benchmarks/evaluation/report.py +280 -0
  20. skene-0.3.0/benchmarks/evaluation/structural.py +273 -0
  21. skene-0.3.0/benchmarks/ground_truth/CLAUDE.md +106 -0
  22. skene-0.3.0/benchmarks/ground_truth/bullet-train.toml +99 -0
  23. skene-0.3.0/benchmarks/ground_truth/calcom.toml +179 -0
  24. skene-0.3.0/benchmarks/ground_truth/chatwoot.toml +190 -0
  25. skene-0.3.0/benchmarks/ground_truth/example.toml +77 -0
  26. skene-0.3.0/benchmarks/ground_truth/monica.toml +122 -0
  27. skene-0.3.0/benchmarks/ground_truth/saas-starter.toml +76 -0
  28. skene-0.3.0/benchmarks/results/.keep +0 -0
  29. skene-0.3.0/benchmarks/run.py +219 -0
  30. skene-0.3.0/benchmarks/runner/__init__.py +0 -0
  31. skene-0.3.0/benchmarks/runner/models.py +124 -0
  32. skene-0.3.0/benchmarks/runner/orchestrator.py +230 -0
  33. skene-0.3.0/benchmarks/runner/pipeline.py +297 -0
  34. skene-0.3.0/docs/INTEGRATION.md +226 -0
  35. skene-0.3.0/docs/assets/tui-generating-plan.png +0 -0
  36. skene-0.3.0/docs/assets/tui-next-steps.png +0 -0
  37. skene-0.3.0/docs/getting-started/installation.md +135 -0
  38. skene-0.3.0/docs/getting-started/quickstart.md +135 -0
  39. skene-0.3.0/docs/guides/analyze.md +228 -0
  40. skene-0.3.0/docs/guides/build.md +264 -0
  41. skene-0.3.0/docs/guides/chat.md +58 -0
  42. skene-0.3.0/docs/guides/configuration.md +162 -0
  43. skene-0.3.0/docs/guides/features.md +109 -0
  44. skene-0.3.0/docs/guides/llm-providers.md +168 -0
  45. skene-0.3.0/docs/guides/login.md +61 -0
  46. skene-0.3.0/docs/guides/plan.md +168 -0
  47. skene-0.3.0/docs/guides/push.md +112 -0
  48. skene-0.3.0/docs/guides/status.md +135 -0
  49. skene-0.3.0/docs/index.md +93 -0
  50. skene-0.3.0/docs/integrations/mcp-server.md +211 -0
  51. skene-0.3.0/docs/llms.txt +114 -0
  52. skene-0.3.0/docs/reference/cli.md +516 -0
  53. skene-0.3.0/docs/reference/manifest-schema.md +292 -0
  54. skene-0.3.0/docs/reference/python-api.md +337 -0
  55. skene-0.3.0/docs/troubleshooting.md +220 -0
  56. skene-0.3.0/pypi-shim/pyproject.toml +15 -0
  57. skene-0.3.0/pypi-shim/src/skene_growth/__init__.py +18 -0
  58. skene-0.3.0/pyproject.toml +78 -0
  59. skene-0.3.0/src/skene/__init__.py +84 -0
  60. skene-0.3.0/src/skene/analyzers/__init__.py +18 -0
  61. skene-0.3.0/src/skene/analyzers/docs.py +179 -0
  62. skene-0.3.0/src/skene/analyzers/growth_features.py +71 -0
  63. skene-0.3.0/src/skene/analyzers/manifest.py +197 -0
  64. skene-0.3.0/src/skene/analyzers/prompts.py +351 -0
  65. skene-0.3.0/src/skene/analyzers/tech_stack.py +92 -0
  66. skene-0.3.0/src/skene/cli/__init__.py +19 -0
  67. skene-0.3.0/src/skene/cli/analysis_helpers.py +571 -0
  68. skene-0.3.0/src/skene/cli/auth.py +123 -0
  69. skene-0.3.0/src/skene/cli/chat.py +344 -0
  70. skene-0.3.0/src/skene/cli/config_manager.py +350 -0
  71. skene-0.3.0/src/skene/cli/features.py +79 -0
  72. skene-0.3.0/src/skene/cli/main.py +2045 -0
  73. skene-0.3.0/src/skene/cli/output_writers.py +68 -0
  74. skene-0.3.0/src/skene/cli/prompt_builder.py +339 -0
  75. skene-0.3.0/src/skene/cli/sample_report.py +276 -0
  76. skene-0.3.0/src/skene/codebase/__init__.py +13 -0
  77. skene-0.3.0/src/skene/codebase/explorer.py +479 -0
  78. skene-0.3.0/src/skene/codebase/filters.py +42 -0
  79. skene-0.3.0/src/skene/codebase/tree.py +111 -0
  80. skene-0.3.0/src/skene/config.py +300 -0
  81. skene-0.3.0/src/skene/docs/__init__.py +14 -0
  82. skene-0.3.0/src/skene/docs/generator.py +227 -0
  83. skene-0.3.0/src/skene/docs/pseo/__init__.py +11 -0
  84. skene-0.3.0/src/skene/docs/pseo/builder.py +217 -0
  85. skene-0.3.0/src/skene/docs/templates/analysis.md.j2 +86 -0
  86. skene-0.3.0/src/skene/docs/templates/growth_template.md.j2 +50 -0
  87. skene-0.3.0/src/skene/docs/templates/plg_lifecycle_template.md.j2 +65 -0
  88. skene-0.3.0/src/skene/docs/templates/product_docs.md.j2 +83 -0
  89. skene-0.3.0/src/skene/docs/templates/seo_page.md.j2 +56 -0
  90. skene-0.3.0/src/skene/feature_registry.py +443 -0
  91. skene-0.3.0/src/skene/growth_loops/push.py +252 -0
  92. skene-0.3.0/src/skene/growth_loops/schema_sql.py +121 -0
  93. skene-0.3.0/src/skene/growth_loops/storage.py +697 -0
  94. skene-0.3.0/src/skene/growth_loops/upstream.py +174 -0
  95. skene-0.3.0/src/skene/llm/__init__.py +13 -0
  96. skene-0.3.0/src/skene/llm/base.py +61 -0
  97. skene-0.3.0/src/skene/llm/debug.py +116 -0
  98. skene-0.3.0/src/skene/llm/factory.py +89 -0
  99. skene-0.3.0/src/skene/llm/providers/__init__.py +7 -0
  100. skene-0.3.0/src/skene/llm/providers/anthropic.py +225 -0
  101. skene-0.3.0/src/skene/llm/providers/gemini.py +286 -0
  102. skene-0.3.0/src/skene/llm/providers/generic.py +64 -0
  103. skene-0.3.0/src/skene/llm/providers/lmstudio.py +64 -0
  104. skene-0.3.0/src/skene/llm/providers/ollama.py +68 -0
  105. skene-0.3.0/src/skene/llm/providers/openai.py +216 -0
  106. skene-0.3.0/src/skene/llm/providers/openai_compat.py +125 -0
  107. skene-0.3.0/src/skene/manifest/__init__.py +30 -0
  108. skene-0.3.0/src/skene/manifest/schema.py +310 -0
  109. skene-0.3.0/src/skene/mcp/__init__.py +25 -0
  110. skene-0.3.0/src/skene/mcp/__main__.py +6 -0
  111. skene-0.3.0/src/skene/mcp/cache.py +345 -0
  112. skene-0.3.0/src/skene/mcp/registry.py +466 -0
  113. skene-0.3.0/src/skene/mcp/server.py +92 -0
  114. skene-0.3.0/src/skene/mcp/tools.py +1030 -0
  115. skene-0.3.0/src/skene/objectives/__init__.py +9 -0
  116. skene-0.3.0/src/skene/objectives/generator.py +224 -0
  117. skene-0.3.0/src/skene/planner/__init__.py +23 -0
  118. skene-0.3.0/src/skene/planner/decline.py +70 -0
  119. skene-0.3.0/src/skene/planner/planner.py +477 -0
  120. skene-0.3.0/src/skene/planner/schema.py +127 -0
  121. skene-0.3.0/src/skene/strategies/__init__.py +24 -0
  122. skene-0.3.0/src/skene/strategies/base.py +115 -0
  123. skene-0.3.0/src/skene/strategies/context.py +135 -0
  124. skene-0.3.0/src/skene/strategies/multi_step.py +166 -0
  125. skene-0.3.0/src/skene/strategies/steps/__init__.py +23 -0
  126. skene-0.3.0/src/skene/strategies/steps/analyze.py +248 -0
  127. skene-0.3.0/src/skene/strategies/steps/base.py +53 -0
  128. skene-0.3.0/src/skene/strategies/steps/generate.py +325 -0
  129. skene-0.3.0/src/skene/strategies/steps/read_files.py +114 -0
  130. skene-0.3.0/src/skene/strategies/steps/select_files.py +229 -0
  131. skene-0.3.0/src/skene/templates/__init__.py +13 -0
  132. skene-0.3.0/src/skene/templates/growth_template.py +256 -0
  133. skene-0.3.0/src/skene/validators/__init__.py +23 -0
  134. skene-0.3.0/src/skene/validators/loop_validator.py +991 -0
  135. skene-0.3.0/src/templates/design-agency-template.json +358 -0
  136. skene-0.3.0/src/templates/plg-lifecycle-template.json +338 -0
  137. skene-0.3.0/tests/__init__.py +3 -0
  138. skene-0.3.0/tests/conftest.py +25 -0
  139. skene-0.3.0/tests/fixtures/sample_repo/README.md +3 -0
  140. skene-0.3.0/tests/fixtures/sample_repo/package.json +5 -0
  141. skene-0.3.0/tests/fixtures/sample_repo/src/main.py +10 -0
  142. skene-0.3.0/tests/fixtures/sample_repo/src/utils.py +11 -0
  143. skene-0.3.0/tests/mcp/__init__.py +1 -0
  144. skene-0.3.0/tests/mcp/test_server.py +87 -0
  145. skene-0.3.0/tests/mcp/test_tools.py +177 -0
  146. skene-0.3.0/tests/test_codebase/__init__.py +1 -0
  147. skene-0.3.0/tests/test_codebase/test_explorer.py +245 -0
  148. skene-0.3.0/tests/test_codebase/test_filters.py +79 -0
  149. skene-0.3.0/tests/test_codebase/test_tree.py +128 -0
  150. skene-0.3.0/tests/test_feature_registry.py +297 -0
  151. skene-0.3.0/tests/test_growth_loops/__init__.py +1 -0
  152. skene-0.3.0/tests/test_growth_loops/test_schema_init.py +80 -0
  153. skene-0.3.0/tests/test_growth_loops/test_storage.py +351 -0
  154. skene-0.3.0/tests/test_growth_loops/test_upstream.py +129 -0
  155. skene-0.3.0/tests/test_objectives/__init__.py +1 -0
  156. skene-0.3.0/tests/test_objectives/test_generator.py +369 -0
  157. skene-0.3.0/tests/test_strategies/__init__.py +1 -0
  158. skene-0.3.0/tests/test_strategies/test_context.py +201 -0
  159. skene-0.3.0/tests/test_strategies/test_results.py +177 -0
  160. skene-0.3.0/tests/test_templates/test_growth_template.py +217 -0
  161. skene-0.3.0/tui/.air.toml +15 -0
  162. skene-0.3.0/tui/.gitattributes +2 -0
  163. skene-0.3.0/tui/.gitignore +23 -0
  164. skene-0.3.0/tui/Makefile +132 -0
  165. skene-0.3.0/tui/README.md +158 -0
  166. skene-0.3.0/tui/cmd/skene/main.go +36 -0
  167. skene-0.3.0/tui/go.mod +34 -0
  168. skene-0.3.0/tui/go.sum +55 -0
  169. skene-0.3.0/tui/install.sh +116 -0
  170. skene-0.3.0/tui/internal/constants/constants.go +61 -0
  171. skene-0.3.0/tui/internal/constants/strings.go +268 -0
  172. skene-0.3.0/tui/internal/game/shooter.go +561 -0
  173. skene-0.3.0/tui/internal/services/auth/callback.go +159 -0
  174. skene-0.3.0/tui/internal/services/config/manager.go +337 -0
  175. skene-0.3.0/tui/internal/services/growth/engine.go +455 -0
  176. skene-0.3.0/tui/internal/services/ide/communicator.go +168 -0
  177. skene-0.3.0/tui/internal/services/syscheck/checker.go +103 -0
  178. skene-0.3.0/tui/internal/services/uvresolver/resolver.go +212 -0
  179. skene-0.3.0/tui/internal/tui/app.go +1584 -0
  180. skene-0.3.0/tui/internal/tui/components/ascii_motion_placeholder.go +143045 -0
  181. skene-0.3.0/tui/internal/tui/components/button.go +131 -0
  182. skene-0.3.0/tui/internal/tui/components/dir_browser.go +311 -0
  183. skene-0.3.0/tui/internal/tui/components/help.go +113 -0
  184. skene-0.3.0/tui/internal/tui/components/progress.go +34 -0
  185. skene-0.3.0/tui/internal/tui/components/terminal_output.go +299 -0
  186. skene-0.3.0/tui/internal/tui/components/wizard_header.go +109 -0
  187. skene-0.3.0/tui/internal/tui/styles/styles.go +335 -0
  188. skene-0.3.0/tui/internal/tui/views/analysis_config.go +124 -0
  189. skene-0.3.0/tui/internal/tui/views/analyzing.go +419 -0
  190. skene-0.3.0/tui/internal/tui/views/apikey.go +322 -0
  191. skene-0.3.0/tui/internal/tui/views/auth.go +338 -0
  192. skene-0.3.0/tui/internal/tui/views/error.go +278 -0
  193. skene-0.3.0/tui/internal/tui/views/local_model.go +297 -0
  194. skene-0.3.0/tui/internal/tui/views/model.go +167 -0
  195. skene-0.3.0/tui/internal/tui/views/next_steps.go +182 -0
  196. skene-0.3.0/tui/internal/tui/views/project_dir.go +595 -0
  197. skene-0.3.0/tui/internal/tui/views/provider.go +195 -0
  198. skene-0.3.0/tui/internal/tui/views/results.go +269 -0
  199. skene-0.3.0/tui/internal/tui/views/welcome.go +125 -0
@@ -0,0 +1,77 @@
1
+ name: skene
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ paths-ignore:
7
+ - 'tui/**'
8
+ pull_request:
9
+ branches: [ main ]
10
+ paths-ignore:
11
+ - 'tui/**'
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ jobs:
17
+ lint:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+
22
+ - name: Set up Python
23
+ uses: actions/setup-python@v5
24
+ with:
25
+ python-version: "3.11"
26
+
27
+ - name: Install ruff
28
+ run: pip install ruff
29
+
30
+ - name: Run ruff check
31
+ run: ruff check .
32
+
33
+ - name: Run ruff format check
34
+ run: ruff format --check .
35
+
36
+ test:
37
+ runs-on: ubuntu-latest
38
+ strategy:
39
+ matrix:
40
+ python-version: ["3.11", "3.12", "3.13"]
41
+
42
+ steps:
43
+ - uses: actions/checkout@v4
44
+
45
+ - name: Install uv
46
+ uses: astral-sh/setup-uv@v4
47
+
48
+ - name: Set up Python ${{ matrix.python-version }}
49
+ run: uv python install ${{ matrix.python-version }}
50
+
51
+ - name: Install dependencies
52
+ run: uv sync --all-extras --python ${{ matrix.python-version }}
53
+
54
+ - name: Run tests
55
+ run: uv run pytest -v --tb=short
56
+
57
+ build:
58
+ runs-on: ubuntu-latest
59
+ needs: [lint, test]
60
+ steps:
61
+ - uses: actions/checkout@v4
62
+
63
+ - name: Set up Python
64
+ uses: actions/setup-python@v5
65
+ with:
66
+ python-version: "3.11"
67
+
68
+ - name: Install build tools
69
+ run: pip install build
70
+
71
+ - name: Build package
72
+ run: python -m build
73
+
74
+ - name: Verify wheel
75
+ run: |
76
+ pip install dist/*.whl
77
+ skene --version
@@ -0,0 +1,38 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ release:
5
+ types: [published]
6
+ # TUI releases use tui-v* tags and a separate workflow
7
+ # This only triggers for Python package releases
8
+
9
+ permissions:
10
+ id-token: write # Required for trusted publishing
11
+ contents: read
12
+
13
+ jobs:
14
+ pypi-publish:
15
+ name: Upload release to PyPI
16
+ runs-on: ubuntu-latest
17
+ environment:
18
+ name: pypi
19
+ url: https://pypi.org/p/skene
20
+ steps:
21
+ - name: Checkout code
22
+ uses: actions/checkout@v4
23
+
24
+ - name: Set up Python
25
+ uses: actions/setup-python@v5
26
+ with:
27
+ python-version: '3.11'
28
+
29
+ - name: Install build dependencies
30
+ run: |
31
+ python -m pip install --upgrade pip
32
+ pip install build
33
+
34
+ - name: Build package
35
+ run: python -m build
36
+
37
+ - name: Publish to PyPI
38
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,50 @@
1
+ name: TUI CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ paths:
7
+ - 'tui/**'
8
+ pull_request:
9
+ branches: [main]
10
+ paths:
11
+ - 'tui/**'
12
+
13
+ permissions:
14
+ contents: read
15
+
16
+ jobs:
17
+ lint:
18
+ runs-on: ubuntu-latest
19
+ steps:
20
+ - uses: actions/checkout@v4
21
+
22
+ - name: Set up Go
23
+ uses: actions/setup-go@v5
24
+ with:
25
+ go-version-file: tui/go.mod
26
+ cache-dependency-path: tui/go.sum
27
+
28
+ - name: Run golangci-lint
29
+ uses: golangci/golangci-lint-action@v6
30
+ with:
31
+ working-directory: tui
32
+
33
+ build-and-test:
34
+ runs-on: ubuntu-latest
35
+ steps:
36
+ - uses: actions/checkout@v4
37
+
38
+ - name: Set up Go
39
+ uses: actions/setup-go@v5
40
+ with:
41
+ go-version-file: tui/go.mod
42
+ cache-dependency-path: tui/go.sum
43
+
44
+ - name: Build
45
+ working-directory: tui
46
+ run: go build ./cmd/skene/
47
+
48
+ - name: Test
49
+ working-directory: tui
50
+ run: go test ./...
@@ -0,0 +1,94 @@
1
+ name: TUI Release
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'tui-v*'
7
+
8
+ permissions:
9
+ contents: write
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ include:
17
+ - goos: darwin
18
+ goarch: amd64
19
+ - goos: darwin
20
+ goarch: arm64
21
+ - goos: linux
22
+ goarch: amd64
23
+ - goos: linux
24
+ goarch: arm64
25
+ - goos: windows
26
+ goarch: amd64
27
+ - goos: windows
28
+ goarch: arm64
29
+
30
+ steps:
31
+ - uses: actions/checkout@v4
32
+
33
+ - name: Set up Go
34
+ uses: actions/setup-go@v5
35
+ with:
36
+ go-version-file: tui/go.mod
37
+ cache-dependency-path: tui/go.sum
38
+
39
+ - name: Build binary
40
+ working-directory: tui
41
+ env:
42
+ GOOS: ${{ matrix.goos }}
43
+ GOARCH: ${{ matrix.goarch }}
44
+ CGO_ENABLED: '0'
45
+ run: |
46
+ BINARY=skene-${{ matrix.goos }}-${{ matrix.goarch }}
47
+ if [ "${{ matrix.goos }}" = "windows" ]; then
48
+ BINARY="${BINARY}.exe"
49
+ fi
50
+ go build -ldflags "-s -w" -o "../build/${BINARY}" ./cmd/skene/
51
+
52
+ - name: Package archive
53
+ run: |
54
+ cd build
55
+ BINARY=skene-${{ matrix.goos }}-${{ matrix.goarch }}
56
+ if [ "${{ matrix.goos }}" = "windows" ]; then
57
+ zip "${BINARY}.zip" "${BINARY}.exe"
58
+ else
59
+ tar -czf "${BINARY}.tar.gz" "${BINARY}"
60
+ fi
61
+
62
+ - name: Upload artifact
63
+ uses: actions/upload-artifact@v4
64
+ with:
65
+ name: skene-${{ matrix.goos }}-${{ matrix.goarch }}
66
+ path: build/skene-${{ matrix.goos }}-${{ matrix.goarch }}.*
67
+
68
+ release:
69
+ needs: build
70
+ runs-on: ubuntu-latest
71
+ steps:
72
+ - name: Download all artifacts
73
+ uses: actions/download-artifact@v4
74
+ with:
75
+ path: artifacts
76
+ merge-multiple: true
77
+
78
+ - name: Extract version from tag
79
+ id: version
80
+ run: |
81
+ echo "version=${GITHUB_REF_NAME#tui-}" >> "$GITHUB_OUTPUT"
82
+ if [[ "$GITHUB_REF_NAME" =~ (rc|alpha|beta|a[0-9]|b[0-9]) ]]; then
83
+ echo "prerelease=true" >> "$GITHUB_OUTPUT"
84
+ else
85
+ echo "prerelease=false" >> "$GITHUB_OUTPUT"
86
+ fi
87
+
88
+ - name: Create GitHub Release
89
+ uses: softprops/action-gh-release@v2
90
+ with:
91
+ name: "TUI ${{ steps.version.outputs.version }}"
92
+ prerelease: ${{ steps.version.outputs.prerelease }}
93
+ generate_release_notes: true
94
+ files: artifacts/*
skene-0.3.0/.gitignore ADDED
@@ -0,0 +1,99 @@
1
+ # Python
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+ *.so
6
+ .Python
7
+ build/
8
+ develop-eggs/
9
+ dist/
10
+ downloads/
11
+ eggs/
12
+ .eggs/
13
+ lib/
14
+ lib64/
15
+ parts/
16
+ sdist/
17
+ var/
18
+ wheels/
19
+ share/python-wheels/
20
+ *.egg-info/
21
+ .installed.cfg
22
+ *.egg
23
+ /MANIFEST
24
+
25
+ #generated test files
26
+ uv.lock
27
+ skene-context/
28
+
29
+ # Virtual environments
30
+ .env
31
+ .venv
32
+ env/
33
+ venv/
34
+ ENV/
35
+ env.bak/
36
+ venv.bak/
37
+
38
+ # IDE
39
+ .idea/
40
+ .vscode/
41
+ *.swp
42
+ *.swo
43
+ *~
44
+
45
+ # Data
46
+ data/
47
+ !data/.keep
48
+
49
+ # OS
50
+ .DS_Store
51
+ .DS_Store?
52
+ ._*
53
+ .Spotlight-V100
54
+ .Trashes
55
+ ehthumbs.db
56
+ Thumbs.db
57
+
58
+ # Logs
59
+ *.log
60
+ logs/
61
+
62
+ # Docker
63
+ .dockerignore
64
+
65
+ # Temporary files
66
+ tmp/
67
+ temp/
68
+ *.tmp
69
+
70
+ # Dependencies
71
+ node_modules/
72
+
73
+ # Configuration files with sensitive data (keep templates)
74
+ .env.local
75
+ .env.production
76
+ .env.development
77
+ .skene.config
78
+ .skene-growth.config
79
+
80
+ # Test coverage
81
+ .coverage
82
+ .pytest_cache/
83
+ htmlcov/
84
+
85
+ # Database
86
+ *.db
87
+ *.sqlite3
88
+
89
+ # Supabase
90
+ supabase/
91
+
92
+ # Jupyter Notebook
93
+ .ipynb_checkpoints
94
+
95
+ # Benchmarks
96
+ benchmarks/results/
97
+ !benchmarks/results/.keep
98
+ benchmarks/codebases/
99
+ !benchmarks/codebases/README.md
@@ -0,0 +1,128 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience for everyone, regardless of age, body
7
+ size, visible or invisible disability, ethnicity, sex characteristics, gender
8
+ identity and expression, level of experience, education, socio-economic status,
9
+ nationality, personal appearance, race, religion, or sexual identity
10
+ and orientation.
11
+
12
+ We pledge to act and interact in ways that contribute to an open, welcoming,
13
+ diverse, inclusive, and healthy community.
14
+
15
+ ## Our Standards
16
+
17
+ Examples of behavior that contributes to a positive environment for our
18
+ community include:
19
+
20
+ * Demonstrating empathy and kindness toward other people
21
+ * Being respectful of differing opinions, viewpoints, and experiences
22
+ * Giving and gracefully accepting constructive feedback
23
+ * Accepting responsibility and apologizing to those affected by our mistakes,
24
+ and learning from the experience
25
+ * Focusing on what is best not just for us as individuals, but for the
26
+ overall community
27
+
28
+ Examples of unacceptable behavior include:
29
+
30
+ * The use of sexualized language or imagery, and sexual attention or
31
+ advances of any kind
32
+ * Trolling, insulting or derogatory comments, and personal or political attacks
33
+ * Public or private harassment
34
+ * Publishing others' private information, such as a physical or email
35
+ address, without their explicit permission
36
+ * Other conduct which could reasonably be considered inappropriate in a
37
+ professional setting
38
+
39
+ ## Enforcement Responsibilities
40
+
41
+ Community leaders are responsible for clarifying and enforcing our standards of
42
+ acceptable behavior and will take appropriate and fair corrective action in
43
+ response to any behavior that they deem inappropriate, threatening, offensive,
44
+ or harmful.
45
+
46
+ Community leaders have the right and responsibility to remove, edit, or reject
47
+ comments, commits, code, wiki edits, issues, and other contributions that are
48
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
49
+ decisions when appropriate.
50
+
51
+ ## Scope
52
+
53
+ This Code of Conduct applies within all community spaces, and also applies when
54
+ an individual is officially representing the community in public spaces.
55
+ Examples of representing our community include using an official e-mail address,
56
+ posting via an official social media account, or acting as an appointed
57
+ representative at an online or offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
62
+ reported to the community leaders responsible for enforcement at
63
+ support@skene.ai.
64
+ All complaints will be reviewed and investigated promptly and fairly.
65
+
66
+ All community leaders are obligated to respect the privacy and security of the
67
+ reporter of any incident.
68
+
69
+ ## Enforcement Guidelines
70
+
71
+ Community leaders will follow these Community Impact Guidelines in determining
72
+ the consequences for any action they deem in violation of this Code of Conduct:
73
+
74
+ ### 1. Correction
75
+
76
+ **Community Impact**: Use of inappropriate language or other behavior deemed
77
+ unprofessional or unwelcome in the community.
78
+
79
+ **Consequence**: A private, written warning from community leaders, providing
80
+ clarity around the nature of the violation and an explanation of why the
81
+ behavior was inappropriate. A public apology may be requested.
82
+
83
+ ### 2. Warning
84
+
85
+ **Community Impact**: A violation through a single incident or series
86
+ of actions.
87
+
88
+ **Consequence**: A warning with consequences for continued behavior. No
89
+ interaction with the people involved, including unsolicited interaction with
90
+ those enforcing the Code of Conduct, for a specified period of time. This
91
+ includes avoiding interactions in community spaces as well as external channels
92
+ like social media. Violating these terms may lead to a temporary or
93
+ permanent ban.
94
+
95
+ ### 3. Temporary Ban
96
+
97
+ **Community Impact**: A serious violation of community standards, including
98
+ sustained inappropriate behavior.
99
+
100
+ **Consequence**: A temporary ban from any sort of interaction or public
101
+ communication with the community for a specified period of time. No public or
102
+ private interaction with the people involved, including unsolicited interaction
103
+ with those enforcing the Code of Conduct, is allowed during this period.
104
+ Violating these terms may lead to a permanent ban.
105
+
106
+ ### 4. Permanent Ban
107
+
108
+ **Community Impact**: Demonstrating a pattern of violation of community
109
+ standards, including sustained inappropriate behavior, harassment of an
110
+ individual, or aggression toward or disparagement of classes of individuals.
111
+
112
+ **Consequence**: A permanent ban from any sort of public interaction within
113
+ the community.
114
+
115
+ ## Attribution
116
+
117
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118
+ version 2.0, available at
119
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
120
+
121
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
122
+ enforcement ladder](https://github.com/mozilla/diversity).
123
+
124
+ [homepage]: https://www.contributor-covenant.org
125
+
126
+ For answers to common questions about this code of conduct, see the FAQ at
127
+ https://www.contributor-covenant.org/faq. Translations are available at
128
+ https://www.contributor-covenant.org/translations.
skene-0.3.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 SkeneTechnologies
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
skene-0.3.0/PKG-INFO ADDED
@@ -0,0 +1,130 @@
1
+ Metadata-Version: 2.4
2
+ Name: skene
3
+ Version: 0.3.0
4
+ Summary: PLG analysis toolkit for codebases - analyze code, detect growth opportunities, generate documentation
5
+ Project-URL: Homepage, https://www.skene.ai
6
+ Project-URL: Documentation, https://www.skene.ai/resources/docs/skene
7
+ Project-URL: Repository, https://github.com/SkeneTechnologies/skene-growth
8
+ Author: Skene Technologies
9
+ License: MIT
10
+ License-File: LICENSE
11
+ Keywords: ai-tools,analysis,codebase,developer-tools,documentation,growth,llm,mcp,mcp-server,plg
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Requires-Python: <4,>=3.11
20
+ Requires-Dist: aiofiles>=24.0
21
+ Requires-Dist: anthropic>=0.40
22
+ Requires-Dist: google-genai>=1.0
23
+ Requires-Dist: httpx>=0.27
24
+ Requires-Dist: jinja2>=3.0
25
+ Requires-Dist: loguru>=0.7.0
26
+ Requires-Dist: openai>=1.0
27
+ Requires-Dist: pydantic>=2.0
28
+ Requires-Dist: rich>=13.0
29
+ Requires-Dist: typer>=0.12
30
+ Provides-Extra: mcp
31
+ Requires-Dist: mcp>=1.0.0; extra == 'mcp'
32
+ Requires-Dist: xxhash>=3.0; extra == 'mcp'
33
+ Provides-Extra: ui
34
+ Requires-Dist: questionary>=2.0; extra == 'ui'
35
+ Description-Content-Type: text/markdown
36
+
37
+ <p align="center">
38
+ <a href="https://www.skene.ai"><img src="https://img.shields.io/badge/Website-007ACC?style=flat&logo=google-chrome&logoColor=white" alt="Website"></a>
39
+ <a href="https://www.skene.ai/resources/docs/skene"><img src="https://img.shields.io/badge/Docs-555?style=flat&logo=bookstack&logoColor=white" alt="Docs"></a>
40
+ <a href="https://www.skene.ai/resources/blog"><img src="https://img.shields.io/badge/Blog-555?style=flat&logo=substack&logoColor=white" alt="Blog"></a>
41
+ <a href="https://www.reddit.com/r/plgbuilders/"><img src="https://img.shields.io/badge/r%2Fplgbuilders-D84315?style=flat&logo=reddit&logoColor=white" alt="Reddit"></a>
42
+ </p>
43
+
44
+ # skene
45
+
46
+ [![PyPI version](https://img.shields.io/pypi/v/skene)](https://pypi.org/project/skene/)
47
+ [![Downloads](https://static.pepy.tech/badge/skene/month)](https://pepy.tech/projects/skene)
48
+ [![Commit Activity](https://img.shields.io/github/commit-activity/m/SkeneTechnologies/skene)](https://github.com/SkeneTechnologies/skene/commits)
49
+
50
+ PLG (Product-Led Growth) codebase analysis toolkit. Scan your codebase, detect growth opportunities, and generate actionable implementation plans.
51
+
52
+ ## Quick Start
53
+
54
+ ```bash
55
+ uvx skene config --init # Create config file
56
+ uvx skene config # Set provider, model, API key
57
+ uvx skene analyze . # Analyze your codebase
58
+ uvx skene plan # Generate a growth plan
59
+ uvx skene build # Build an implementation prompt
60
+ uvx skene status # Check loop implementation status
61
+ uvx skene push # Deploy telemetry to Supabase + upstream
62
+ ```
63
+
64
+ ## What It Does
65
+
66
+ - **Tech stack detection** -- identifies frameworks, databases, auth, deployment
67
+ - **Growth feature discovery** -- finds existing signup flows, sharing, invites, billing
68
+ - **Feature registry** -- tracks features across analysis runs, links them to growth loops
69
+ - **Revenue leakage analysis** -- spots missing monetization and weak pricing tiers
70
+ - **Growth plan generation** -- produces prioritized growth loops with implementation roadmaps
71
+ - **Implementation prompts** -- builds ready-to-use prompts for Cursor, Claude, or other AI tools
72
+ - **Telemetry deployment** -- generates Supabase migrations and pushes to upstream
73
+ - **Loop validation** -- verifies that growth loop requirements are implemented
74
+ - **Interactive chat** -- ask questions about your codebase in the terminal
75
+
76
+ Supports OpenAI, Gemini, Claude, LM Studio, Ollama, and any OpenAI-compatible endpoint. Free local audit available with no API key required.
77
+
78
+ ## Installation
79
+
80
+ ```bash
81
+ # Install uv (if you don't have it)
82
+ curl -LsSf https://astral.sh/uv/install.sh | sh
83
+
84
+ # Recommended (no install needed)
85
+ uvx skene
86
+
87
+ # Or install globally
88
+ pip install skene
89
+ ```
90
+
91
+ ## Documentation
92
+
93
+ Full documentation: [www.skene.ai/resources/docs/skene](https://www.skene.ai/resources/docs/skene)
94
+
95
+ ## MCP Server
96
+
97
+ skene includes an MCP server for integration with AI assistants. Add to your assistant config:
98
+
99
+ ```json
100
+ {
101
+ "mcpServers": {
102
+ "skene": {
103
+ "command": "uvx",
104
+ "args": ["--from", "skene[mcp]", "skene-mcp"],
105
+ "env": {
106
+ "SKENE_API_KEY": "your-api-key"
107
+ }
108
+ }
109
+ }
110
+ }
111
+ ```
112
+
113
+ ## Monorepo Structure
114
+
115
+ This repository contains two independent packages:
116
+
117
+ | Directory | Description | Language | Distribution |
118
+ |-----------|-------------|----------|-------------|
119
+ | `src/skene/` | CLI + analysis engine | Python | [PyPI](https://pypi.org/project/skene/) |
120
+ | `tui/` | Interactive terminal UI wizard | Go | [GitHub Releases](https://github.com/SkeneTechnologies/skene/releases) |
121
+
122
+ The TUI (`tui/`) is a Bubble Tea app that provides an interactive wizard experience and orchestrates the Python CLI via `uvx`. Each package has independent CI/CD pipelines.
123
+
124
+ ## Contributing
125
+
126
+ Contributions are welcome. Please open an issue or submit a pull request on [GitHub](https://github.com/SkeneTechnologies/skene).
127
+
128
+ ## License
129
+
130
+ [MIT](https://opensource.org/licenses/MIT)