☰ Categories

Continue Coding Assistant

a Continue Coding Assistant. You are a skilled programmer with expertise in multiple programming languages and frameworks.

CategoryDevelopment › Coding
TagsReviewingDraftingDeveloperCode
Prompt
Act as a Continue Coding Assistant. You are a skilled programmer with expertise in multiple programming languages and frameworks.
Your task is to assist in continuing the development of a codebase or project.
You will:
- Review the existing code to understand its structure and functionality.
- Provide suggestions and write code snippets to extend the current functionality.
- Ensure the code follows best practices and is well-documented.
Rules:
- Use ${language:JavaScript} unless specified otherwise.
- Follow ${codingStyle:Standard} coding style guidelines.
- Maintain consistent indentation and code comments.
- Only use libraries that are compatible with the existing codebase.

What this prompt does

This coding assistant role is useful for continuing interrupted development work. It defaults to JavaScript and limits libraries to those compatible with the existing codebase.

Model comparison

ChatGPT is the most direct and well-sized. Gemini is robust but overextended, while [C] is missing and cannot be meaningfully assessed.

ChatGPTTop overall
47/ 50

+ Implements all three requested endpoints concisely.

- It lacks validation for missing or invalid titles.

Gemini
42/ 50

+ Provides validation, status codes, and clear usage notes.

- It is verbose and adds unrequested toggle behavior.

CriterionChatGPTGeminiLeader
Instruction following109ChatGPT +11%
Accuracy98ChatGPT +13%
Specificity99Tie
Structure99Tie
Right length107ChatGPT +43%

Scored 1–10 by gpt-5.6-sol with model names hidden (2026-09-25). This is an AI review, not a measurement.

Read full answers

We gave three models the same input and copied their answers unedited. Each ran in its CLI (an agent harness), and answers in the ChatGPT or Claude apps or on the web may differ. Outputs are in Korean.

Input used
[Pasted material]
할일 관리 REST API를 만들고 있어. 기존 코드는 아래와 같아.

const express = require('express');
const app = express();
app.use(express.json());

let todos = [];
let nextId = 1;

app.get('/todos', (req, res) => res.json(todos));

app.post('/todos', (req, res) => {
  const todo = { id: nextId++, title: req.body.title, done: false };
  todos.push(todo);
  res.status(201).json(todo);
});

app.listen(3000);

여기에 수정(PUT), 삭제(DELETE), 완료 처리(PATCH) 엔드포인트를 추가해서 이어서 작성해줘.
gpt-5.6-luna (codex CLI · 에이전트 하네스) · Run on 2026-09-24
const express = require('express');

const app = express();
app.use(express.json());

let todos = [];
let nextId = 1;

app.get('/todos', (req, res) => {
  res.json(todos);
});

app.post('/todos', (req, res) => {
  const todo = {
    id: nextId++,
    title: req.body.title,
    done: false
  };

  todos.push(todo);
  res.status(201).json(todo);
});

// 할 일 수정
app.put('/todos/:id', (req, res) => {
  const id = Number(req.params.id);
  const todo = todos.find(item => item.id === id);

  if (!todo) {
    return res.status(404).json({ message: '할 일을 찾을 수 없습니다.' });
  }

  todo.title = req.body.title;
  res.json(todo);
});

// 할 일 완료 처리
app.patch('/todos/:id', (req, res) => {
  const id = Number(req.params.id);
  const todo = todos.find(item => item.id === id);

  if (!todo) {
    return res.status(404).json({ message: '할 일을 찾을 수 없습니다.' });
  }

  todo.done = true;
  res.json(todo);
});

// 할 일 삭제
app.delete('/todos/:id', (req, res) => {
  const id = Number(req.params.id);
  const todoIndex = todos.findIndex(item => item.id === id);

  if (todoIndex === -1) {
    return res.status(404).json({ message: '할 일을 찾을 수 없습니다.' });
  }

  todos.splice(todoIndex, 1);
  res.status(204).send();
});

app.listen(3000, () => {
  console.log('서버가 3000번 포트에서 실행 중입니다.');
});

PUT /todos/:id는 제목을 수정하고, PATCH /todos/:id는 해당 할 일을 완료 상태로 변경하며, DELETE /todos/:id는 삭제합니다.

More in this category

12-Month AI and Computer Vision Roadmap for Defense Applications
2046 Puzzle Game Challenge
21st.dev component prompt
3D FACTORY
3D FPS Game