A powerful toolkit for working with the WEEEK project management platform. Includes a convenient CLI utility and a Node.js library for integration.
To make the weeek command available globally on your system:
npm install -g github:slonikmak/week-skill- Clone the repository:
git clone https://github.com/slonikmak/week-skill.git cd week-skill - Install dependencies and link:
npm install npm link
Now the weeek command is available in your terminal.
The tool requires an API Key to function.
- Generate a token in your WEEEK account settings.
- Create a
.envfile in the project root (or wherever you run the script) or export an environment variable:
WEEEK_API_KEY=your_token_hereAfter installation, use the weeek command.
Finds a board by name (fuzzy match) and displays columns with tasks.
weeek board "Release 2.0"Creates a task by automatically resolving Board ID, Column ID, and Assignee ID.
weeek create "Fix login bug" --board "Release" --col "Backlog" --prio 2 --assignee "Ivan"Shows task details: description (HTML stripped), priority, status, and subtasks.
weeek show 893Moves a task to another column (by column name).
weeek move 893 "Done"Work with your team using names instead of UUIDs.
# List all workspace users
weeek users
# Assign a user (search by name/email)
weeek assign 893 "Maxim"Manage time tracking.
weeek timer start 893
weeek timer stop 893Direct access to the API for debugging or specific queries.
# List all available API tags
weeek tags
# List endpoints for a tag
weeek endpoints Task
# Raw request (GET)
weeek run GET tm/projects
# Raw request with parameters
weeek run GET tm/tasks -p "projectId=123"You can use WeeekClient in your own Node.js scripts.
-
Install the package in your project:
npm install github:slonikmak/week-skill
-
Import and use:
import { WeeekClient } from 'week-skill';
const client = new WeeekClient('your_token_here');
async function main() {
// Get all projects
const projects = await client.getProjects();
console.log(projects);
// Find board by name
const boards = await client.findBoard('Release');
// Create a task
const newTask = await client.createTask({
title: 'New task from script',
boardId: boards[0].id,
priority: 1
});
}
main();- Node.js >= 16
weeek_spec.json(OpenAPI specification) must be present in the package (included in the repo).