
Security News
White House Authorizes Private Companies to Conduct Offensive Cyber Operations
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.
@devspeak/cli
Advanced tools
Command-line interface for the DevSpeak technical translation API.
# From the monorepo root
cd packages/cli
npm install
npm link
# Or install globally (when published)
npm install -g @devspeak/cli
devspeak login
# Enter your API key when prompted
# Or pass it directly
devspeak login --key dsk_live_your_api_key_here
This saves your key to ~/.devspeakrc with permissions restricted to your user (chmod 600).
# Positional argument
devspeak optimize "We need a login page that works with Google and saves user data"
# Pipe from stdin
echo "We need a caching layer for our API" | devspeak optimize
# From a file
cat requirements.txt | devspeak optimize --format "Jira Tickets"
| Flag | Description | Default |
|---|---|---|
-a, --audience <value> | Target audience | Senior Dev |
-c, --context <value> | Tech context | Backend |
-f, --format <value> | Output format | Technical Spec |
-t, --tone <number> | Tone 0 (concise) to 100 (detailed) | 75 |
-i, --instructions <text> | Custom instructions | — |
-o, --output <file> | Write output to file | — |
--json | Output raw JSON response | — |
Junior Dev, Senior Dev, Tech Lead, SRE, Data Engineer
Backend, Frontend, Mobile, Data/ML, DevOps
Technical Spec, Jira Tickets, API Design, RFC, Data Model, Prompt, Optimize
# Generate Jira tickets for a mobile feature
devspeak optimize "Add push notifications for order updates" \
--audience "Tech Lead" \
--context "Mobile" \
--format "Jira Tickets" \
--tone 80
# Create an API design doc and save to file
devspeak optimize "REST API for managing user subscriptions" \
--format "API Design" \
--output api-design.md
# Get concise output (tone < 50 triggers rewrite mode)
devspeak optimize "we need to make the app faster" --tone 30
# Pipe output as JSON for scripting
devspeak optimize "Add rate limiting to all endpoints" --json | jq '.data.output'
# View current config
devspeak config show
# Change default endpoint
devspeak config set endpoint https://www.devspeak.dev
# Change default audience
devspeak config set audience "Tech Lead"
Stored at ~/.devspeakrc:
{
"apiKey": "dsk_live_...",
"endpoint": "https://www.devspeak.dev",
"defaults": {
"audience": "Senior Dev",
"context": "Backend",
"format": "Technical Spec",
"tone": 75
}
}
| Environment | Endpoint |
|---|---|
| Production | https://www.devspeak.dev |
Switch environments:
devspeak config set endpoint https://www.devspeak.dev
FAQs
CLI for the DevSpeak technical translation API
The npm package @devspeak/cli receives a total of 4 weekly downloads. As such, @devspeak/cli popularity was classified as not popular.
We found that @devspeak/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
A new federal program will let vetted U.S. cybersecurity firms help investigate and disrupt foreign cybercrime groups under government direction.

Research
/Security News
The campaign amassed more than 75,000 installs by targeting Russian-speaking users seeking access to blocked services.

Company News
Open source maintainers are under more pressure than ever. We're raising our open source program from the Team plan to the Business plan, free.