Skip to main content

Somesh J Framework

One engineering skill for AI coding agents. It takes a new idea or an existing repository through discovery, specification, design, build, security review, testing, deployment and operation, and it reports proof instead of claims.

It is a set of instructions plus a small installer. It does not run code on its own, call any network service, or install tools for you.

Install

pip install somesh-j-framework

Python 3.9 or newer. No dependencies.

Quick start

In your project folder:

pip install somesh-j-framework
somesh start

Then open your AI coding tool in that folder and say:

somesh framework start

followed by what you want to build, fix, review or have explained. That is all.

somesh start copies the skill into .claude/skills/ (Claude Code) and .agents/skills/ (Codex, Antigravity), and into .cursor/skills/ if the project has a .cursor folder. It never overwrites files you have edited.

Things to ask for once it is set up:

Say You get
"somesh framework start: build " Interview, spec, design, build, tests, deploy plan
"somesh framework start: fix " Root cause, fix and proof
"somesh framework start: audit this repo" Verified and broken flows, and a launch verdict
"somesh framework start: explain this application" A written explanation and one HTML page of every flow, in .somesh/flows/

For AI agents: set it up yourself

If you are an AI coding agent and the user asked you to set up or use this framework, run these yourself from the repository root. Do not ask the user to run them.

pip install somesh-j-framework
somesh start

Use the project's virtual environment if it has one. Then:

  1. Read the SKILL.md in the folder the command printed and follow it.
  2. Tell the user in one line what was installed and where.

If your tool reads none of those folders, or you cannot tell, run somesh install --target prompt --project . instead, read the file it writes, and follow it for the rest of the session.

Rules for agents:

  • If a command stops because existing files have local edits, do not add --force on your own. Tell the user and ask.
  • Install into the user folder (somesh install --target <tool> with no --project) only if the user asks for the skill in all their projects.
  • somesh doctor is safe to run at any time; it only reads. Do not install any tool it lists as missing unless the user approves.

Other commands

Install the skill for one tool, for all your projects:

somesh install --target claude

Install it into one repository instead:

somesh install --target claude --project /path/to/repo
somesh install --target codex --project        # the current folder

See what would be written without writing anything:

somesh install --target cursor --project . --dry-run

Export one markdown file to paste into any chat tool:

somesh install --target prompt --dest ./framework-prompt.md

Check which recommended CLIs and MCP servers you already have. This only reads; it installs nothing and prints no values from your config files:

somesh doctor

Options

Option Meaning
--target claude, codex, antigravity, cursor or prompt
--project [PATH] Install into that repository. Without it, the skill goes to your user folder
--dest PATH Install into this skills folder instead of the tool's default. For prompt, the output file or folder
--dry-run List every file and its state; write nothing
--force Overwrite installed files you have edited. Without it, the install stops and writes nothing

Where each target installs

Checked against each tool's documentation on 27 Nov 2026.

Target With --project Without (user folder) Status
claude .claude/skills/ ~/.claude/skills/ Confirmed
codex .agents/skills/ ~/.agents/skills/ Confirmed; one official page still shows .codex/skills
antigravity .agents/skills/ ~/.gemini/config/skills/ Project confirmed; user folder unverified (doc pages differ)
cursor .cursor/skills/ ~/.cursor/skills/ Project confirmed; user folder unverified
prompt <project>/somesh-j-framework-prompt.md current folder n/a

If your tool reads a different folder, pass it with --dest.

What gets installed

somesh-j-framework/
├── SKILL.md              the workflow and router
└── references/
    ├── product.md        idea pressure test, interview, acceptance criteria
    ├── architect.md      design, data, APIs, performance, AI and agent systems
    ├── security.md       threat model, secure defaults, pre-push review
    ├── qa.md             what to test and what to run
    ├── delivery.md       CI/CD, cloud deployment, release, observability
    ├── audit.md          does an existing codebase do what it claims
    ├── frontend.md       interface design, accessibility, browser check
    ├── debugging.md      root cause and end-to-end flow tracing
    ├── flow.md           explain a whole application: document plus HTML page
    ├── lenses.md         privacy, cost, stakeholders, non-web software
    └── capabilities.md   catalog of free tools, MCP servers and skills

The agent reads SKILL.md and opens a reference file only when that role is needed.

How it works

Every task is sized first:

  • T0 trivial: change it, run one check, report.
  • T1 standard: short criteria, plan, implement, verify, report.
  • T2 significant (new project, data model, auth, payments, infrastructure): all steps, with your approval before build and before any production action.

Two entry points use the same steps. For an existing repository the agent surveys, audits what the task touches, then fixes or extends. For a new idea it interviews you, researches, specifies, designs, builds and ships.

Rules it keeps:

  • Tests are written after implementation, once, before push. Only tests related to the change run locally; the full suite is left to CI.
  • Security work happens during design, build and pre-push review.
  • Nothing destructive or in production happens without your approval.
  • Results are shown as a command and its output, or marked NOT VERIFIED.

The agent keeps its working notes in a .somesh/ folder in your repository.

Limits

  • This package has been tested to install correctly. Whether it makes an agent produce better software has not been measured yet.
  • Following the security practices in it is not certification against any standard.
  • The tools catalog and install paths go stale. Each has a date checked.

Develop

pip install -e .
python -m unittest discover -s tests -v

The skill text lives in src/somesh_j_framework/skill/somesh-j-framework/. It is the only copy; every install target is generated from it.

Build and publish

python -m pip install build twine
python -m build
python -m twine check dist/*
python -m twine upload --repository testpypi dist/*    # try TestPyPI first
python -m twine upload dist/*

License

MIT. See LICENSE.

Metadata

Release files for somesh-j-framework 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for somesh-j-framework 0.1.0
File Size Uploaded Provenance Actions
somesh_j_framework-0.1.0.tar.gz 33.2 kB Without provenance Details for somesh_j_framework-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for somesh-j-framework 0.1.0
File Interpreter ABI Platform Actions
somesh_j_framework-0.1.0-py3-none-any.whl Python 3 none any Details for somesh_j_framework-0.1.0-py3-none-any.whl

Total release size: 76.7 kB

Release files / somesh_j_framework-0.1.0.tar.gz

Download URL somesh_j_framework-0.1.0.tar.gz
Size 33.2 kB
Tags Source
SHA-256 checksum
How to use checksums
21436ba09d791a5a00deb8acd88668522e566ee79ff04ba13be5ad5197eeba62
BLAKE2b-256 checksum
How to use checksums
a6af136bd6f6aaf4575a57820c3b21a03ba0175ff43ac6606695a00f10b99350
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Release files / somesh_j_framework-0.1.0-py3-none-any.whl

Download URL somesh_j_framework-0.1.0-py3-none-any.whl
Size 43.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3e8943ffaaf772d2be289db4264956763e85c339ae2d4e08df1d792c62b495eb
BLAKE2b-256 checksum
How to use checksums
f1707c8713b6b976cf0ec4b7f494ec53adbd82d9b59a486d7f4ca77974da33cb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.9

Security for somesh-j-framework 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page